mirror of
https://github.com/php/php-src.git
synced 2024-12-25 01:40:50 +08:00
17 lines
288 B
PHP
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
|