File manager - Edit - /opt/alt/tests/alt-php82-pecl-memcache_8.2-1.el8/tests/pecl16536.phpt
Back
--TEST-- PECL bug #16536 (Weight of 0 causes SegFault on memcache_add_server) --SKIPIF-- <?php include 'connect.inc'; ?> --FILE-- <?php include 'connect.inc'; $mmc = new Memcache; var_dump(@$mmc->addServer($host, $port, true, 0)); var_dump(@$mmc->set('TEST_KEY', 'test_value')); echo "Done\n"; ?> --EXPECTF-- bool(false) bool(false) Done
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.21 |
proxy
|
phpinfo
|
Settings