ID: 17173 Updated by: [EMAIL PROTECTED] Reported By: mbretter at inode dot at -Status: Open +Status: Feedback Bug Type: COM related Operating System: any PHP Version: 4.3.2RC1 New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip Previous Comments: ------------------------------------------------------------------------ [2003-04-11 05:44:41] webmaster at starbike dot com Same here. I'm using 4.3.1 on the server and on my dev machine. It hangs on the server when calling $conn = new COM("ADODB.Connection"); On my dev machine it works. Only difference is, that is have ADO 2.5 on my dev machine and ADO 2.7 on the server. So the new 2.7 seems to cause problems. ------------------------------------------------------------------------ [2003-04-04 03:51:23] [EMAIL PROTECTED] The problem isn't solved, I tried it with PHP4.3.2RC1 and the original example lets PHP crash. The second example by Phanto works now. ------------------------------------------------------------------------ [2003-02-20 07:58:25] [EMAIL PROTECTED] No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. ------------------------------------------------------------------------ [2003-02-08 00:48:49] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip Wrong PHP version string caused this bug to get lost.. ------------------------------------------------------------------------ [2002-08-05 19:48:21] [EMAIL PROTECTED] reclassify: switch($obj->prop) {..} does not work on overloaded objects, a NULL zval is passed as the property_reference parameter to the get_property handler. here is a short sample script: $field = new variant("huh"); convert_field($field); function convert_field($field) { $tmp = $field->type; switch($tmp) { case 123: break; default: return $field->value; } } function convert_field_crash($field) { switch($field->type) { case 123: break; default: return $field->value; } } ------------------------------------------------------------------------ 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/17173 -- Edit this bug report at http://bugs.php.net/?id=17173&edit=1