mirror of
https://github.com/php/php-src.git
synced 2024-11-28 04:14:26 +08:00
17 lines
288 B
Plaintext
17 lines
288 B
Plaintext
|
--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
|