📁 File Manager Pro
v10.0.3 | PHP: 8.2.31
Server: LiteSpeed
2026-07-01 05:03:48
📂
/ (Root)
/
opt
/
alt
/
tests
/
alt-php85-pecl-memcached_3.2.0-3.el8
/
tests
📍 /opt/alt/tests/alt-php85-pecl-memcached_3.2.0-3.el8/tests
🔄 Refresh
✏️
Editing: invoke_callback_twice.phpt
Read Only
--TEST-- Test that callback is invoked on new object only once --SKIPIF-- <?php include "skipif.inc";?> --FILE-- <?php function my_func(Memcached $obj, $persistent_id = null) { echo "Invoked for '{$persistent_id}'\n"; } $m1 = new Memcached('foobar', 'my_func'); $m2 = new Memcached('foobar', 'my_func'); echo "OK\n"; --EXPECT-- Invoked for 'foobar' OK
💾 Save Changes
❌ Cancel