xref: /PHP-7.2/tests/lang/bug23584.phpt (revision 5d4bca6d)
1--TEST--
2Bug #23584 (error line numbers off by one when using #!php)
3--FILE--
4#!php
5<?php
6
7error_reporting(E_ALL);
8
9echo $foo;
10
11?>
12--EXPECTREGEX--
13Notice: Undefined variable:.*foo in .* on line 6
14