1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00
Files
archived-php-src/tests/lang/bug23584.phpt
Máté Kocsis 36935e42ea Improve undefined variable error messages
Closes GH-5312
2020-03-31 13:02:32 +02:00

14 lines
192 B
PHP

--TEST--
Bug #23584 (error line numbers off by one when using #!php)
--FILE--
#!php
<?php
error_reporting(E_ALL);
echo $foo;
?>
--EXPECTF--
Warning: Undefined variable $foo in %s on line 6