ID:               32698
 Updated by:       [EMAIL PROTECTED]
 Reported By:      matr1z at gmx dot net
-Status:           Open
+Status:           Bogus
 Bug Type:         Class/Object related
 Operating System: Linux
 PHP Version:      5.0.4
 New Comment:

Set display_errors directive to On and you'll see the fatal error
message.


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

[2005-04-13 20:35:42] matr1z at gmx dot net

Description:
------------
The bellow script will cause php to stop processing without showing any
warning / error message.
The "ok" will not be shown. 

There should be an error message if you try to initialize a class
variable twice.


Reproduce code:
---------------
<?

class Test {
  public $test = 'a';
  public $test = 'b';
}

print "ok";

?>

Expected result:
----------------
Error message or warning.

Actual result:
--------------
No output. PHP just stops processing.


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


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

Reply via email to