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-- Bug #72085 (SEGV on unknown address zif_xml_parse) --EXTENSIONS-- xml --FILE-- <?..
Decoded Output download
--TEST--
Bug #72085 (SEGV on unknown address zif_xml_parse)
--EXTENSIONS--
xml
--FILE--
<?php
$var1 = xml_parser_create_ns();
xml_set_element_handler($var1, new Exception(""), 4096);
xml_parse($var1, str_repeat("<a>", 10));
?>
--EXPECTF--
Warning: Invalid callback Exception::__invoke, no array or string given in %s on line %d
Warning: xml_parse(): Unable to call handler in %s on line %d
Warning: Invalid callback Exception::__invoke, no array or string given in %s on line %d
Warning: xml_parse(): Unable to call handler in %s on line %d
Warning: Invalid callback Exception::__invoke, no array or string given in %s on line %d
Warning: xml_parse(): Unable to call handler in %s on line %d
Warning: Invalid callback Exception::__invoke, no array or string given in %s on line %d
Warning: xml_parse(): Unable to call handler in %s on line %d
Warning: Invalid callback Exception::__invoke, no array or string given in %s on line %d
Warning: xml_parse(): Unable to call handler in %s on line %d
Warning: Invalid callback Exception::__invoke, no array or string given in %s on line %d
Warning: xml_parse(): Unable to call handler in %s on line %d
Warning: Invalid callback Exception::__invoke, no array or string given in %s on line %d
Warning: xml_parse(): Unable to call handler in %s on line %d
Warning: Invalid callback Exception::__invoke, no array or string given in %s on line %d
Warning: xml_parse(): Unable to call handler in %s on line %d
Warning: Invalid callback Exception::__invoke, no array or string given in %s on line %d
Warning: xml_parse(): Unable to call handler in %s on line %d
Warning: Invalid callback Exception::__invoke, no array or string given in %s on line %d
Warning: xml_parse(): Unable to call handler in %s on line %d
Did this file decode correctly?
Original Code
--TEST--
Bug #72085 (SEGV on unknown address zif_xml_parse)
--EXTENSIONS--
xml
--FILE--
<?php
$var1 = xml_parser_create_ns();
xml_set_element_handler($var1, new Exception(""), 4096);
xml_parse($var1, str_repeat("<a>", 10));
?>
--EXPECTF--
Warning: Invalid callback Exception::__invoke, no array or string given in %s on line %d
Warning: xml_parse(): Unable to call handler in %s on line %d
Warning: Invalid callback Exception::__invoke, no array or string given in %s on line %d
Warning: xml_parse(): Unable to call handler in %s on line %d
Warning: Invalid callback Exception::__invoke, no array or string given in %s on line %d
Warning: xml_parse(): Unable to call handler in %s on line %d
Warning: Invalid callback Exception::__invoke, no array or string given in %s on line %d
Warning: xml_parse(): Unable to call handler in %s on line %d
Warning: Invalid callback Exception::__invoke, no array or string given in %s on line %d
Warning: xml_parse(): Unable to call handler in %s on line %d
Warning: Invalid callback Exception::__invoke, no array or string given in %s on line %d
Warning: xml_parse(): Unable to call handler in %s on line %d
Warning: Invalid callback Exception::__invoke, no array or string given in %s on line %d
Warning: xml_parse(): Unable to call handler in %s on line %d
Warning: Invalid callback Exception::__invoke, no array or string given in %s on line %d
Warning: xml_parse(): Unable to call handler in %s on line %d
Warning: Invalid callback Exception::__invoke, no array or string given in %s on line %d
Warning: xml_parse(): Unable to call handler in %s on line %d
Warning: Invalid callback Exception::__invoke, no array or string given in %s on line %d
Warning: xml_parse(): Unable to call handler in %s on line %d
Function Calls
xml_parser_create_ns | 1 |
Stats
MD5 | 6b8d1ccc8743efc1e005c4cc3dc8c146 |
Eval Count | 0 |
Decode Time | 84 ms |