mirror of
https://github.com/php/php-src.git
synced 2024-12-25 01:40:50 +08:00
17 lines
264 B
PHP
17 lines
264 B
PHP
--TEST--
|
|
GC 002: gc_enable()/gc_diable() and ini_get()
|
|
--FILE--
|
|
<?php
|
|
gc_disable();
|
|
var_dump(gc_enabled());
|
|
echo ini_get('zend.enable_gc') . "\n";
|
|
gc_enable();
|
|
var_dump(gc_enabled());
|
|
echo ini_get('zend.enable_gc') . "\n";
|
|
?>
|
|
--EXPECT--
|
|
bool(false)
|
|
0
|
|
bool(true)
|
|
1
|