xref: /PHP-7.4/ext/simplexml/tests/037.phpt (revision bfc10978)
1--TEST--
2SimpleXML: implement Countable
3--SKIPIF--
4<?php if (!extension_loaded("simplexml")) print "skip"; ?>
5--FILE--
6<?php
7
8$str = '<xml></xml>';
9$sxe = new SimpleXmlElement($str);
10var_dump($sxe instanceof Countable);
11?>
12==Done==
13--EXPECT--
14bool(true)
15==Done==
16