← Back
Editing: bug78563.phpt
--TEST-- Bug #78563: parsers should not be clonable --EXTENSIONS-- xml --FILE-- <?php $parser = xml_parser_create(); clone $parser; ?> ===DONE=== --EXPECTF-- Fatal error: Uncaught Error: Trying to clone an uncloneable object of class XMLParser in %s:%d Stack trace: #0 {main} thrown in %s on line %d
Save File
Cancel