📁 File Manager Pro
v10.0.3 | PHP: 7.4.33
Server: LiteSpeed
2026-06-26 14:36:02
📂
/ (Root)
/
opt
/
alt
/
tests
/
alt-php82-pecl-memcache_8.2-1.el8
/
tests
📍 /opt/alt/tests/alt-php82-pecl-memcache_8.2-1.el8/tests
🔄 Refresh
✏️
Editing: githubbug53.phpt
Read Only
--TEST-- Module shouldn't crash on failed serialization --SKIPIF-- <?php include 'connect.inc'; ?> --FILE-- <?php include 'connect.inc'; class foo { function __sleep() { throw new \Exception("fail"); } } $oFoo = new foo(); $memcache->set('foobar', $oFoo); --EXPECTF-- Warning: MemcachePool::set(): Failed to serialize value in %s on line %d Fatal error: Uncaught Exception: fail in %s:%d Stack trace: #0 [internal function]: foo->__sleep() #1 %s(%d): MemcachePool->set('foobar', Object(foo)) #2 {main} thrown in %s on line %d
💾 Save Changes
❌ Cancel