ID:               36441
 Updated by:       [EMAIL PROTECTED]
 Reported By:      michal dot hantl at gmail dot com
-Status:           No Feedback
+Status:           Bogus
-Bug Type:         Compile Failure
+Bug Type:         Class/Object related
 Operating System: Windows
 PHP Version:      5.1.2
 New Comment:

turn on error reporting


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

[2006-02-26 01:00:04] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

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

[2006-02-18 16:30:43] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5.1-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.1-win32-latest.zip

I get:

Fatal error: Non-abstract method b::c() must contain body

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

[2006-02-18 13:36:31] michal dot hantl at gmail dot com

Description:
------------
php sort of exits executing this source code without propper parse
error (which php4 reports correctly)

problem is in that ";" after "function whatever()"

Reproduce code:
---------------
Hello there
<?php    

class bug {      
  function whatever(); {       
    die("you wish");      
  }    
}  

?> 

Expected result:
----------------
some parse error

Actual result:
--------------
<totally nothing>


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


-- 
Edit this bug report at http://bugs.php.net/?id=36441&edit=1

Reply via email to