xref: /PHP-8.1/Zend/tests/bug34617.phpt (revision 74859783)
1--TEST--
2Bug #34617 (zend_deactivate: objects_store used after zend_objects_store_destroy is called)
3--EXTENSIONS--
4xml
5--FILE--
6<?php
7class Thing {}
8function boom()
9{
10    $reader = xml_parser_create();
11    $thing = new Thing();
12    xml_set_object($reader, $thing);
13    die("ok\n");
14    xml_parser_free($reader);
15}
16boom();
17?>
18--EXPECT--
19ok
20