/
vshmidt
/
php
Обзор
Документация
Войти
/
vshmidt
/
php
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
ext/simplexml/tests/SimpleXMLElement_xpath_4.phpt
21 строка
449 B
Max Semenik
Migrate skip checks to --EXTENSIONS--, p4
08 апр 2021, 11:36
08 апр 2021, 11:36
7f2f0c0
Код
Авторство
О чём код?
--TEST-- Testing xpath() with invalid XML --EXTENSIONS-- simplexml --SKIPIF-- <?php if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platforms only"); ?> --FILE-- <?php try { simplexml_load_string("XXXXXXX^", $x, 0x6000000000000001); } catch (ValueError $exception) { echo $exception->getMessage() . "\n"; } ?> --EXPECTF-- Warning: Undefined variable $x in %s on line %d simplexml_load_string(): Argument #3 ($options) is too large