ID: 38450 Updated by: [EMAIL PROTECTED] Reported By: uli at combie dot de -Status: Assigned +Status: Closed Bug Type: Streams related Operating System: Irrelevant PHP Version: 4.4.3 Assigned To: tony2001 New Comment:
Fixed in HEAD and 5_2. I'll commit the patch to 4_4 as soon as I get "ok" from 4_4 release master. 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