????JFIF??x?x????'
Server IP : 79.136.114.73 / Your IP : 18.225.92.18 Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64 User : www-data ( 33) PHP Version : 5.5.9-1ubuntu4.29 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/self/root/home/b8009/php-5.6.22/ext/simplexml/tests/ |
Upload File : |
--TEST-- Testing xpath() with invalid XML --SKIPIF-- <?php if (PHP_MAJOR_VERSION != 5) die("skip this test is for PHP 5 only"); if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platforms only"); ?> --FILE-- <?php $xml = simplexml_load_string("XXXXXXX^",$x,0x6000000000000001); var_dump($xml->xpath("BBBB")); ?> --EXPECTF-- Notice: Undefined variable: x in %s on line %d Warning: simplexml_load_string(): Entity: line 1: parser error : Start tag expected, '<' not found in %s on line %d Warning: simplexml_load_string(): XXXXXXX^ in %s on line %d Warning: simplexml_load_string(): ^ in %s on line %d Fatal error: Call to a member function xpath() on boolean in %s on line %d