[PHP-DEV] PHP 4.0 Bug #7952 Updated: problem with "return" in function From: andi <email protected>
Date: 12/01/00

ID: 7952
Updated by: andi
Reported By: mo <email protected>
Status: Closed
Bug Type: Reproduceable crash
Assigned To:
Comments:

Please make sure your error reporting is high enough. You should get a parse error message.

Previous Comments:
---------------------------------------------------------------------------

[2000-11-23 14:15:49] mo <email protected>
I had the problem before, and it's a bit anoying:

if you forget the ";" after the "return" in a function, you will get a browser error message "document contained no data". In case you have done a lot of changes, it is difficult to find the mistake.
a message like "parse error at line xxx" would be nice.

B.t.w.: I love PHP, Keep up the good work you're doing,

        Moritz

---------------------------------------------------------------------------

Full Bug description available at: http://bugs.php.net/?id=7952

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>