Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
--TEST-- substr() with PHP_INT_MIN offset or length --FILE-- <?php var_dump(substr('x', PH..
Decoded Output download
--TEST--
substr() with PHP_INT_MIN offset or length
--FILE--
<?php
var_dump(substr('x', PHP_INT_MIN));
var_dump(substr('x', 0, PHP_INT_MIN));
?>
--EXPECT--
string(1) "x"
string(0) ""
Did this file decode correctly?
Original Code
--TEST--
substr() with PHP_INT_MIN offset or length
--FILE--
<?php
var_dump(substr('x', PHP_INT_MIN));
var_dump(substr('x', 0, PHP_INT_MIN));
?>
--EXPECT--
string(1) "x"
string(0) ""
Function Calls
None |
Stats
MD5 | 5cc30610f47864cc9ede0f43fac9cb92 |
Eval Count | 0 |
Decode Time | 64 ms |