PHP 4.0 Bug #7952: problem with "return" in function

From: Date: Thu, 23 Nov 2000 19:15:49 +0000
Subject: PHP 4.0 Bug #7952: problem with "return" in function
Groups: php.dev 
Request: Send a blank email to php-dev+get-39029@lists.php.net to get a copy of this message
From: mo@squat.net Operating system: suse 7.0 PHP version: 4.0.1pl2 PHP Bug Type: Reproduceable crash Bug description: problem with "return" in function 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 -- Edit Bug report at: http://bugs.php.net/?id=7952&edit=1

« previous php.dev (#39029) next »