1
0
mirror of https://github.com/php/php-src.git synced 2026-04-25 00:48:25 +02:00
Files
Niels Dossche df96346f9c Move test for GH-10200 to the simplexml extension test directory
Closes GH-10252

Signed-off-by: George Peter Banyard <girgias@php.net>
2023-01-07 03:07:37 +00:00

23 lines
484 B
PHP

--TEST--
GH-10200 (zif_get_object_vars: Assertion `!(((__ht)->u.flags & (1<<2)) != 0)' failed.)
--EXTENSIONS--
simplexml
--FILE--
<?php
$xmlData = <<<EOF
<?xml version="1.0" encoding="utf-8"?>
<document>https://github.com/php/php-src/issues/10200 not encountered</document>
EOF;
$xml = simplexml_load_string($xmlData);
$output = get_object_vars($xml);
var_dump($output);
?>
--EXPECT--
array(1) {
[0]=>
string(59) "https://github.com/php/php-src/issues/10200 not encountered"
}