mirror of
https://github.com/php/php-src.git
synced 2024-11-25 10:54:15 +08:00
15 lines
201 B
PHP
15 lines
201 B
PHP
--TEST--
|
|
GC 027: GC and properties of internal classes
|
|
--INI--
|
|
zend.enable_gc=1
|
|
--FILE--
|
|
<?php
|
|
try {
|
|
throw new Exception();
|
|
} catch (Exception $e) {
|
|
gc_collect_cycles();
|
|
}
|
|
echo "ok\n";
|
|
--EXPECT--
|
|
ok
|