xref: /PHP-8.1/Zend/tests/bug70912.phpt (revision f8d79582)
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