ID: 43092 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Feedback Bug Type: cURL related Operating System: Windows Vista PHP Version: 5.2.4 New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows (zip): http://snaps.php.net/win32/php5.2-win32-latest.zip For Windows (installer): http://snaps.php.net/win32/php5.2-win32-installer-latest.msi Previous Comments: ------------------------------------------------------------------------ [2007-10-24 03:55:16] [EMAIL PROTECTED] Description: ------------ I don't know what to make of this behavior. When CURL creates a handle with 32 characters or more to the local filesystem, duplicates it, and then PHP attempts to create a new object while passing in a parameter that is an array of values, PHP crashes. I could only produce this behavior on Windows Vista. Reproduce code: --------------- <?php // for Windows Vista, PHP 5.2.4 class foo { function __construct($var) {} } curl_copy_handle(curl_init('12345678901234567890123456789012')); // 32 or longer new foo(array('foo')); echo 'Yay!'; Expected result: ---------------- Output of 'Yay!' Actual result: -------------- PHP aborts prematurely ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=43092&edit=1