File manager - Edit - /opt/alt/tests/alt-php83-pecl-yaf_3.3.6-1.el8/tests/bug61493.phpt
Back
--TEST-- Bug #61493 (Can't remove item when using unset() with a Yaf_Config_Simple instance) --CREDITS-- littlemiaor at gmail dot com --SKIPIF-- <?php if (!extension_loaded("yaf")) print "skip"; ?> --INI-- yaf.use_namespace=0 --FILE-- <?php $config = new Yaf_Config_Simple(array( 'foo' => 'bar', ), false); unset($config['foo']); print_r($config); ?> --EXPECTF-- Yaf_Config_Simple Object ( [readonly:protected] => [config:protected] => Array ( ) )
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | Generation time: 0.4 |
proxy
|
phpinfo
|
Settings