mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
13 lines
180 B
Plaintext
13 lines
180 B
Plaintext
|
--TEST--
|
||
|
Test nullsafe operator in nested delayed dims 2
|
||
|
--FILE--
|
||
|
<?php
|
||
|
|
||
|
$foo = (object) ['bar' => 0];
|
||
|
$array = [[null]];
|
||
|
var_dump($array[0][$foo->bar]?->baz);
|
||
|
|
||
|
?>
|
||
|
--EXPECT--
|
||
|
NULL
|