xref: /PHP-7.4/Zend/tests/bug70912.phpt (revision 25de928d)
1--TEST--
2Bug #70912 (Null ptr dereference when class property is initialised to a dereferenced value)
3--FILE--
4<?php
5class A {
6	public $a=[][];
7}
8?>
9--EXPECTF--
10Fatal error: Cannot use [] for reading in %sbug70912.php on line %d
11