1
0
mirror of https://github.com/php/php-src.git synced 2026-04-20 06:21:12 +02:00
Files
archived-php-src/Zend/tests/gc_003.phpt
2008-01-22 09:27:48 +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