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.
14 lines
245 B
PHP
14 lines
245 B
PHP
--TEST--
|
|
SimpleXML: implement Countable
|
|
--SKIPIF--
|
|
<?php if (!extension_loaded("simplexml")) print "skip"; ?>
|
|
--FILE--
|
|
<?php
|
|
|
|
$str = '<xml></xml>';
|
|
$sxe = new SimpleXmlElement($str);
|
|
var_dump($sxe instanceof Countable);
|
|
?>
|
|
--EXPECT--
|
|
bool(true)
|