3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function convertNew($input) { $oldMin = 0; $oldMax = 1; $newMin = 127; $newMax = 0; return ceil(((($input- $oldMin) * ($newMax - $newMin)) / ($oldMax - $oldMin)) + $newMin); } function convertOld($input) { $range_input = range(1, 0, 1/127); $range_output = range(0, 127); foreach ($range_input as $key => $value) { if ($value <= $input) { return $range_output[$key]; } } return 127; } // Simple benchmark for OLD alpha2gd conversion $start = microtime(1); foreach (range(0,1,1/1000) as $input) { convertOld($input); } echo "Old time: ".(microtime(1) - $start)."\n"; // Simple benchmark for NEW alpha2gd conversion $start = microtime(1); foreach (range(0,1,1/1000) as $input) { convertNew($input); } echo "New time: ".(microtime(1) - $start)."\n"; // Iterate through a whole bunch of floats $warnings = array(); foreach (range(0,1,1/10000) as $input) { if (convertOld($input) != convertNew($input)) $warnings[] = $input; } if (count($warnings)) { echo "Warning, value mismatches at ".implode(", ", $warnings)."\n"; } else { echo "All values passed!\n"; }
based on PAPrK
Output for 7.1.0
Old time: 0.0031518936157227 New time: 0.00016307830810547 All values passed!
Output for 7.0.14
Old time: 0.0030248165130615 New time: 0.00018310546875 All values passed!
Output for 7.0.6
Old time: 0.0025308132171631 New time: 0.00013208389282227 All values passed!
Output for 7.0.5
Old time: 0.0026960372924805 New time: 0.00013303756713867 All values passed!
Output for 7.0.4
Old time: 0.0016000270843506 New time: 7.7009201049805E-5 All values passed!
Output for 7.0.3
Old time: 0.0016191005706787 New time: 7.7962875366211E-5 All values passed!
Output for 7.0.2
Old time: 0.0024349689483643 New time: 0.00010299682617188 All values passed!
Output for 7.0.1
Old time: 0.0020289421081543 New time: 9.0122222900391E-5 All values passed!
Output for 7.0.0
Old time: 0.0026638507843018 New time: 0.00014591217041016 All values passed!
Output for hhvm-3.12.0
Old time: 0.005836009979248 New time: 0.00033998489379883 All values passed!
Output for hhvm-3.10.0
Old time: 0.0070979595184326 New time: 0.00040817260742188 All values passed!
Output for 5.6.28
Old time: 0.020043134689331 New time: 0.00053906440734863 All values passed!
Output for 5.6.21
Old time: 0.019426822662354 New time: 0.00055480003356934 All values passed!
Output for 5.6.20
Old time: 0.012696981430054 New time: 0.00041413307189941 All values passed!
Output for 5.6.19
Old time: 0.011166095733643 New time: 0.00029921531677246 All values passed!
Output for 5.6.18
Old time: 0.012166976928711 New time: 0.00031900405883789 All values passed!
Output for 5.6.17
Old time: 0.016319990158081 New time: 0.0004880428314209 All values passed!
Output for 5.6.16
Old time: 0.014996767044067 New time: 0.00046300888061523 All values passed!
Output for 5.6.15
Old time: 0.011366128921509 New time: 0.00035405158996582 All values passed!
Output for 5.6.14
Old time: 0.015830993652344 New time: 0.00048303604125977 All values passed!
Output for 5.6.13
Old time: 0.015995025634766 New time: 0.00050592422485352 All values passed!
Output for 5.6.12
Old time: 0.017746925354004 New time: 0.00053882598876953 All values passed!
Output for 5.6.11
Old time: 0.016404867172241 New time: 0.00050091743469238 All values passed!
Output for 5.6.10
Old time: 0.018548965454102 New time: 0.00054001808166504 All values passed!
Output for 5.6.9
Old time: 0.012631893157959 New time: 0.0003960132598877 All values passed!
Output for 5.6.8
Old time: 0.011060953140259 New time: 0.00034499168395996 All values passed!
Output for 5.5.35
Old time: 0.010210037231445 New time: 0.00031399726867676 All values passed!
Output for 5.5.34
Old time: 0.01175594329834 New time: 0.00037193298339844 All values passed!
Output for 5.5.33
Old time: 0.018409013748169 New time: 0.00044584274291992 All values passed!
Output for 5.5.32
Old time: 0.011658191680908 New time: 0.00036001205444336 All values passed!
Output for 5.5.31
Old time: 0.014137983322144 New time: 0.00042414665222168 All values passed!
Output for 5.5.30
Old time: 0.01910400390625 New time: 0.0005340576171875 All values passed!
Output for 5.5.29
Old time: 0.019102811813354 New time: 0.0005490779876709 All values passed!
Output for 5.5.28
Old time: 0.018611907958984 New time: 0.0005190372467041 All values passed!
Output for 5.5.27
Old time: 0.012818098068237 New time: 0.0005340576171875 All values passed!
Output for 5.5.26
Old time: 0.023436069488525 New time: 0.00058317184448242 All values passed!
Output for 5.5.25
Old time: 0.01697301864624 New time: 0.0005040168762207 All values passed!
Output for 5.5.24
Old time: 0.019211053848267 New time: 0.00054693222045898 All values passed!
Output for 5.4.45
Old time: 0.017662048339844 New time: 0.00071001052856445 All values passed!
Output for 5.4.44
Old time: 0.019711971282959 New time: 0.00054192543029785 All values passed!
Output for 5.4.43
Old time: 0.017040967941284 New time: 0.0005340576171875 All values passed!
Output for 5.4.42
Old time: 0.017385005950928 New time: 0.00055694580078125 All values passed!
Output for 5.4.41
Old time: 0.017096042633057 New time: 0.00056695938110352 All values passed!
Output for 5.4.40
Old time: 0.018541097640991 New time: 0.00080013275146484 All values passed!
Output for 5.4.39
Old time: 0.020764112472534 New time: 0.00059199333190918 All values passed!
Output for 5.4.38
Old time: 0.016988039016724 New time: 0.00056099891662598 All values passed!
Output for 5.4.37
Old time: 0.015100002288818 New time: 0.00043106079101562 All values passed!
Output for 5.4.36
Old time: 0.015650987625122 New time: 0.00053310394287109 All values passed!
Output for 5.4.35
Old time: 0.013710021972656 New time: 0.00052809715270996 All values passed!
Output for 5.4.34
Old time: 0.015838146209717 New time: 0.00086212158203125 All values passed!
Output for 5.4.32
Old time: 0.01341700553894 New time: 0.00035691261291504 All values passed!
Output for 5.4.31
Old time: 0.013858079910278 New time: 0.00036120414733887 All values passed!
Output for 5.4.30
Old time: 0.013350963592529 New time: 0.00039410591125488 All values passed!
Output for 5.4.29
Old time: 0.012791156768799 New time: 0.00038790702819824 All values passed!
Output for 5.4.28
Old time: 0.019533157348633 New time: 0.0004279613494873 All values passed!
Output for 5.4.27
Old time: 0.013458013534546 New time: 0.00041317939758301 All values passed!
Output for 5.4.26
Old time: 0.013389110565186 New time: 0.00041103363037109 All values passed!
Output for 5.4.25
Old time: 0.015042066574097 New time: 0.00040006637573242 All values passed!
Output for 5.4.24
Old time: 0.014853954315186 New time: 0.00040698051452637 All values passed!
Output for 5.4.23
Old time: 0.013861894607544 New time: 0.00040578842163086 All values passed!
Output for 5.4.22
Old time: 0.013373851776123 New time: 0.0004119873046875 All values passed!
Output for 5.4.21
Old time: 0.013206958770752 New time: 0.00039291381835938 All values passed!
Output for 5.4.20
Old time: 0.013481140136719 New time: 0.00038790702819824 All values passed!
Output for 5.4.19
Old time: 0.013894081115723 New time: 0.00045585632324219 All values passed!
Output for 5.4.18
Old time: 0.013841152191162 New time: 0.00044894218444824 All values passed!
Output for 5.4.17
Old time: 0.013572931289673 New time: 0.00044107437133789 All values passed!
Output for 5.4.16
Old time: 0.013762950897217 New time: 0.00039792060852051 All values passed!
Output for 5.4.15
Old time: 0.012824058532715 New time: 0.00038909912109375 All values passed!
Output for 5.4.14
Old time: 0.013169050216675 New time: 0.00037717819213867 All values passed!
Output for 5.4.13
Old time: 0.013606071472168 New time: 0.00040102005004883 All values passed!
Output for 5.4.12
Old time: 0.013987064361572 New time: 0.00040602684020996 All values passed!
Output for 5.4.11
Old time: 0.013686895370483 New time: 0.0004279613494873 All values passed!
Output for 5.4.10
Old time: 0.013957977294922 New time: 0.00039386749267578 All values passed!
Output for 5.4.9
Old time: 0.014018774032593 New time: 0.00040793418884277 All values passed!
Output for 5.4.8
Old time: 0.013466835021973 New time: 0.00042200088500977 All values passed!
Output for 5.4.7
Old time: 0.013275861740112 New time: 0.00039005279541016 All values passed!
Output for 5.4.6
Old time: 0.013341903686523 New time: 0.00041103363037109 All values passed!
Output for 5.4.5
Old time: 0.013923168182373 New time: 0.00039887428283691 All values passed!
Output for 5.4.4
Old time: 0.013864994049072 New time: 0.00040793418884277 All values passed!
Output for 5.4.3
Old time: 0.013941049575806 New time: 0.00038981437683105 All values passed!
Output for 5.4.2
Old time: 0.014065980911255 New time: 0.00037384033203125 All values passed!
Output for 5.4.1
Old time: 0.014179944992065 New time: 0.00045394897460938 All values passed!
Output for 5.4.0
Old time: 0.01347804069519 New time: 0.00043296813964844 All values passed!
Output for 5.3.29
Old time: 0.013344049453735 New time: 0.00046300888061523 All values passed!
Output for 5.3.28
Old time: 0.013530969619751 New time: 0.00052690505981445 All values passed!
Output for 5.3.27
Old time: 0.013741016387939 New time: 0.00048995018005371 All values passed!
Output for 5.3.26
Old time: 0.013772010803223 New time: 0.00050497055053711 All values passed!
Output for 5.3.25
Old time: 0.01317286491394 New time: 0.00043296813964844 All values passed!
Output for 5.3.24
Old time: 0.013622999191284 New time: 0.00049495697021484 All values passed!
Output for 5.3.23
Old time: 0.013509035110474 New time: 0.00047779083251953 All values passed!
Output for 5.3.22
Old time: 0.013631105422974 New time: 0.0005040168762207 All values passed!
Output for 5.3.21
Old time: 0.014118909835815 New time: 0.00047779083251953 All values passed!
Output for 5.3.20
Old time: 0.013736009597778 New time: 0.00056195259094238 All values passed!
Output for 5.3.19
Old time: 0.014056921005249 New time: 0.00051712989807129 All values passed!
Output for 5.3.18
Old time: 0.013846158981323 New time: 0.00050497055053711 All values passed!
Output for 5.3.17
Old time: 0.013489007949829 New time: 0.0005028247833252 All values passed!
Output for 5.3.16
Old time: 0.013228178024292 New time: 0.00048208236694336 All values passed!
Output for 5.3.15
Old time: 0.013625144958496 New time: 0.0004878044128418 All values passed!
Output for 5.3.14
Old time: 0.013647794723511 New time: 0.00050783157348633 All values passed!
Output for 5.3.13
Old time: 0.013427019119263 New time: 0.00046205520629883 All values passed!
Output for 5.3.12
Old time: 0.013804912567139 New time: 0.00052905082702637 All values passed!
Output for 5.3.11
Old time: 0.013835191726685 New time: 0.00049901008605957 All values passed!
Output for 5.3.10
Old time: 0.016154050827026 New time: 0.00048995018005371 All values passed!
Output for 5.3.9
Old time: 0.014187812805176 New time: 0.00049400329589844 All values passed!
Output for 5.3.8
Old time: 0.023696899414062 New time: 0.00049304962158203 All values passed!
Output for 5.3.7
Old time: 0.013933897018433 New time: 0.00048589706420898 All values passed!
Output for 5.3.6
Old time: 0.014474868774414 New time: 0.00050711631774902 All values passed!
Output for 5.3.5
Old time: 0.01353907585144 New time: 0.0005040168762207 All values passed!
Output for 5.3.4
Old time: 0.014010906219482 New time: 0.00055503845214844 All values passed!
Output for 5.3.3
Old time: 0.015098094940186 New time: 0.00064682960510254 All values passed!
Output for 5.3.2
Old time: 0.015327215194702 New time: 0.00047397613525391 All values passed!
Output for 5.3.1
Old time: 0.014281988143921 New time: 0.00051212310791016 All values passed!
Output for 5.3.0
Old time: 0.014119863510132 New time: 0.00053095817565918 All values passed!
Output for 5.2.17
Old time: 0.01586389541626 New time: 0.0007321834564209 All values passed!
Output for 5.2.16
Old time: 0.023212909698486 New time: 0.0012710094451904 All values passed!
Output for 5.2.15
Old time: 0.015738010406494 New time: 0.00066995620727539 All values passed!
Output for 5.2.14
Old time: 0.016247987747192 New time: 0.00069403648376465 All values passed!
Output for 5.2.13
Old time: 0.016329050064087 New time: 0.00070905685424805 All values passed!
Output for 5.2.12
Old time: 0.016691923141479 New time: 0.00065302848815918 All values passed!
Output for 5.2.11
Old time: 0.016735792160034 New time: 0.00073003768920898 All values passed!
Output for 5.2.10
Old time: 0.016355037689209 New time: 0.00074601173400879 All values passed!
Output for 5.2.9
Old time: 0.015937089920044 New time: 0.00074386596679688 All values passed!
Output for 5.2.8
Old time: 0.016419887542725 New time: 0.00072097778320312 All values passed!
Output for 5.2.7
Old time: 0.018539905548096 New time: 0.00066900253295898 All values passed!
Output for 5.2.6
Old time: 0.015549182891846 New time: 0.00065088272094727 All values passed!
Output for 5.2.5
Old time: 0.01642107963562 New time: 0.00077509880065918 All values passed!
Output for 5.2.4
Old time: 0.016549110412598 New time: 0.00066781044006348 All values passed!
Output for 5.2.3
Old time: 0.016342163085938 New time: 0.00069999694824219 All values passed!
Output for 5.2.2
Old time: 0.016104936599731 New time: 0.00065112113952637 All values passed!
Output for 5.2.1
Old time: 0.017254829406738 New time: 0.00072503089904785 All values passed!
Output for 5.2.0
Old time: 0.0246901512146 New time: 0.00071287155151367 All values passed!
Output for 5.1.6
Old time: 0.015769958496094 New time: 0.00076603889465332 All values passed!
Output for 5.1.5
Old time: 0.01580286026001 New time: 0.00093817710876465 All values passed!
Output for 5.1.4
Old time: 0.016129016876221 New time: 0.00076699256896973 All values passed!
Output for 5.1.3
Old time: 0.015841960906982 New time: 0.00073099136352539 All values passed!
Output for 5.1.2
Old time: 0.016057014465332 New time: 0.00075292587280273 All values passed!
Output for 5.1.1
Old time: 0.017030000686646 New time: 0.0014002323150635 All values passed!
Output for 5.1.0
Old time: 0.015527963638306 New time: 0.00075507164001465 All values passed!
Output for 5.0.5
Old time: 0.037716865539551 New time: 0.0014808177947998 All values passed!
Output for 5.0.4
Old time: 0.036780118942261 New time: 0.0014269351959229 All values passed!
Output for 5.0.3
Old time: 0.038151979446411 New time: 0.0014021396636963 All values passed!
Output for 5.0.2
Old time: 0.036908864974976 New time: 0.0014760494232178 All values passed!
Output for 5.0.1
Old time: 0.035414218902588 New time: 0.0013289451599121 All values passed!
Output for 5.0.0
Old time: 0.037568092346191 New time: 0.0069270133972168 All values passed!
Output for 4.4.9
Warning: Wrong parameter count for range() in /in/rJ2vq on line 29 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 29 Old time: 6.2999999999924E-05 Warning: Wrong parameter count for range() in /in/rJ2vq on line 34 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 34 New time: 2.6999999999999E-05 Warning: Wrong parameter count for range() in /in/rJ2vq on line 39 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 39 All values passed!
Output for 4.4.8
Warning: Wrong parameter count for range() in /in/rJ2vq on line 29 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 29 Old time: 6.3000000000035E-05 Warning: Wrong parameter count for range() in /in/rJ2vq on line 34 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 34 New time: 2.6000000000082E-05 Warning: Wrong parameter count for range() in /in/rJ2vq on line 39 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 39 All values passed!
Output for 4.4.7
Warning: Wrong parameter count for range() in /in/rJ2vq on line 29 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 29 Old time: 8.3999999999973E-05 Warning: Wrong parameter count for range() in /in/rJ2vq on line 34 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 34 New time: 2.6999999999999E-05 Warning: Wrong parameter count for range() in /in/rJ2vq on line 39 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 39 All values passed!
Output for 4.4.6
Warning: Wrong parameter count for range() in /in/rJ2vq on line 29 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 29 Old time: 7.9999999999969E-05 Warning: Wrong parameter count for range() in /in/rJ2vq on line 34 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 34 New time: 2.7999999999917E-05 Warning: Wrong parameter count for range() in /in/rJ2vq on line 39 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 39 All values passed!
Output for 4.4.5
Warning: Wrong parameter count for range() in /in/rJ2vq on line 29 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 29 Old time: 6.4999999999982E-05 Warning: Wrong parameter count for range() in /in/rJ2vq on line 34 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 34 New time: 2.599999999997E-05 Warning: Wrong parameter count for range() in /in/rJ2vq on line 39 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 39 All values passed!
Output for 4.4.4
Warning: Wrong parameter count for range() in /in/rJ2vq on line 29 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 29 Old time: 6.3999999999953E-05 Warning: Wrong parameter count for range() in /in/rJ2vq on line 34 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 34 New time: 5.1999999999941E-05 Warning: Wrong parameter count for range() in /in/rJ2vq on line 39 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 39 All values passed!
Output for 4.4.3
Warning: Wrong parameter count for range() in /in/rJ2vq on line 29 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 29 Old time: 5.299999999997E-05 Warning: Wrong parameter count for range() in /in/rJ2vq on line 34 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 34 New time: 2.4999999999942E-05 Warning: Wrong parameter count for range() in /in/rJ2vq on line 39 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 39 All values passed!
Output for 4.4.2
Warning: Wrong parameter count for range() in /in/rJ2vq on line 29 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 29 Old time: 6.3999999999953E-05 Warning: Wrong parameter count for range() in /in/rJ2vq on line 34 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 34 New time: 2.5000000000053E-05 Warning: Wrong parameter count for range() in /in/rJ2vq on line 39 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 39 All values passed!
Output for 4.4.1
Warning: Wrong parameter count for range() in /in/rJ2vq on line 29 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 29 Old time: 6.2000000000006E-05 Warning: Wrong parameter count for range() in /in/rJ2vq on line 34 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 34 New time: 2.7999999999917E-05 Warning: Wrong parameter count for range() in /in/rJ2vq on line 39 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 39 All values passed!
Output for 4.4.0
Warning: Wrong parameter count for range() in /in/rJ2vq on line 29 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 29 Old time: 6.1000000000089E-05 Warning: Wrong parameter count for range() in /in/rJ2vq on line 34 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 34 New time: 2.6999999999999E-05 Warning: Wrong parameter count for range() in /in/rJ2vq on line 39 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 39 All values passed!
Output for 4.3.11
Warning: Wrong parameter count for range() in /in/rJ2vq on line 29 Old time: 5.299999999997E-05 Warning: Wrong parameter count for range() in /in/rJ2vq on line 34 New time: 1.2000000000012E-05 Warning: Wrong parameter count for range() in /in/rJ2vq on line 39 All values passed!
Output for 4.3.10
Warning: Wrong parameter count for range() in /in/rJ2vq on line 29 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 29 Old time: 6.7999999999957E-05 Warning: Wrong parameter count for range() in /in/rJ2vq on line 34 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 34 New time: 2.6999999999999E-05 Warning: Wrong parameter count for range() in /in/rJ2vq on line 39 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 39 All values passed!
Output for 4.3.9
Warning: Wrong parameter count for range() in /in/rJ2vq on line 29 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 29 Old time: 8.5000000000002E-05 Warning: Wrong parameter count for range() in /in/rJ2vq on line 34 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 34 New time: 2.8000000000028E-05 Warning: Wrong parameter count for range() in /in/rJ2vq on line 39 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 39 All values passed!
Output for 4.3.8
Warning: Wrong parameter count for range() in /in/rJ2vq on line 29 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 29 Old time: 8.9000000000006E-05 Warning: Wrong parameter count for range() in /in/rJ2vq on line 34 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 34 New time: 3.9000000000011E-05 Warning: Wrong parameter count for range() in /in/rJ2vq on line 39 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 39 All values passed!
Output for 4.3.7
Warning: Wrong parameter count for range() in /in/rJ2vq on line 29 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 29 Old time: 6.7999999999999E-05 Warning: Wrong parameter count for range() in /in/rJ2vq on line 34 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 34 New time: 2.8E-05 Warning: Wrong parameter count for range() in /in/rJ2vq on line 39 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 39 All values passed!
Output for 4.3.6
Warning: Wrong parameter count for range() in /in/rJ2vq on line 29 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 29 Old time: 6.9E-05 Warning: Wrong parameter count for range() in /in/rJ2vq on line 34 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 34 New time: 2.8E-05 Warning: Wrong parameter count for range() in /in/rJ2vq on line 39 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 39 All values passed!
Output for 4.3.5
Warning: Wrong parameter count for range() in /in/rJ2vq on line 29 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 29 Old time: 8.5000000000002E-05 Warning: Wrong parameter count for range() in /in/rJ2vq on line 34 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 34 New time: 4.0999999999999E-05 Warning: Wrong parameter count for range() in /in/rJ2vq on line 39 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 39 All values passed!
Output for 4.3.4
Warning: Wrong parameter count for range() in /in/rJ2vq on line 29 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 29 Old time: 7.8999999999996E-05 Warning: Wrong parameter count for range() in /in/rJ2vq on line 34 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 34 New time: 5.2999999999997E-05 Warning: Wrong parameter count for range() in /in/rJ2vq on line 39 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 39 All values passed!
Output for 4.3.3
Warning: Wrong parameter count for range() in /in/rJ2vq on line 29 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 29 Old time: 8.1999999999999E-05 Warning: Wrong parameter count for range() in /in/rJ2vq on line 34 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 34 New time: 3.199999999999E-05 Warning: Wrong parameter count for range() in /in/rJ2vq on line 39 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 39 All values passed!
Output for 4.3.2
Warning: Wrong parameter count for range() in /in/rJ2vq on line 29 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 29 Old time: 6.7999999999999E-05 Warning: Wrong parameter count for range() in /in/rJ2vq on line 34 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 34 New time: 2.6999999999999E-05 Warning: Wrong parameter count for range() in /in/rJ2vq on line 39 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 39 All values passed!
Output for 4.3.1
Warning: Wrong parameter count for range() in /in/rJ2vq on line 29 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 29 Old time: 7.6999999999994E-05 Warning: Wrong parameter count for range() in /in/rJ2vq on line 34 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 34 New time: 4.2000000000014E-05 Warning: Wrong parameter count for range() in /in/rJ2vq on line 39 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 39 All values passed!
Output for 4.3.0
Warning: Wrong parameter count for range() in /in/rJ2vq on line 29 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 29 Old time: 0.000135 Warning: Wrong parameter count for range() in /in/rJ2vq on line 34 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 34 New time: 0.00014199999999998 Warning: Wrong parameter count for range() in /in/rJ2vq on line 39 Warning: Invalid argument supplied for foreach() in /in/rJ2vq on line 39 All values passed!