ID: 32185 Updated by: [EMAIL PROTECTED] Reported By: laan at home dot nl -Status: Open +Status: Bogus Bug Type: Output Control Operating System: OSX 10.3.8 PHP Version: 5.0.3 New Comment:
Works fine here. Previous Comments: ------------------------------------------------------------------------ [2005-03-04 09:52:30] laan at home dot nl Description: ------------ I'm a bit of a newbie at php, but when I make a "typo" in the code the error reported indicates the wrong line. example: info.php error in line 8 : phponfo() I checked it against a netbased server running php4.3.10 which displayes it correctly. Reproduce code: --------------- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>phpinfo()</title> </head> <body> <?php phponfo()?> </body> </html> Expected result: ---------------- Fatal error: Call to undefined function phponfo() in / Users/bert/Sites/php5/info.php on line 8 Actual result: -------------- Fatal error: Call to undefined function phponfo() in / Users/bert/Sites/php5/info.php on line 7 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=32185&edit=1
