mirror of
https://github.com/php/php-src.git
synced 2026-03-30 12:13:02 +02:00
21 lines
487 B
PHP
21 lines
487 B
PHP
--TEST--
|
|
Bug #34617 (zend_deactivate: objects_store used after zend_objects_store_destroy is called)
|
|
--EXTENSIONS--
|
|
xml
|
|
--FILE--
|
|
<?php
|
|
class Thing {}
|
|
function boom()
|
|
{
|
|
$reader = xml_parser_create();
|
|
$thing = new Thing();
|
|
xml_set_object($reader, $thing);
|
|
die("ok\n");
|
|
xml_parser_free($reader);
|
|
}
|
|
boom();
|
|
?>
|
|
--EXPECTF--
|
|
Deprecated: Function xml_set_object() is deprecated since 8.4, provide a proper method callable to xml_set_*_handler() functions in %s on line %d
|
|
ok
|