ID: 29780 Updated by: [email protected] Reported By: d dot khan at ventigo dot com -Status: Feedback +Status: No Feedback Bug Type: Unknown/Other Function Operating System: * PHP Version: 5.* New Comment:
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". Previous Comments: ------------------------------------------------------------------------ [2005-01-14 23:18:53] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.0-win32-latest.zip ------------------------------------------------------------------------ [2004-09-01 18:00:38] d dot khan at ventigo dot com weird. PHP Version 5.0.1 PDO: Version 0.1.1 Release Date 2004-05-21 PDO_MYSQL: Version 0.1 Release Date 2004-05-18 Spits out that error. ------------------------------------------------------------------------ [2004-08-29 08:10:08] [EMAIL PROTECTED] Works fine for me with latest PHP and PDO. Btw, this is not ZE problem, reclassifying. ------------------------------------------------------------------------ [2004-08-26 20:32:26] [EMAIL PROTECTED] HINT to all extension developers: Constructors of internal classes need to have the name '__construct' rather that the class's name. ------------------------------------------------------------------------ [2004-08-25 22:46:08] d dot khan at ventigo dot com You example works - mine doesn't. It seems to be an oddity with extensions... Example code: <?php class test extends stdClass { function __construct() { echo 'Called in child'; } } $test = new test; Class rltxPDO extends PDO { function __construct() { echo 'Called in child 2'; } } $test2 = new rltxPDO; ?> Output: Called in child Warning: PDO::__construct() expects at least 1 parameter, 0 given in /home/shares/development/khan/wandern/html/test.php on line 19 ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/29780 -- Edit this bug report at http://bugs.php.net/?id=29780&edit=1
