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); } $diffOld = microtime(1) - $start; echo "Old time: $diffOld\n"; // Simple benchmark for NEW alpha2gd conversion $start = microtime(1); foreach (range(0,1,1/1000) as $input) { convertNew($input); } $diffNew = microtime(1) - $start; echo "New time: $diffNew\n"; echo (($diffOld-$diffNew)/$diffOld*100)."% faster\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 iacqq
Output for 7.1.0
Old time: 0.0030789375305176 New time: 0.00016498565673828 94.641474368902% faster All values passed!
Output for 7.0.14
Old time: 0.0028741359710693 New time: 0.00017404556274414 93.944421401908% faster All values passed!
Output for 7.0.6
Old time: 0.0025150775909424 New time: 0.00012803077697754 94.909470091952% faster All values passed!
Output for 7.0.5
Old time: 0.0022549629211426 New time: 0.00011396408081055 94.946077394798% faster All values passed!
Output for 7.0.4
Old time: 0.0017600059509277 New time: 8.702278137207E-5 95.055540503928% faster All values passed!
Output for 7.0.3
Old time: 0.0018460750579834 New time: 9.0837478637695E-5 95.079426578845% faster All values passed!
Output for 7.0.2
Old time: 0.0022242069244385 New time: 9.8943710327148E-5 95.551506056383% faster All values passed!
Output for 7.0.1
Old time: 0.0023939609527588 New time: 0.0001070499420166 95.528333831292% faster All values passed!
Output for 7.0.0
Old time: 0.0025031566619873 New time: 0.00011301040649414 95.485284312792% faster All values passed!
Output for hhvm-3.12.0
Old time: 0.0058228969573975 New time: 0.00032210350036621 94.468329034107% faster All values passed!
Output for hhvm-3.10.0
Old time: 0.0072231292724609 New time: 0.00039315223693848 94.557037232638% faster All values passed!
Output for 5.6.28
Old time: 0.01975417137146 New time: 0.0005490779876709 97.220445356345% faster All values passed!
Output for 5.6.21
Old time: 0.017388820648193 New time: 0.00053501129150391 96.923245674171% faster All values passed!
Output for 5.6.20
Old time: 0.017437934875488 New time: 0.00054121017456055 96.896363139185% faster All values passed!
Output for 5.6.19
Old time: 0.017646074295044 New time: 0.0004429817199707 97.4896302001% faster All values passed!
Output for 5.6.18
Old time: 0.016315937042236 New time: 0.00043606758117676 97.327351901102% faster All values passed!
Output for 5.6.17
Old time: 0.016010999679565 New time: 0.00047802925109863 97.014369741642% faster All values passed!
Output for 5.6.16
Old time: 0.017388105392456 New time: 0.0005180835723877 97.020471404478% faster All values passed!
Output for 5.6.15
Old time: 0.017788171768188 New time: 0.00054788589477539 96.919942634267% faster All values passed!
Output for 5.6.14
Old time: 0.014752864837646 New time: 0.00043392181396484 97.058728465691% faster All values passed!
Output for 5.6.13
Old time: 0.015206813812256 New time: 0.00046491622924805 96.942711109717% faster All values passed!
Output for 5.6.12
Old time: 0.017656087875366 New time: 0.00054097175598145 96.936061035717% faster All values passed!
Output for 5.6.11
Old time: 0.011527061462402 New time: 0.0003509521484375 96.955406635228% faster All values passed!
Output for 5.6.10
Old time: 0.016118049621582 New time: 0.00047492980957031 97.053428791196% faster All values passed!
Output for 5.6.9
Old time: 0.017035007476807 New time: 0.00052285194396973 96.930720783765% faster All values passed!
Output for 5.6.8
Old time: 0.011213064193726 New time: 0.0003509521484375 96.870149475878% faster All values passed!
Output for 5.5.35
Old time: 0.01508903503418 New time: 0.00049686431884766 96.707116672987% faster All values passed!
Output for 5.5.34
Old time: 0.016849994659424 New time: 0.00047397613525391 97.18708435917% faster All values passed!
Output for 5.5.33
Old time: 0.011917114257812 New time: 0.00032782554626465 97.24911971831% faster All values passed!
Output for 5.5.32
Old time: 0.016198873519897 New time: 0.00047492980957031 97.068130638918% faster All values passed!
Output for 5.5.31
Old time: 0.014520168304443 New time: 0.00045919418334961 96.837542281042% faster All values passed!
Output for 5.5.30
Old time: 0.013203859329224 New time: 0.00043201446533203 96.728119752262% faster All values passed!
Output for 5.5.29
Old time: 0.013856887817383 New time: 0.00041913986206055 96.975223675155% faster All values passed!
Output for 5.5.28
Old time: 0.018151998519897 New time: 0.00054001808166504 97.025021343666% faster All values passed!
Output for 5.5.27
Old time: 0.011388063430786 New time: 0.00034809112548828 96.943368575317% faster All values passed!
Output for 5.5.26
Old time: 0.018746137619019 New time: 0.0005490779876709 97.070980706373% faster All values passed!
Output for 5.5.25
Old time: 0.021444082260132 New time: 0.00064206123352051 97.00588150273% faster All values passed!
Output for 5.5.24
Old time: 0.016580104827881 New time: 0.0004889965057373 97.050703172184% faster All values passed!
Output for 5.4.45
Old time: 0.0191650390625 New time: 0.00060796737670898 96.827726910828% faster All values passed!
Output for 5.4.44
Old time: 0.033036947250366 New time: 0.0020620822906494 93.758254129771% faster All values passed!
Output for 5.4.43
Old time: 0.017307043075562 New time: 0.00063204765319824 96.348032125195% faster All values passed!
Output for 5.4.42
Old time: 0.017166137695312 New time: 0.00046896934509277 97.268055555556% faster All values passed!
Output for 5.4.41
Old time: 0.018815040588379 New time: 0.00055789947509766 97.034821835876% faster All values passed!
Output for 5.4.40
Old time: 0.019722938537598 New time: 0.00056195259094238 97.150766403946% faster All values passed!
Output for 5.4.39
Old time: 0.017804145812988 New time: 0.0004878044128418 97.260163908083% faster All values passed!
Output for 5.4.38
Old time: 0.018110990524292 New time: 0.00045394897460938 97.49351658044% faster All values passed!
Output for 5.4.37
Old time: 0.022364854812622 New time: 0.00070285797119141 96.857310377912% faster All values passed!
Output for 5.4.36
Old time: 0.014419078826904 New time: 0.00041890144348145 97.094811336354% faster All values passed!
Output for 5.4.35
Old time: 0.013319969177246 New time: 0.00037002563476562 97.222023340732% faster All values passed!
Output for 5.4.34
Old time: 0.017527103424072 New time: 0.00047111511230469 97.312076611258% faster All values passed!
Output for 5.4.32
Old time: 0.013478994369507 New time: 0.00044393539428711 96.706465021668% faster All values passed!
Output for 5.4.31
Old time: 0.013190984725952 New time: 0.0003960132598877 96.997849151409% faster All values passed!
Output for 5.4.30
Old time: 0.019309043884277 New time: 0.00038409233093262 98.010816417247% faster All values passed!
Output for 5.4.29
Old time: 0.013891935348511 New time: 0.00042915344238281 96.910772821666% faster All values passed!
Output for 5.4.28
Old time: 0.01366400718689 New time: 0.00043606758117676 96.808640575108% faster All values passed!
Output for 5.4.27
Old time: 0.01382303237915 New time: 0.00039005279541016 97.178240022077% faster All values passed!
Output for 5.4.26
Old time: 0.013797998428345 New time: 0.0004420280456543 96.796433570059% faster All values passed!
Output for 5.4.25
Old time: 0.014282941818237 New time: 0.00036716461181641 97.429348824011% faster All values passed!
Output for 5.4.24
Old time: 0.014528036117554 New time: 0.00041604042053223 97.136292770985% faster All values passed!
Output for 5.4.23
Old time: 0.013460874557495 New time: 0.00037789344787598 97.192653075683% faster All values passed!
Output for 5.4.22
Old time: 0.013051986694336 New time: 0.00040102005004883 96.927517170832% faster All values passed!
Output for 5.4.21
Old time: 0.013547897338867 New time: 0.00043106079101562 96.818245811629% faster All values passed!
Output for 5.4.20
Old time: 0.013032913208008 New time: 0.00039887428283691 96.93948485292% faster All values passed!
Output for 5.4.19
Old time: 0.013700008392334 New time: 0.00041604042053223 96.963210469528% faster All values passed!
Output for 5.4.18
Old time: 0.014178037643433 New time: 0.00046801567077637 96.6990095347% faster All values passed!
Output for 5.4.17
Old time: 0.013669967651367 New time: 0.00043582916259766 96.811776196456% faster All values passed!
Output for 5.4.16
Old time: 0.013457059860229 New time: 0.00045299530029297 96.63377212409% faster All values passed!
Output for 5.4.15
Old time: 0.01287317276001 New time: 0.0003809928894043 97.040411897618% faster All values passed!
Output for 5.4.14
Old time: 0.013034105300903 New time: 0.00040197372436523 96.915985293311% faster All values passed!
Output for 5.4.13
Old time: 0.013873100280762 New time: 0.00042915344238281 96.906578676016% faster All values passed!
Output for 5.4.12
Old time: 0.013659000396729 New time: 0.00042104721069336 96.917437598185% faster All values passed!
Output for 5.4.11
Old time: 0.014660835266113 New time: 0.00041317939758301 97.18174721915% faster All values passed!
Output for 5.4.10
Old time: 0.014001846313477 New time: 0.00041413307189941 97.042296689824% faster All values passed!
Output for 5.4.9
Old time: 0.014699935913086 New time: 0.00046110153198242 96.86324120929% faster All values passed!
Output for 5.4.8
Old time: 0.013468980789185 New time: 0.00037407875061035 97.222664754925% faster All values passed!
Output for 5.4.7
Old time: 0.013397932052612 New time: 0.00040006637573242 97.013969214343% faster All values passed!
Output for 5.4.6
Old time: 0.013382911682129 New time: 0.00040793418884277 96.95182783439% faster All values passed!
Output for 5.4.5
Old time: 0.013173818588257 New time: 0.00034999847412109 97.343226857298% faster All values passed!
Output for 5.4.4
Old time: 0.014056921005249 New time: 0.0003659725189209 97.396495870011% faster All values passed!
Output for 5.4.3
Old time: 0.014195203781128 New time: 0.00041818618774414 97.054031811082% faster All values passed!
Output for 5.4.2
Old time: 0.013745784759521 New time: 0.00042819976806641 96.884864883616% faster All values passed!
Output for 5.4.1
Old time: 0.013746976852417 New time: 0.00035905838012695 97.388092058482% faster All values passed!
Output for 5.4.0
Old time: 0.013954162597656 New time: 0.00036907196044922 97.355112083106% faster All values passed!
Output for 5.3.29
Old time: 0.013936996459961 New time: 0.00041699409484863 97.008006021623% faster All values passed!
Output for 5.3.28
Old time: 0.013354063034058 New time: 0.00047588348388672 96.436414275767% faster All values passed!
Output for 5.3.27
Old time: 0.013273954391479 New time: 0.00045609474182129 96.563987427032% faster All values passed!
Output for 5.3.26
Old time: 0.013531923294067 New time: 0.00041699409484863 96.918441778107% faster All values passed!
Output for 5.3.25
Old time: 0.013654947280884 New time: 0.00046682357788086 96.58128612086% faster All values passed!
Output for 5.3.24
Old time: 0.013169050216675 New time: 0.00043797492980957 96.674210192813% faster All values passed!
Output for 5.3.23
Old time: 0.013814926147461 New time: 0.00049996376037598 96.38098854066% faster All values passed!
Output for 5.3.22
Old time: 0.013503789901733 New time: 0.00042510032653809 96.851992443369% faster All values passed!
Output for 5.3.21
Old time: 0.013256788253784 New time: 0.00043702125549316 96.703415283348% faster All values passed!
Output for 5.3.20
Old time: 0.013211965560913 New time: 0.00044798851013184 96.609221329965% faster All values passed!
Output for 5.3.19
Old time: 0.013533115386963 New time: 0.00044083595275879 96.742539022586% faster All values passed!
Output for 5.3.18
Old time: 0.024911880493164 New time: 0.00086593627929688 96.524002756297% faster All values passed!
Output for 5.3.17
Old time: 0.01338005065918 New time: 0.00046110153198242 96.553813257306% faster All values passed!
Output for 5.3.16
Old time: 0.013329982757568 New time: 0.00051212310791016 96.158111250224% faster All values passed!
Output for 5.3.15
Old time: 0.013418912887573 New time: 0.00049877166748047 96.283069488123% faster All values passed!
Output for 5.3.14
Old time: 0.013592958450317 New time: 0.00048184394836426 96.455194429341% faster All values passed!
Output for 5.3.13
Old time: 0.014441013336182 New time: 0.00044894218444824 96.891200264157% faster All values passed!
Output for 5.3.12
Old time: 0.013880014419556 New time: 0.0004889965057373 96.476974079736% faster All values passed!
Output for 5.3.11
Old time: 0.017646789550781 New time: 0.00086092948913574 95.121325118893% faster All values passed!
Output for 5.3.10
Old time: 0.013710021972656 New time: 0.00044918060302734 96.723706176962% faster All values passed!
Output for 5.3.9
Old time: 0.013839960098267 New time: 0.00046181678771973 96.663163878792% faster All values passed!
Output for 5.3.8
Old time: 0.013932943344116 New time: 0.00043797492980957 96.856551275689% faster All values passed!
Output for 5.3.7
Old time: 0.013908863067627 New time: 0.00051403045654297 96.304295656347% faster All values passed!
Output for 5.3.6
Old time: 0.014297962188721 New time: 0.00051593780517578 96.391529097882% faster All values passed!
Output for 5.3.5
Old time: 0.013475894927979 New time: 0.00044894218444824 96.668553837444% faster All values passed!
Output for 5.3.4
Old time: 0.013659000396729 New time: 0.00048613548278809 96.44091464479% faster All values passed!
Output for 5.3.3
Old time: 0.014731168746948 New time: 0.00048398971557617 96.714519235438% faster All values passed!
Output for 5.3.2
Old time: 0.014984846115112 New time: 0.00045394897460938 96.970613037183% faster All values passed!
Output for 5.3.1
Old time: 0.016309022903442 New time: 0.00047898292541504 97.063080184197% faster All values passed!
Output for 5.3.0
Old time: 0.02156400680542 New time: 0.00056910514831543 97.36085620149% faster All values passed!
Output for 5.2.17
Old time: 0.015768051147461 New time: 0.00080204010009766 94.913511551954% faster All values passed!
Output for 5.2.16
Old time: 0.015990972518921 New time: 0.00069308280944824 95.665787001834% faster All values passed!
Output for 5.2.15
Old time: 0.016405820846558 New time: 0.00068378448486328 95.832061734316% faster All values passed!
Output for 5.2.14
Old time: 0.016636848449707 New time: 0.00075984001159668 95.432788764689% faster All values passed!
Output for 5.2.13
Old time: 0.016031980514526 New time: 0.00066208839416504 95.870202102821% faster All values passed!
Output for 5.2.12
Old time: 0.016702890396118 New time: 0.00065112113952637 96.101745721341% faster All values passed!
Output for 5.2.11
Old time: 0.016407012939453 New time: 0.00069499015808105 95.764066496164% faster All values passed!
Output for 5.2.10
Old time: 0.016427993774414 New time: 0.00070595741271973 95.702716823406% faster All values passed!
Output for 5.2.9
Old time: 0.023629903793335 New time: 0.001201868057251 94.913783535632% faster All values passed!
Output for 5.2.8
Old time: 0.016986131668091 New time: 0.000701904296875 95.867780195101% faster All values passed!
Output for 5.2.7
Old time: 0.01672101020813 New time: 0.00074601173400879 95.538476893902% faster All values passed!
Output for 5.2.6
Old time: 0.016043901443481 New time: 0.00067710876464844 95.779650186498% faster All values passed!
Output for 5.2.5
Old time: 0.016909122467041 New time: 0.00076198577880859 95.493640901272% faster All values passed!
Output for 5.2.4
Old time: 0.016974210739136 New time: 0.00067305564880371 96.034833906875% faster All values passed!
Output for 5.2.3
Old time: 0.016270160675049 New time: 0.00065302848815918 95.986342721491% faster All values passed!
Output for 5.2.2
Old time: 0.01631498336792 New time: 0.00072407722473145 95.561888060792% faster All values passed!
Output for 5.2.1
Old time: 0.017477989196777 New time: 0.00064682960510254 96.299176079009% faster All values passed!
Output for 5.2.0
Old time: 0.015927076339722 New time: 0.00067806243896484 95.742706165891% faster All values passed!
Output for 5.1.6
Old time: 0.01612401008606 New time: 0.00073695182800293 95.429475520856% faster All values passed!
Output for 5.1.5
Old time: 0.016367197036743 New time: 0.00069117546081543 95.777068857522% faster All values passed!
Output for 5.1.4
Old time: 0.015759944915771 New time: 0.00075387954711914 95.216483616229% faster All values passed!
Output for 5.1.3
Old time: 0.015634059906006 New time: 0.00072312355041504 95.374691188581% faster All values passed!
Output for 5.1.2
Old time: 0.016420125961304 New time: 0.00071406364440918 95.651290093073% faster All values passed!
Output for 5.1.1
Old time: 0.015659093856812 New time: 0.00069189071655273 95.581540522846% faster All values passed!
Output for 5.1.0
Old time: 0.016392946243286 New time: 0.00072097778320312 95.601902351761% faster All values passed!
Output for 5.0.5
Old time: 0.038635969161987 New time: 0.001427173614502 96.306101165682% faster All values passed!
Output for 5.0.4
Old time: 0.03746509552002 New time: 0.0014019012451172 96.258113783887% faster All values passed!
Output for 5.0.3
Old time: 0.03839111328125 New time: 0.0014190673828125 96.303656597774% faster All values passed!
Output for 5.0.2
Old time: 0.03642201423645 New time: 0.0014040470123291 96.145059404968% faster All values passed!
Output for 5.0.1
Old time: 0.036755800247192 New time: 0.0012938976287842 96.479745726981% faster All values passed!
Output for 5.0.0
Old time: 0.036926031112671 New time: 0.0015139579772949 95.900025180948% faster All values passed!
Output for 4.4.9
Warning: Wrong parameter count for range() in /in/8ohIA on line 29 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 29 Old time: 8.9999999999923E-05 Warning: Wrong parameter count for range() in /in/8ohIA on line 35 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 35 New time: 4.3999999999933E-05 51.111111111144% faster Warning: Wrong parameter count for range() in /in/8ohIA on line 43 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 43 All values passed!
Output for 4.4.8
Warning: Wrong parameter count for range() in /in/8ohIA on line 29 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 29 Old time: 6.600000000001E-05 Warning: Wrong parameter count for range() in /in/8ohIA on line 35 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 35 New time: 2.4999999999942E-05 62.121212121306% faster Warning: Wrong parameter count for range() in /in/8ohIA on line 43 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 43 All values passed!
Output for 4.4.7
Warning: Wrong parameter count for range() in /in/8ohIA on line 29 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 29 Old time: 7.5999999999965E-05 Warning: Wrong parameter count for range() in /in/8ohIA on line 35 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 35 New time: 3.6999999999954E-05 51.315789473723% faster Warning: Wrong parameter count for range() in /in/8ohIA on line 43 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 43 All values passed!
Output for 4.4.6
Warning: Wrong parameter count for range() in /in/8ohIA on line 29 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 29 Old time: 7.9999999999969E-05 Warning: Wrong parameter count for range() in /in/8ohIA on line 35 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 35 New time: 3.6000000000036E-05 54.999999999938% faster Warning: Wrong parameter count for range() in /in/8ohIA on line 43 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 43 All values passed!
Output for 4.4.5
Warning: Wrong parameter count for range() in /in/8ohIA on line 29 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 29 Old time: 7.0999999999932E-05 Warning: Wrong parameter count for range() in /in/8ohIA on line 35 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 35 New time: 2.6999999999999E-05 61.97183098588% faster Warning: Wrong parameter count for range() in /in/8ohIA on line 43 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 43 All values passed!
Output for 4.4.4
Warning: Wrong parameter count for range() in /in/8ohIA on line 29 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 29 Old time: 7.1000000000043E-05 Warning: Wrong parameter count for range() in /in/8ohIA on line 35 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 35 New time: 2.5000000000053E-05 64.788732394313% faster Warning: Wrong parameter count for range() in /in/8ohIA on line 43 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 43 All values passed!
Output for 4.4.3
Warning: Wrong parameter count for range() in /in/8ohIA on line 29 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 29 Old time: 7.0000000000014E-05 Warning: Wrong parameter count for range() in /in/8ohIA on line 35 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 35 New time: 6.4999999999982E-05 7.1428571429025% faster Warning: Wrong parameter count for range() in /in/8ohIA on line 43 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 43 All values passed!
Output for 4.4.2
Warning: Wrong parameter count for range() in /in/8ohIA on line 29 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 29 Old time: 8.0999999999998E-05 Warning: Wrong parameter count for range() in /in/8ohIA on line 35 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 35 New time: 2.6000000000082E-05 67.9012345678% faster Warning: Wrong parameter count for range() in /in/8ohIA on line 43 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 43 All values passed!
Output for 4.4.1
Warning: Wrong parameter count for range() in /in/8ohIA on line 29 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 29 Old time: 9.0000000000034E-05 Warning: Wrong parameter count for range() in /in/8ohIA on line 35 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 35 New time: 2.599999999997E-05 71.111111111155% faster Warning: Wrong parameter count for range() in /in/8ohIA on line 43 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 43 All values passed!
Output for 4.4.0
Warning: Wrong parameter count for range() in /in/8ohIA on line 29 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 29 Old time: 7.4999999999936E-05 Warning: Wrong parameter count for range() in /in/8ohIA on line 35 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 35 New time: 2.6999999999999E-05 63.99999999997% faster Warning: Wrong parameter count for range() in /in/8ohIA on line 43 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 43 All values passed!
Output for 4.3.11
Warning: Wrong parameter count for range() in /in/8ohIA on line 29 Old time: 5.8000000000002E-05 Warning: Wrong parameter count for range() in /in/8ohIA on line 35 New time: 1.0999999999983E-05 81.03448275865% faster Warning: Wrong parameter count for range() in /in/8ohIA on line 43 All values passed!
Output for 4.3.10
Warning: Wrong parameter count for range() in /in/8ohIA on line 29 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 29 Old time: 4.000000000004E-05 Warning: Wrong parameter count for range() in /in/8ohIA on line 35 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 35 New time: 9.0000000000368E-06 77.499999999931% faster Warning: Wrong parameter count for range() in /in/8ohIA on line 43 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 43 All values passed!
Output for 4.3.9
Warning: Wrong parameter count for range() in /in/8ohIA on line 29 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 29 Old time: 8.9000000000006E-05 Warning: Wrong parameter count for range() in /in/8ohIA on line 35 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 35 New time: 2.9999999999974E-05 66.292134831492% faster Warning: Wrong parameter count for range() in /in/8ohIA on line 43 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 43 All values passed!
Output for 4.3.8
Warning: Wrong parameter count for range() in /in/8ohIA on line 29 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 29 Old time: 8.600000000003E-05 Warning: Wrong parameter count for range() in /in/8ohIA on line 35 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 35 New time: 2.6000000000082E-05 69.767441860381% faster Warning: Wrong parameter count for range() in /in/8ohIA on line 43 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 43 All values passed!
Output for 4.3.7
Warning: Wrong parameter count for range() in /in/8ohIA on line 29 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 29 Old time: 9.300000000001E-05 Warning: Wrong parameter count for range() in /in/8ohIA on line 35 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 35 New time: 2.7999999999917E-05 69.892473118372% faster Warning: Wrong parameter count for range() in /in/8ohIA on line 43 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 43 All values passed!
Output for 4.3.6
Warning: Wrong parameter count for range() in /in/8ohIA on line 29 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 29 Old time: 9.0999999999952E-05 Warning: Wrong parameter count for range() in /in/8ohIA on line 35 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 35 New time: 2.9999999999974E-05 67.032967032978% faster Warning: Wrong parameter count for range() in /in/8ohIA on line 43 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 43 All values passed!
Output for 4.3.5
Warning: Wrong parameter count for range() in /in/8ohIA on line 29 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 29 Old time: 8E-05 Warning: Wrong parameter count for range() in /in/8ohIA on line 35 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 35 New time: 3.0000000000001E-05 62.499999999999% faster Warning: Wrong parameter count for range() in /in/8ohIA on line 43 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 43 All values passed!
Output for 4.3.4
Warning: Wrong parameter count for range() in /in/8ohIA on line 29 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 29 Old time: 8.4000000000001E-05 Warning: Wrong parameter count for range() in /in/8ohIA on line 35 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 35 New time: 2.8E-05 66.666666666667% faster Warning: Wrong parameter count for range() in /in/8ohIA on line 43 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 43 All values passed!
Output for 4.3.3
Warning: Wrong parameter count for range() in /in/8ohIA on line 29 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 29 Old time: 4.8000000000006E-05 Warning: Wrong parameter count for range() in /in/8ohIA on line 35 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 35 New time: 4.9999999999981E-06 89.583333333339% faster Warning: Wrong parameter count for range() in /in/8ohIA on line 43 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 43 All values passed!
Output for 4.3.2
Warning: Wrong parameter count for range() in /in/8ohIA on line 29 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 29 Old time: 0.000114 Warning: Wrong parameter count for range() in /in/8ohIA on line 35 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 35 New time: 0.00010599999999999 7.017543859656% faster Warning: Wrong parameter count for range() in /in/8ohIA on line 43 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 43 All values passed!
Output for 4.3.1
Warning: Wrong parameter count for range() in /in/8ohIA on line 29 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 29 Old time: 7.8000000000009E-05 Warning: Wrong parameter count for range() in /in/8ohIA on line 35 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 35 New time: 2.8E-05 64.102564102568% faster Warning: Wrong parameter count for range() in /in/8ohIA on line 43 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 43 All values passed!
Output for 4.3.0
Warning: Wrong parameter count for range() in /in/8ohIA on line 29 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 29 Old time: 0.000223 Warning: Wrong parameter count for range() in /in/8ohIA on line 35 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 35 New time: 0.00018100000000001 18.834080717483% faster Warning: Wrong parameter count for range() in /in/8ohIA on line 43 Warning: Invalid argument supplied for foreach() in /in/8ohIA on line 43 All values passed!