xref: /PHP-7.4/Zend/tests/bug69905.phpt (revision 7a01c44a)
1--TEST--
2Bug #69905 (null ptr deref and segfault in ZEND_FETCH_DIM_RW_SPEC_VAR_UNUSED_HANDLER)
3--FILE--
4<?php
5md5(0)[]--;
6?>
7--EXPECTF--
8Fatal error: Uncaught Error: [] operator not supported for strings in %sbug69905.php:2
9Stack trace:
10#0 {main}
11  thrown in %sbug69905.php on line 2
12