xref: /php-src/Zend/tests/gh8810_5.phpt (revision 44cd74b6)
1--TEST--
2GH-8810: Fix reported line number of multi-line assert call
3--FILE--
4<?php
5
6assert(
7    false,
8);
9
10?>
11--EXPECTF--
12Fatal error: Uncaught AssertionError: assert(false) in %s:3
13Stack trace:
14#0 %s(3): assert(false, 'assert(false)')
15#1 {main}
16  thrown in %s on line 3
17