xref: /PHP-7.1/Zend/tests/gc_003.phpt (revision 71592cec)
1--TEST--
2GC 003: gc_enabled() and ini_set()
3--FILE--
4<?php
5ini_set('zend.enable_gc','0');
6var_dump(gc_enabled());
7echo ini_get('zend.enable_gc') . "\n";
8ini_set('zend.enable_gc','1');
9var_dump(gc_enabled());
10echo ini_get('zend.enable_gc') . "\n";
11?>
12--EXPECT--
13bool(false)
140
15bool(true)
161
17