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-- xml_parser_get_option() - Test parameter not set --EXTENSIONS-- xml --FILE-- <?ph..
Decoded Output download
--TEST--
xml_parser_get_option() - Test parameter not set
--EXTENSIONS--
xml
--FILE--
<?php
$xmlParser = xml_parser_create();
try {
xml_parser_get_option ($xmlParser, 42);
} catch (ValueError $exception) {
echo $exception->getMessage() . "
";
}
?>
--EXPECT--
xml_parser_get_option(): Argument #2 ($option) must be a XML_OPTION_* constant
Did this file decode correctly?
Original Code
--TEST--
xml_parser_get_option() - Test parameter not set
--EXTENSIONS--
xml
--FILE--
<?php
$xmlParser = xml_parser_create();
try {
xml_parser_get_option ($xmlParser, 42);
} catch (ValueError $exception) {
echo $exception->getMessage() . "\n";
}
?>
--EXPECT--
xml_parser_get_option(): Argument #2 ($option) must be a XML_OPTION_* constant
Function Calls
xml_parser_create | 1 |
Stats
MD5 | cde6a9cede05685be1c3769141315949 |
Eval Count | 0 |
Decode Time | 70 ms |