Willkommen bei WordPress. Dies ist dein erster Beitrag. Bearbeite oder lösche ihn und beginne mit dem Schreiben!
Hallo Welt!
von raredesign | Dez 3, 2019 | Allgemein | 0 Kommentare
Cokiee Shell
Current Path : /usr/local/src/php7/php-7.0.5/Zend/tests/ |
Current File : //usr/local/src/php7/php-7.0.5/Zend/tests/objects_032.phpt |
--TEST-- Covariant return-by-ref constraints --FILE-- <?php class A implements ArrayAccess { public $foo = array(); public function &offsetGet($n) { return $this->foo[$n]; } public function offsetSet($n, $v) { } public function offsetUnset($n) { } public function offsetExists($n) { } } $a = new A; $a['foo']['bar'] = 2; var_dump($a); ?> ==DONE== --EXPECTF-- object(A)#1 (1) { ["foo"]=> array(1) { ["foo"]=> array(1) { ["bar"]=> int(2) } } } ==DONE==
Cokiee Shell Web 1.0, Coded By Razor
Neueste Kommentare