ID: 38450
Updated by: [EMAIL PROTECTED]
Reported By: uli at combie dot de
-Status: Open
+Status: Assigned
Bug Type: Class/Object related
Operating System: Irrelevant
PHP Version: 4.4.3
-Assigned To:
+Assigned To: tony2001
Previous Comments:
------------------------------------------------------------------------
[2006-08-14 12:17:01] uli at combie dot de
Description:
------------
I wrote my own MySQL-Url-Wrapper, while this task, i figure out, PHP
creates an Instance whitout calling the constructor.
To reproduce this, please use the example of the
stream_wrapper_register Documentation.
The same behavior in all reachable PHP Versions.
Reproduce code:
---------------
// php4
function VariableStream() { echo "Constuctor called<br>";}
// php5
function __construct() { echo "Constuctor called<br>";}
Expected result:
----------------
There ist no output like "Constuctor called"
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=38450&edit=1