/
usr
/
local
/
lsws
/
phpbuild
/
php-8.0.7
/
Zend
/
tests
/
File Upload :
llllll
Current File: //usr/local/lsws/phpbuild/php-8.0.7/Zend/tests/bug33710.phpt
--TEST-- Bug #33710 (ArrayAccess objects doesn't initialize $this) --FILE-- <?php class Foo implements ArrayAccess { function offsetExists($offset) {/*...*/} function offsetGet($offset) {/*...*/} function offsetSet($offset, $value) {/*...*/} function offsetUnset($offset) {/*...*/} function fail() { $this['blah']; } function succeed() { $this; $this['blah']; } } $bar = new Foo(); $bar->succeed(); $bar->fail(); ?> ===DONE=== --EXPECT-- ===DONE===
Copyright ©2k19 -
Hexid
|
Tex7ure