/
proc
/
3430793
/
root
/
usr
/
local
/
lsws
/
phpbuild
/
php-8.0.7
/
ext
/
spl
/
tests
/
File Upload :
llllll
Current File: //proc/3430793/root/usr/local/lsws/phpbuild/php-8.0.7/ext/spl/tests/observer_010.phpt
--TEST-- SPL: SplObjectStorage null coalescing operator memory leak --FILE-- <?php // In zts mode, this should no longer detect memory leaks for the objects $a = new stdClass(); $b = new stdClass(); $map = new SplObjectStorage(); $map[$a] = 'foo'; var_dump($map[$b] ?? null); var_dump($map[$a] ?? null); ?> --EXPECT-- NULL string(3) "foo"
Copyright ©2k19 -
Hexid
|
Tex7ure