mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
a555cc0b3d
Remove most of the `===DONE===` tags and its variations. Keep `===DONE===` if the test output otherwise becomes empty. Closes GH-4872.
17 lines
280 B
PHP
17 lines
280 B
PHP
--TEST--
|
|
Bug #41867 (getName is broken)
|
|
--SKIPIF--
|
|
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
|
|
--FILE--
|
|
<?php
|
|
|
|
$a = simplexml_load_string("<a><b><c/></b></a>");
|
|
echo $a->getName()."\n";
|
|
echo $a->b->getName()."\n";
|
|
echo $a->b->c->getName()."\n";
|
|
?>
|
|
--EXPECT--
|
|
a
|
|
b
|
|
c
|