php-src/Zend/tests/gc_003.phpt
2008-01-22 09:29:29 +00:00

17 lines
288 B
PHP

--TEST--
GC 003: gc_enabled() and ini_set()
--FILE--
<?php
ini_set('zend.enable_gc','0');
var_dump(gc_enabled());
echo ini_get('zend.enable_gc') . "\n";
ini_set('zend.enable_gc','1');
var_dump(gc_enabled());
echo ini_get('zend.enable_gc') . "\n";
?>
--EXPECT--
bool(false)
0
bool(true)
1