--TEST-- APC: APCIterator Overwriting the ctor --SKIPIF-- --INI-- apc.enabled=1 apc.enable_cli=1 --FILE-- rewind(); } catch (Error $e) { echo $e->getMessage(), "\n"; } try { $obj->current(); } catch (Error $e) { echo $e->getMessage(), "\n"; } try { $obj->key(); } catch (Error $e) { echo $e->getMessage(), "\n"; } try { $obj->next(); } catch (Error $e) { echo $e->getMessage(), "\n"; } try { $obj->valid(); } catch (Error $e) { echo $e->getMessage(), "\n"; } try { $obj->getTotalHits(); } catch (Error $e) { echo $e->getMessage(), "\n"; } try { $obj->getTotalSize(); } catch (Error $e) { echo $e->getMessage(), "\n"; } try { $obj->getTotalCount(); } catch (Error $e) { echo $e->getMessage(), "\n"; } try { apcu_delete($obj); } catch (Error $e) { echo $e->getMessage(), "\n"; } ?> --EXPECT-- Trying to use uninitialized APCUIterator Trying to use uninitialized APCUIterator Trying to use uninitialized APCUIterator Trying to use uninitialized APCUIterator Trying to use uninitialized APCUIterator Trying to use uninitialized APCUIterator Trying to use uninitialized APCUIterator Trying to use uninitialized APCUIterator Trying to use uninitialized APCUIterator