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 digits of the value. */ c..
Decoded Output download
<?php
namespace Pagekit\Filter;
/**
* This filter keeps only digits of the value.
*/
class DigitsFilter extends AbstractFilter
{
/**
* {@inheritdoc}
*/
public function filter($value)
{
return str_replace(['-', '+'], '', filter_var((string) $value, FILTER_SANITIZE_NUMBER_INT));
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace Pagekit\Filter;
/**
* This filter keeps only digits of the value.
*/
class DigitsFilter extends AbstractFilter
{
/**
* {@inheritdoc}
*/
public function filter($value)
{
return str_replace(['-', '+'], '', filter_var((string) $value, FILTER_SANITIZE_NUMBER_INT));
}
}
Function Calls
None |
Stats
MD5 | ea9432ec86a3ce59047332e9e6192a62 |
Eval Count | 0 |
Decode Time | 86 ms |