ID: 38812 Updated by: [EMAIL PROTECTED] Reported By: chad at herballure dot com -Status: Open +Status: Feedback Bug Type: Performance problem Operating System: Linux (SuSE 9.2) PHP Version: 5CVS-2006-09-13 (snap) New Comment:
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 the script requires a database to demonstrate the issue, please make sure it creates all necessary tables, stored procedures etc. Please avoid embedding huge scripts into the report. The URL you provided doesn't work. And please don't provide test cases that require PEAR. Thank you. Previous Comments: ------------------------------------------------------------------------ [2006-09-13 15:58:57] chad at herballure dot com Description: ------------ array_key_exists takes about 16 times longer in PHP 5.2-200609131430 than it does in 5.1.[246]. Reproduce code: --------------- http://www.sapphirepaw.org/ake_bug.txt (depends on Benchmark_Iterate in PEAR) Expected result: ---------------- The 5.1.x series produces numbers like: ake_test: Array ( [0] => 0.406023979187 [1] => 0.285789966583 [2] => 0.236785173416 [3] => 0.22957110405 ) Actual result: -------------- Yesterday's and todays 5.2 snapshots produce numbers like: ake_test: Array ( [0] => 4.45166897774 [1] => 4.08239388466 [2] => 4.0640411377 [3] => 4.06054711342 ) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=38812&edit=1