summaryrefslogtreecommitdiff
path: root/Zend/tests/nullsafe_operator/038.phpt
blob: 422de0b891eec09f4c1add0a92e0d352efe4d394 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--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