Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php namespace Pagekit\Filter; /** * This filter keeps only alphabetic characters and ..

Decoded Output download

<?php

namespace Pagekit\Filter;

/**
 * This filter keeps only alphabetic characters and digits of the value.
 */
class AlnumFilter extends AbstractFilter
{
    /**
     * {@inheritdoc}
     */
    public function filter($value)
    {
        return preg_replace('/[^[:alnum:]]/u', '', (string) $value);
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace Pagekit\Filter;

/**
 * This filter keeps only alphabetic characters and digits of the value.
 */
class AlnumFilter extends AbstractFilter
{
    /**
     * {@inheritdoc}
     */
    public function filter($value)
    {
        return preg_replace('/[^[:alnum:]]/u', '', (string) $value);
    }
}

Function Calls

None

Variables

None

Stats

MD5 1b248f403ae0a7253c594bb65e67102c
Eval Count 0
Decode Time 84 ms