From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.0.6 PHP Bug Type: Arrays related Bug description: array_pad dies with large pad length
This code: $arr=array(); $arr=array_pad($arr, 65535, md5(microtime())); causes this output: [Fri Dec 28 10:01:38 2001] Script: './test.php' --------------------------------------- zend_execute.h(62) : Block 0x081BD070 status: Beginning: Cached (allocated on ./zend_execute.c:1502, 12 bytes) End: OK --------------------------------------- backing that down to 65534 will cause no error. Looks like that parameter is set to only allow 32 bit integers. -- Edit bug report at: http://bugs.php.net/?id=14738&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]