mirror of
https://github.com/php/php-src.git
synced 2024-11-23 18:04:36 +08:00
11 lines
232 B
PHP
11 lines
232 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
|