xref: /PHP-8.0/ext/simplexml/tests/037.phpt (revision a555cc0b)
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--EXPECT--
13bool(true)
14