diff options
| author | Dmitry Stogov <dmitry@php.net> | 2005-09-27 18:07:41 +0000 |
|---|---|---|
| committer | Dmitry Stogov <dmitry@php.net> | 2005-09-27 18:07:41 +0000 |
| commit | 386a3b93050a5004f337bce4c8fe666a253c0658 (patch) | |
| tree | d0d9c28a4530cbc9955bf2f1b6992c1dbee84974 /Zend/tests/bug34617.phpt | |
| parent | 4329db25a1226593e31fba9d9395a19bbefa522c (diff) | |
| download | php-git-386a3b93050a5004f337bce4c8fe666a253c0658.tar.gz | |
Fixed bug #34617 (zend_deactivate: objects_store used after zend_objects_store_destroy is called)
Diffstat (limited to 'Zend/tests/bug34617.phpt')
| -rwxr-xr-x | Zend/tests/bug34617.phpt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Zend/tests/bug34617.phpt b/Zend/tests/bug34617.phpt new file mode 100755 index 0000000000..23c43c4f9f --- /dev/null +++ b/Zend/tests/bug34617.phpt @@ -0,0 +1,18 @@ +--TEST-- +Bug #34617 (zend_deactivate: objects_store used after zend_objects_store_destroy is called) +--SKIPIF-- +<?php if (!extension_loaded("xml")) print "skip"; ?> +--FILE-- +<?php +class Thing {} +function boom() +{ + $reader = xml_parser_create(); + xml_set_object($reader, new Thing()); + die("ok\n"); + xml_parser_free($reader); +} +boom(); +?> +--EXPECT-- +ok
\ No newline at end of file |
