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 fscanf() function: usage variations - string formats with strings --FILE-- <..
Decoded Output download
--TEST--
Test fscanf() function: usage variations - string formats with strings
--FILE--
<?php
/* Test fscanf() to scan different strings using different string format types */
$file_path = __DIR__;
echo "*** Test fscanf(): different string format types with different string ***
";
// create a file
$filename = "$file_path/fscanf_variation14.tmp";
$file_handle = fopen($filename, "w");
if($file_handle == false)
exit("Error:failed to open file $filename");
// different valid strings
/* string created using Heredoc (<<<) */
$heredoc_string = <<<EOT
This is string defined
using heredoc.
EOT;
/* heredoc string with only numerics */
$heredoc_numeric_string = <<<EOT
123456 3993
4849 string
EOT;
/* null heardoc string */
$heredoc_empty_string = <<<EOT
EOT;
$heredoc_null_string = <<<EOT
NULL
EOT;
$valid_strings = array(
"",
" ",
'',
' ',
"string",
'string',
"NULL",
'null',
"FALSE",
'true',
"",
"",
'',
'0',
"8",
"0x55F",
"055",
"@#$#$%%$^^$%^%^$^&",
$heredoc_string,
$heredoc_numeric_string,
$heredoc_empty_string,
$heredoc_null_string
);
// various string formats
$string_formats = array( "%s",
"%hs", "%ls", "%Ls",
" %s", "%s ", "% s",
" %s", "
%s", "%4s",
"%30s", "%[a-zA-Z0-9]", "%*s"
);
$counter = 1;
// writing to the file
foreach($valid_strings as $string) {
try {
fprintf($file_handle, $string);
} catch (\ValueError $e) {
} catch (\ArgumentCountError $e) {
}
fprintf($file_handle, "
");
}
// closing the file
fclose($file_handle);
// opening the file for reading
$file_handle = fopen($filename, "r");
if($file_handle == false) {
exit("Error:failed to open file $filename");
}
$counter = 1;
// reading the values from file using different string formats
foreach($string_formats as $string_format) {
// rewind the file so that for every foreach iteration the file pointer starts from bof
rewind($file_handle);
echo "
-- iteration $counter --
";
while( !feof($file_handle) ) {
try {
var_dump(fscanf($file_handle,$string_format));
} catch (ValueError $exception) {
echo $exception->getMessage() . "
";
}
}
$counter++;
}
echo "
*** Done ***";
?>
--CLEAN--
<?php
$file_path = __DIR__;
$filename = "$file_path/fscanf_variation14.tmp";
unlink($filename);
?>
--EXPECT--
*** Test fscanf(): different string format types with different string ***
-- iteration 1 --
NULL
NULL
NULL
NULL
array(1) {
[0]=>
string(6) "string"
}
array(1) {
[0]=>
string(6) "string"
}
array(1) {
[0]=>
string(4) "NULL"
}
array(1) {
[0]=>
string(4) "null"
}
array(1) {
[0]=>
string(5) "FALSE"
}
array(1) {
[0]=>
string(4) "true"
}
NULL
NULL
array(1) {
[0]=>
string(2) ""
}
array(1) {
[0]=>
string(4) "0"
}
array(1) {
[0]=>
string(1) "8"
}
array(1) {
[0]=>
string(5) "0x55F"
}
array(1) {
[0]=>
string(3) "055"
}
NULL
array(1) {
[0]=>
string(4) "This"
}
array(1) {
[0]=>
string(5) "using"
}
array(1) {
[0]=>
string(6) "123456"
}
array(1) {
[0]=>
string(4) "4849"
}
NULL
array(1) {
[0]=>
string(4) "NULL"
}
bool(false)
-- iteration 2 --
NULL
NULL
NULL
NULL
array(1) {
[0]=>
string(6) "string"
}
array(1) {
[0]=>
string(6) "string"
}
array(1) {
[0]=>
string(4) "NULL"
}
array(1) {
[0]=>
string(4) "null"
}
array(1) {
[0]=>
string(5) "FALSE"
}
array(1) {
[0]=>
string(4) "true"
}
NULL
NULL
array(1) {
[0]=>
string(2) ""
}
array(1) {
[0]=>
string(4) "0"
}
array(1) {
[0]=>
string(1) "8"
}
array(1) {
[0]=>
string(5) "0x55F"
}
array(1) {
[0]=>
string(3) "055"
}
NULL
array(1) {
[0]=>
string(4) "This"
}
array(1) {
[0]=>
string(5) "using"
}
array(1) {
[0]=>
string(6) "123456"
}
array(1) {
[0]=>
string(4) "4849"
}
NULL
array(1) {
[0]=>
string(4) "NULL"
}
bool(false)
-- iteration 3 --
NULL
NULL
NULL
NULL
array(1) {
[0]=>
string(6) "string"
}
array(1) {
[0]=>
string(6) "string"
}
array(1) {
[0]=>
string(4) "NULL"
}
array(1) {
[0]=>
string(4) "null"
}
array(1) {
[0]=>
string(5) "FALSE"
}
array(1) {
[0]=>
string(4) "true"
}
NULL
NULL
array(1) {
[0]=>
string(2) ""
}
array(1) {
[0]=>
string(4) "0"
}
array(1) {
[0]=>
string(1) "8"
}
array(1) {
[0]=>
string(5) "0x55F"
}
array(1) {
[0]=>
string(3) "055"
}
NULL
array(1) {
[0]=>
string(4) "This"
}
array(1) {
[0]=>
string(5) "using"
}
array(1) {
[0]=>
string(6) "123456"
}
array(1) {
[0]=>
string(4) "4849"
}
NULL
array(1) {
[0]=>
string(4) "NULL"
}
bool(false)
-- iteration 4 --
NULL
NULL
NULL
NULL
array(1) {
[0]=>
string(6) "string"
}
array(1) {
[0]=>
string(6) "string"
}
array(1) {
[0]=>
string(4) "NULL"
}
array(1) {
[0]=>
string(4) "null"
}
array(1) {
[0]=>
string(5) "FALSE"
}
array(1) {
[0]=>
string(4) "true"
}
NULL
NULL
array(1) {
[0]=>
string(2) ""
}
array(1) {
[0]=>
string(4) "0"
}
array(1) {
[0]=>
string(1) "8"
}
array(1) {
[0]=>
string(5) "0x55F"
}
array(1) {
[0]=>
string(3) "055"
}
NULL
array(1) {
[0]=>
string(4) "This"
}
array(1) {
[0]=>
string(5) "using"
}
array(1) {
[0]=>
string(6) "123456"
}
array(1) {
[0]=>
string(4) "4849"
}
NULL
array(1) {
[0]=>
string(4) "NULL"
}
bool(false)
-- iteration 5 --
NULL
NULL
NULL
NULL
array(1) {
[0]=>
string(6) "string"
}
array(1) {
[0]=>
string(6) "string"
}
array(1) {
[0]=>
string(4) "NULL"
}
array(1) {
[0]=>
string(4) "null"
}
array(1) {
[0]=>
string(5) "FALSE"
}
array(1) {
[0]=>
string(4) "true"
}
NULL
NULL
array(1) {
[0]=>
string(2) ""
}
array(1) {
[0]=>
string(4) "0"
}
array(1) {
[0]=>
string(1) "8"
}
array(1) {
[0]=>
string(5) "0x55F"
}
array(1) {
[0]=>
string(3) "055"
}
NULL
array(1) {
[0]=>
string(4) "This"
}
array(1) {
[0]=>
string(5) "using"
}
array(1) {
[0]=>
string(6) "123456"
}
array(1) {
[0]=>
string(4) "4849"
}
NULL
array(1) {
[0]=>
string(4) "NULL"
}
bool(false)
-- iteration 6 --
NULL
NULL
NULL
NULL
array(1) {
[0]=>
string(6) "string"
}
array(1) {
[0]=>
string(6) "string"
}
array(1) {
[0]=>
string(4) "NULL"
}
array(1) {
[0]=>
string(4) "null"
}
array(1) {
[0]=>
string(5) "FALSE"
}
array(1) {
[0]=>
string(4) "true"
}
NULL
NULL
array(1) {
[0]=>
string(2) ""
}
array(1) {
[0]=>
string(4) "0"
}
array(1) {
[0]=>
string(1) "8"
}
array(1) {
[0]=>
string(5) "0x55F"
}
array(1) {
[0]=>
string(3) "055"
}
NULL
array(1) {
[0]=>
string(4) "This"
}
array(1) {
[0]=>
string(5) "using"
}
array(1) {
[0]=>
string(6) "123456"
}
array(1) {
[0]=>
string(4) "4849"
}
NULL
array(1) {
[0]=>
string(4) "NULL"
}
bool(false)
-- iteration 7 --
Bad scan conversion character " "
Bad scan conversion character " "
Bad scan conversion character " "
Bad scan conversion character " "
Bad scan conversion character " "
Bad scan conversion character " "
Bad scan conversion character " "
Bad scan conversion character " "
Bad scan conversion character " "
Bad scan conversion character " "
Bad scan conversion character " "
Bad scan conversion character " "
Bad scan conversion character " "
Bad scan conversion character " "
Bad scan conversion character " "
Bad scan conversion character " "
Bad scan conversion character " "
Bad scan conversion character " "
Bad scan conversion character " "
Bad scan conversion character " "
Bad scan conversion character " "
Bad scan conversion character " "
Bad scan conversion character " "
Bad scan conversion character " "
bool(false)
-- iteration 8 --
NULL
NULL
NULL
NULL
array(1) {
[0]=>
string(6) "string"
}
array(1) {
[0]=>
string(6) "string"
}
array(1) {
[0]=>
string(4) "NULL"
}
array(1) {
[0]=>
string(4) "null"
}
array(1) {
[0]=>
string(5) "FALSE"
}
array(1) {
[0]=>
string(4) "true"
}
NULL
NULL
array(1) {
[0]=>
string(2) ""
}
array(1) {
[0]=>
string(4) "0"
}
array(1) {
[0]=>
string(1) "8"
}
array(1) {
[0]=>
string(5) "0x55F"
}
array(1) {
[0]=>
string(3) "055"
}
NULL
array(1) {
[0]=>
string(4) "This"
}
array(1) {
[0]=>
string(5) "using"
}
array(1) {
[0]=>
string(6) "123456"
}
array(1) {
[0]=>
string(4) "4849"
}
NULL
array(1) {
[0]=>
string(4) "NULL"
}
bool(false)
-- iteration 9 --
NULL
NULL
NULL
NULL
array(1) {
[0]=>
string(6) "string"
}
array(1) {
[0]=>
string(6) "string"
}
array(1) {
[0]=>
string(4) "NULL"
}
array(1) {
[0]=>
string(4) "null"
}
array(1) {
[0]=>
string(5) "FALSE"
}
array(1) {
[0]=>
string(4) "true"
}
NULL
NULL
array(1) {
[0]=>
string(2) ""
}
array(1) {
[0]=>
string(4) "0"
}
array(1) {
[0]=>
string(1) "8"
}
array(1) {
[0]=>
string(5) "0x55F"
}
array(1) {
[0]=>
string(3) "055"
}
NULL
array(1) {
[0]=>
string(4) "This"
}
array(1) {
[0]=>
string(5) "using"
}
array(1) {
[0]=>
string(6) "123456"
}
array(1) {
[0]=>
string(4) "4849"
}
NULL
array(1) {
[0]=>
string(4) "NULL"
}
bool(false)
-- iteration 10 --
NULL
NULL
NULL
NULL
array(1) {
[0]=>
string(4) "stri"
}
array(1) {
[0]=>
string(4) "stri"
}
array(1) {
[0]=>
string(4) "NULL"
}
array(1) {
[0]=>
string(4) "null"
}
array(1) {
[0]=>
string(4) "FALS"
}
array(1) {
[0]=>
string(4) "true"
}
NULL
NULL
array(1) {
[0]=>
string(2) ""
}
array(1) {
[0]=>
string(4) "0"
}
array(1) {
[0]=>
string(1) "8"
}
array(1) {
[0]=>
string(4) "0x55"
}
array(1) {
[0]=>
string(3) "055"
}
NULL
array(1) {
[0]=>
string(4) "This"
}
array(1) {
[0]=>
string(4) "usin"
}
array(1) {
[0]=>
string(4) "1234"
}
array(1) {
[0]=>
string(4) "4849"
}
NULL
array(1) {
[0]=>
string(4) "NULL"
}
bool(false)
-- iteration 11 --
NULL
NULL
NULL
NULL
array(1) {
[0]=>
string(6) "string"
}
array(1) {
[0]=>
string(6) "string"
}
array(1) {
[0]=>
string(4) "NULL"
}
array(1) {
[0]=>
string(4) "null"
}
array(1) {
[0]=>
string(5) "FALSE"
}
array(1) {
[0]=>
string(4) "true"
}
NULL
NULL
array(1) {
[0]=>
string(2) ""
}
array(1) {
[0]=>
string(4) "0"
}
array(1) {
[0]=>
string(1) "8"
}
array(1) {
[0]=>
string(5) "0x55F"
}
array(1) {
[0]=>
string(3) "055"
}
NULL
array(1) {
[0]=>
string(4) "This"
}
array(1) {
[0]=>
string(5) "using"
}
array(1) {
[0]=>
string(6) "123456"
}
array(1) {
[0]=>
string(4) "4849"
}
NULL
array(1) {
[0]=>
string(4) "NULL"
}
bool(false)
-- iteration 12 --
array(1) {
[0]=>
NULL
}
array(1) {
[0]=>
NULL
}
array(1) {
[0]=>
NULL
}
array(1) {
[0]=>
NULL
}
array(1) {
[0]=>
string(6) "string"
}
array(1) {
[0]=>
string(6) "string"
}
array(1) {
[0]=>
string(4) "NULL"
}
array(1) {
[0]=>
string(4) "null"
}
array(1) {
[0]=>
string(5) "FALSE"
}
array(1) {
[0]=>
string(4) "true"
}
array(1) {
[0]=>
NULL
}
NULL
array(1) {
[0]=>
NULL
}
array(1) {
[0]=>
NULL
}
array(1) {
[0]=>
string(1) "8"
}
array(1) {
[0]=>
string(5) "0x55F"
}
array(1) {
[0]=>
string(3) "055"
}
array(1) {
[0]=>
NULL
}
array(1) {
[0]=>
string(4) "This"
}
array(1) {
[0]=>
string(5) "using"
}
array(1) {
[0]=>
string(6) "123456"
}
array(1) {
[0]=>
string(4) "4849"
}
array(1) {
[0]=>
NULL
}
array(1) {
[0]=>
string(4) "NULL"
}
bool(false)
-- iteration 13 --
NULL
NULL
NULL
NULL
array(0) {
}
array(0) {
}
array(0) {
}
array(0) {
}
array(0) {
}
array(0) {
}
NULL
NULL
array(0) {
}
array(0) {
}
array(0) {
}
array(0) {
}
array(0) {
}
NULL
array(0) {
}
array(0) {
}
array(0) {
}
array(0) {
}
NULL
array(0) {
}
bool(false)
*** Done ***
Did this file decode correctly?
Original Code
--TEST--
Test fscanf() function: usage variations - string formats with strings
--FILE--
<?php
/* Test fscanf() to scan different strings using different string format types */
$file_path = __DIR__;
echo "*** Test fscanf(): different string format types with different string ***\n";
// create a file
$filename = "$file_path/fscanf_variation14.tmp";
$file_handle = fopen($filename, "w");
if($file_handle == false)
exit("Error:failed to open file $filename");
// different valid strings
/* string created using Heredoc (<<<) */
$heredoc_string = <<<EOT
This is string defined
using heredoc.
EOT;
/* heredoc string with only numerics */
$heredoc_numeric_string = <<<EOT
123456 3993
4849 string
EOT;
/* null heardoc string */
$heredoc_empty_string = <<<EOT
EOT;
$heredoc_null_string = <<<EOT
NULL
EOT;
$valid_strings = array(
"",
" ",
'',
' ',
"string",
'string',
"NULL",
'null',
"FALSE",
'true',
"\x0b",
"\0",
'\0',
'\060',
"\070",
"0x55F",
"055",
"@#$#$%%$^^$%^%^$^&",
$heredoc_string,
$heredoc_numeric_string,
$heredoc_empty_string,
$heredoc_null_string
);
// various string formats
$string_formats = array( "%s",
"%hs", "%ls", "%Ls",
" %s", "%s ", "% s",
"\t%s", "\n%s", "%4s",
"%30s", "%[a-zA-Z0-9]", "%*s"
);
$counter = 1;
// writing to the file
foreach($valid_strings as $string) {
try {
fprintf($file_handle, $string);
} catch (\ValueError $e) {
} catch (\ArgumentCountError $e) {
}
fprintf($file_handle, "\n");
}
// closing the file
fclose($file_handle);
// opening the file for reading
$file_handle = fopen($filename, "r");
if($file_handle == false) {
exit("Error:failed to open file $filename");
}
$counter = 1;
// reading the values from file using different string formats
foreach($string_formats as $string_format) {
// rewind the file so that for every foreach iteration the file pointer starts from bof
rewind($file_handle);
echo "\n-- iteration $counter --\n";
while( !feof($file_handle) ) {
try {
var_dump(fscanf($file_handle,$string_format));
} catch (ValueError $exception) {
echo $exception->getMessage() . "\n";
}
}
$counter++;
}
echo "\n*** Done ***";
?>
--CLEAN--
<?php
$file_path = __DIR__;
$filename = "$file_path/fscanf_variation14.tmp";
unlink($filename);
?>
--EXPECT--
*** Test fscanf(): different string format types with different string ***
-- iteration 1 --
NULL
NULL
NULL
NULL
array(1) {
[0]=>
string(6) "string"
}
array(1) {
[0]=>
string(6) "string"
}
array(1) {
[0]=>
string(4) "NULL"
}
array(1) {
[0]=>
string(4) "null"
}
array(1) {
[0]=>
string(5) "FALSE"
}
array(1) {
[0]=>
string(4) "true"
}
NULL
NULL
array(1) {
[0]=>
string(2) "\0"
}
array(1) {
[0]=>
string(4) "\060"
}
array(1) {
[0]=>
string(1) "8"
}
array(1) {
[0]=>
string(5) "0x55F"
}
array(1) {
[0]=>
string(3) "055"
}
NULL
array(1) {
[0]=>
string(4) "This"
}
array(1) {
[0]=>
string(5) "using"
}
array(1) {
[0]=>
string(6) "123456"
}
array(1) {
[0]=>
string(4) "4849"
}
NULL
array(1) {
[0]=>
string(4) "NULL"
}
bool(false)
-- iteration 2 --
NULL
NULL
NULL
NULL
array(1) {
[0]=>
string(6) "string"
}
array(1) {
[0]=>
string(6) "string"
}
array(1) {
[0]=>
string(4) "NULL"
}
array(1) {
[0]=>
string(4) "null"
}
array(1) {
[0]=>
string(5) "FALSE"
}
array(1) {
[0]=>
string(4) "true"
}
NULL
NULL
array(1) {
[0]=>
string(2) "\0"
}
array(1) {
[0]=>
string(4) "\060"
}
array(1) {
[0]=>
string(1) "8"
}
array(1) {
[0]=>
string(5) "0x55F"
}
array(1) {
[0]=>
string(3) "055"
}
NULL
array(1) {
[0]=>
string(4) "This"
}
array(1) {
[0]=>
string(5) "using"
}
array(1) {
[0]=>
string(6) "123456"
}
array(1) {
[0]=>
string(4) "4849"
}
NULL
array(1) {
[0]=>
string(4) "NULL"
}
bool(false)
-- iteration 3 --
NULL
NULL
NULL
NULL
array(1) {
[0]=>
string(6) "string"
}
array(1) {
[0]=>
string(6) "string"
}
array(1) {
[0]=>
string(4) "NULL"
}
array(1) {
[0]=>
string(4) "null"
}
array(1) {
[0]=>
string(5) "FALSE"
}
array(1) {
[0]=>
string(4) "true"
}
NULL
NULL
array(1) {
[0]=>
string(2) "\0"
}
array(1) {
[0]=>
string(4) "\060"
}
array(1) {
[0]=>
string(1) "8"
}
array(1) {
[0]=>
string(5) "0x55F"
}
array(1) {
[0]=>
string(3) "055"
}
NULL
array(1) {
[0]=>
string(4) "This"
}
array(1) {
[0]=>
string(5) "using"
}
array(1) {
[0]=>
string(6) "123456"
}
array(1) {
[0]=>
string(4) "4849"
}
NULL
array(1) {
[0]=>
string(4) "NULL"
}
bool(false)
-- iteration 4 --
NULL
NULL
NULL
NULL
array(1) {
[0]=>
string(6) "string"
}
array(1) {
[0]=>
string(6) "string"
}
array(1) {
[0]=>
string(4) "NULL"
}
array(1) {
[0]=>
string(4) "null"
}
array(1) {
[0]=>
string(5) "FALSE"
}
array(1) {
[0]=>
string(4) "true"
}
NULL
NULL
array(1) {
[0]=>
string(2) "\0"
}
array(1) {
[0]=>
string(4) "\060"
}
array(1) {
[0]=>
string(1) "8"
}
array(1) {
[0]=>
string(5) "0x55F"
}
array(1) {
[0]=>
string(3) "055"
}
NULL
array(1) {
[0]=>
string(4) "This"
}
array(1) {
[0]=>
string(5) "using"
}
array(1) {
[0]=>
string(6) "123456"
}
array(1) {
[0]=>
string(4) "4849"
}
NULL
array(1) {
[0]=>
string(4) "NULL"
}
bool(false)
-- iteration 5 --
NULL
NULL
NULL
NULL
array(1) {
[0]=>
string(6) "string"
}
array(1) {
[0]=>
string(6) "string"
}
array(1) {
[0]=>
string(4) "NULL"
}
array(1) {
[0]=>
string(4) "null"
}
array(1) {
[0]=>
string(5) "FALSE"
}
array(1) {
[0]=>
string(4) "true"
}
NULL
NULL
array(1) {
[0]=>
string(2) "\0"
}
array(1) {
[0]=>
string(4) "\060"
}
array(1) {
[0]=>
string(1) "8"
}
array(1) {
[0]=>
string(5) "0x55F"
}
array(1) {
[0]=>
string(3) "055"
}
NULL
array(1) {
[0]=>
string(4) "This"
}
array(1) {
[0]=>
string(5) "using"
}
array(1) {
[0]=>
string(6) "123456"
}
array(1) {
[0]=>
string(4) "4849"
}
NULL
array(1) {
[0]=>
string(4) "NULL"
}
bool(false)
-- iteration 6 --
NULL
NULL
NULL
NULL
array(1) {
[0]=>
string(6) "string"
}
array(1) {
[0]=>
string(6) "string"
}
array(1) {
[0]=>
string(4) "NULL"
}
array(1) {
[0]=>
string(4) "null"
}
array(1) {
[0]=>
string(5) "FALSE"
}
array(1) {
[0]=>
string(4) "true"
}
NULL
NULL
array(1) {
[0]=>
string(2) "\0"
}
array(1) {
[0]=>
string(4) "\060"
}
array(1) {
[0]=>
string(1) "8"
}
array(1) {
[0]=>
string(5) "0x55F"
}
array(1) {
[0]=>
string(3) "055"
}
NULL
array(1) {
[0]=>
string(4) "This"
}
array(1) {
[0]=>
string(5) "using"
}
array(1) {
[0]=>
string(6) "123456"
}
array(1) {
[0]=>
string(4) "4849"
}
NULL
array(1) {
[0]=>
string(4) "NULL"
}
bool(false)
-- iteration 7 --
Bad scan conversion character " "
Bad scan conversion character " "
Bad scan conversion character " "
Bad scan conversion character " "
Bad scan conversion character " "
Bad scan conversion character " "
Bad scan conversion character " "
Bad scan conversion character " "
Bad scan conversion character " "
Bad scan conversion character " "
Bad scan conversion character " "
Bad scan conversion character " "
Bad scan conversion character " "
Bad scan conversion character " "
Bad scan conversion character " "
Bad scan conversion character " "
Bad scan conversion character " "
Bad scan conversion character " "
Bad scan conversion character " "
Bad scan conversion character " "
Bad scan conversion character " "
Bad scan conversion character " "
Bad scan conversion character " "
Bad scan conversion character " "
bool(false)
-- iteration 8 --
NULL
NULL
NULL
NULL
array(1) {
[0]=>
string(6) "string"
}
array(1) {
[0]=>
string(6) "string"
}
array(1) {
[0]=>
string(4) "NULL"
}
array(1) {
[0]=>
string(4) "null"
}
array(1) {
[0]=>
string(5) "FALSE"
}
array(1) {
[0]=>
string(4) "true"
}
NULL
NULL
array(1) {
[0]=>
string(2) "\0"
}
array(1) {
[0]=>
string(4) "\060"
}
array(1) {
[0]=>
string(1) "8"
}
array(1) {
[0]=>
string(5) "0x55F"
}
array(1) {
[0]=>
string(3) "055"
}
NULL
array(1) {
[0]=>
string(4) "This"
}
array(1) {
[0]=>
string(5) "using"
}
array(1) {
[0]=>
string(6) "123456"
}
array(1) {
[0]=>
string(4) "4849"
}
NULL
array(1) {
[0]=>
string(4) "NULL"
}
bool(false)
-- iteration 9 --
NULL
NULL
NULL
NULL
array(1) {
[0]=>
string(6) "string"
}
array(1) {
[0]=>
string(6) "string"
}
array(1) {
[0]=>
string(4) "NULL"
}
array(1) {
[0]=>
string(4) "null"
}
array(1) {
[0]=>
string(5) "FALSE"
}
array(1) {
[0]=>
string(4) "true"
}
NULL
NULL
array(1) {
[0]=>
string(2) "\0"
}
array(1) {
[0]=>
string(4) "\060"
}
array(1) {
[0]=>
string(1) "8"
}
array(1) {
[0]=>
string(5) "0x55F"
}
array(1) {
[0]=>
string(3) "055"
}
NULL
array(1) {
[0]=>
string(4) "This"
}
array(1) {
[0]=>
string(5) "using"
}
array(1) {
[0]=>
string(6) "123456"
}
array(1) {
[0]=>
string(4) "4849"
}
NULL
array(1) {
[0]=>
string(4) "NULL"
}
bool(false)
-- iteration 10 --
NULL
NULL
NULL
NULL
array(1) {
[0]=>
string(4) "stri"
}
array(1) {
[0]=>
string(4) "stri"
}
array(1) {
[0]=>
string(4) "NULL"
}
array(1) {
[0]=>
string(4) "null"
}
array(1) {
[0]=>
string(4) "FALS"
}
array(1) {
[0]=>
string(4) "true"
}
NULL
NULL
array(1) {
[0]=>
string(2) "\0"
}
array(1) {
[0]=>
string(4) "\060"
}
array(1) {
[0]=>
string(1) "8"
}
array(1) {
[0]=>
string(4) "0x55"
}
array(1) {
[0]=>
string(3) "055"
}
NULL
array(1) {
[0]=>
string(4) "This"
}
array(1) {
[0]=>
string(4) "usin"
}
array(1) {
[0]=>
string(4) "1234"
}
array(1) {
[0]=>
string(4) "4849"
}
NULL
array(1) {
[0]=>
string(4) "NULL"
}
bool(false)
-- iteration 11 --
NULL
NULL
NULL
NULL
array(1) {
[0]=>
string(6) "string"
}
array(1) {
[0]=>
string(6) "string"
}
array(1) {
[0]=>
string(4) "NULL"
}
array(1) {
[0]=>
string(4) "null"
}
array(1) {
[0]=>
string(5) "FALSE"
}
array(1) {
[0]=>
string(4) "true"
}
NULL
NULL
array(1) {
[0]=>
string(2) "\0"
}
array(1) {
[0]=>
string(4) "\060"
}
array(1) {
[0]=>
string(1) "8"
}
array(1) {
[0]=>
string(5) "0x55F"
}
array(1) {
[0]=>
string(3) "055"
}
NULL
array(1) {
[0]=>
string(4) "This"
}
array(1) {
[0]=>
string(5) "using"
}
array(1) {
[0]=>
string(6) "123456"
}
array(1) {
[0]=>
string(4) "4849"
}
NULL
array(1) {
[0]=>
string(4) "NULL"
}
bool(false)
-- iteration 12 --
array(1) {
[0]=>
NULL
}
array(1) {
[0]=>
NULL
}
array(1) {
[0]=>
NULL
}
array(1) {
[0]=>
NULL
}
array(1) {
[0]=>
string(6) "string"
}
array(1) {
[0]=>
string(6) "string"
}
array(1) {
[0]=>
string(4) "NULL"
}
array(1) {
[0]=>
string(4) "null"
}
array(1) {
[0]=>
string(5) "FALSE"
}
array(1) {
[0]=>
string(4) "true"
}
array(1) {
[0]=>
NULL
}
NULL
array(1) {
[0]=>
NULL
}
array(1) {
[0]=>
NULL
}
array(1) {
[0]=>
string(1) "8"
}
array(1) {
[0]=>
string(5) "0x55F"
}
array(1) {
[0]=>
string(3) "055"
}
array(1) {
[0]=>
NULL
}
array(1) {
[0]=>
string(4) "This"
}
array(1) {
[0]=>
string(5) "using"
}
array(1) {
[0]=>
string(6) "123456"
}
array(1) {
[0]=>
string(4) "4849"
}
array(1) {
[0]=>
NULL
}
array(1) {
[0]=>
string(4) "NULL"
}
bool(false)
-- iteration 13 --
NULL
NULL
NULL
NULL
array(0) {
}
array(0) {
}
array(0) {
}
array(0) {
}
array(0) {
}
array(0) {
}
NULL
NULL
array(0) {
}
array(0) {
}
array(0) {
}
array(0) {
}
array(0) {
}
NULL
array(0) {
}
array(0) {
}
array(0) {
}
array(0) {
}
NULL
array(0) {
}
bool(false)
*** Done ***
Function Calls
None |
Stats
MD5 | 2b6b807d11b5986fdb5716ee5e738ae2 |
Eval Count | 0 |
Decode Time | 104 ms |