xref: /PHP-5.6/Zend/tests/bug34617.phpt (revision 610c7fbe)
1--TEST--
2Bug #34617 (zend_deactivate: objects_store used after zend_objects_store_destroy is called)
3--SKIPIF--
4<?php if (!extension_loaded("xml")) print "skip the xml extension not available"; ?>
5--FILE--
6<?php
7class Thing {}
8function boom()
9{
10    $reader = xml_parser_create();
11    xml_set_object($reader, new Thing());
12    die("ok\n");
13    xml_parser_free($reader);
14}
15boom();
16?>
17--EXPECT--
18ok
19