xref: /PHP-8.0/tests/lang/bug23584.phpt (revision 36935e42)
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--EXPECTF--
13Warning: Undefined variable $foo in %s on line 6
14