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-- Test strpbrk() function : error conditions --FILE-- <?php $haystack = 'This is a ..
Decoded Output download
-- Testing strpbrk() function with empty second argument --
Did this file decode correctly?
Original Code
--TEST--
Test strpbrk() function : error conditions
--FILE--
<?php
$haystack = 'This is a Simple text.';
echo "-- Testing strpbrk() function with empty second argument --\n";
try {
strpbrk($haystack, '');
} catch (\ValueError $e) {
echo $e->getMessage() . "\n";
}
?>
--EXPECT--
-- Testing strpbrk() function with empty second argument --
strpbrk(): Argument #2 ($characters) must be a non-empty string
Function Calls
None |
Stats
MD5 | 60d3d050420512ad6d2ec604f196d8b4 |
Eval Count | 0 |
Decode Time | 98 ms |