mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
13 lines
180 B
PHP
13 lines
180 B
PHP
--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
|