xref: /PHP-8.2/Zend/tests/bug77738.phpt (revision 7aacc705)
1--TEST--
2Bug #77738 (Nullptr deref in zend_compile_expr)
3--FILE--
4<?php
5__COMPILER_HALT_OFFSET__;
6; // <- important
7?>
8--EXPECTF--
9Fatal error: Uncaught Error: Undefined constant "__COMPILER_HALT_OFFSET__" in %s:%d
10Stack trace:
11#0 {main}
12  thrown in %s on line %d
13