ID: 36784 User updated by: gorivo at gmail dot com Reported By: gorivo at gmail dot com -Status: Feedback +Status: Open Bug Type: Arrays related Operating System: Windows XP PHP Version: 4.4.2 New Comment:
The source code is almost size of 1 mb. The main size of it, is occupied by huge array of 46656 keys. I can't shorten it because if I edit array's entries the script sometimes is working! It is very strange behavior. URL to working PHP script: http://www.huntexpired.com/gorivo/array_search.php URL to PHP code: http://www.huntexpired.com/gorivo/array_search.phps Previous Comments: ------------------------------------------------------------------------ [2006-03-18 20:32:52] [EMAIL PROTECTED] Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If possible, make the script source available online and provide an URL to it here. Try to avoid embedding huge scripts into the report. ------------------------------------------------------------------------ [2006-03-18 19:03:39] gorivo at gmail dot com Description: ------------ It seems array_search() is not working... Reproduce code: --------------- URL to PHP code: http://www.huntexpired.com/gorivo/array_search.phps Expected result: ---------------- 504 ( the array key of "0e0" ) Actual result: -------------- 0 ( FALSE ) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=36784&edit=1
