mirror of
https://github.com/php/php-src.git
synced 2024-09-29 13:56:09 +00:00
11 lines
229 B
Plaintext
11 lines
229 B
Plaintext
|
--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
|