|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2007-10-24 22:33 UTC] ezyang@php.net
  [2007-11-12 21:19 UTC] ezyang@php.net
  [2007-11-12 21:24 UTC] ezyang@php.net
  [2007-11-16 14:21 UTC] jani@php.net
 | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Thu Oct 30 23:00:01 2025 UTC | 
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