mirror of
https://github.com/php/php-src.git
synced 2024-12-11 19:04:38 +08:00
11 lines
229 B
PHP
11 lines
229 B
PHP
--TEST--
|
|
Bug #70912 (Null ptr dereference when class property is initialised to a dereferenced value)
|
|
--FILE--
|
|
<?php
|
|
class A {
|
|
public $a=[][];
|
|
}
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Cannot use [] for reading in %sbug70912.php on line %d
|