xref: /PHP-8.3/ext/simplexml/tests/037.phpt (revision 7f2f0c00)
1--TEST--
2SimpleXML: implement Countable
3--EXTENSIONS--
4simplexml
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