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*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 lKdPn
Output for 7.1.0
Old time: 0.0029079914093018 New time: 0.00017094612121582 1701.1157601116% faster All values passed!
Output for 7.0.14
Old time: 0.0030040740966797 New time: 0.00016498565673828 1820.8092485549% faster All values passed!
Output for 7.0.6
Old time: 0.0024318695068359 New time: 0.00011706352233887 2077.3930753564% faster All values passed!
Output for 7.0.5
Old time: 0.0016210079193115 New time: 8.1062316894531E-5 1999.7058823529% faster All values passed!
Output for 7.0.4
Old time: 0.0020349025726318 New time: 7.6055526733398E-5 2675.5485893417% faster All values passed!
Output for 7.0.3
Old time: 0.0026900768280029 New time: 0.00018715858459473 1437.3248407643% faster All values passed!
Output for 7.0.2
Old time: 0.0018699169158936 New time: 0.00011014938354492 1697.619047619% faster All values passed!
Output for 7.0.1
Old time: 0.0026490688323975 New time: 0.00011992454528809 2208.9463220676% faster All values passed!
Output for 7.0.0
Old time: 0.0028128623962402 New time: 0.00013208389282227 2129.6028880866% faster All values passed!
Output for 5.6.28
Old time: 0.01990795135498 New time: 0.00053715705871582 3706.1695517088% faster All values passed!
Output for 5.6.21
Old time: 0.017502069473267 New time: 0.00055480003356934 3154.66265578% faster All values passed!
Output for 5.6.20
Old time: 0.014101028442383 New time: 0.00047898292541504 2943.9522150324% faster All values passed!
Output for 5.6.19
Old time: 0.015990018844604 New time: 0.00048279762268066 3311.950617284% faster All values passed!
Output for 5.6.18
Old time: 0.014111995697021 New time: 0.00037002563476562 3813.7886597938% faster All values passed!
Output for 5.6.17
Old time: 0.011120080947876 New time: 0.00035405158996582 3140.8080808081% faster All values passed!
Output for 5.6.16
Old time: 0.017086029052734 New time: 0.0005340576171875 3199.2857142857% faster All values passed!
Output for 5.6.15
Old time: 0.017876148223877 New time: 0.00055289268493652 3233.2039672273% faster All values passed!
Output for 5.6.14
Old time: 0.017282962799072 New time: 0.00050902366638184 3395.3161592506% faster All values passed!
Output for 5.6.13
Old time: 0.017345905303955 New time: 0.00050592422485352 3428.5579641847% faster All values passed!
Output for 5.6.12
Old time: 0.014851093292236 New time: 0.00044894218444824 3308.019118428% faster All values passed!
Output for 5.6.11
Old time: 0.013980150222778 New time: 0.0004279613494873 3266.6852367688% faster All values passed!
Output for 5.6.10
Old time: 0.016743898391724 New time: 0.00047516822814941 3523.7832413447% faster All values passed!
Output for 5.6.9
Old time: 0.016714096069336 New time: 0.00045585632324219 3666.5271966527% faster All values passed!
Output for 5.6.8
Old time: 0.017873048782349 New time: 0.00054001808166504 3309.7130242826% faster All values passed!
Output for 5.5.35
Old time: 0.014443874359131 New time: 0.00044083595275879 3276.4737696052% faster All values passed!
Output for 5.5.34
Old time: 0.011445999145508 New time: 0.00035905838012695 3187.7822045153% faster All values passed!
Output for 5.5.33
Old time: 0.011873006820679 New time: 0.00030183792114258 3933.570300158% faster All values passed!
Output for 5.5.32
Old time: 0.011780977249146 New time: 0.0003659725189209 3219.0879478827% faster All values passed!
Output for 5.5.31
Old time: 0.011821031570435 New time: 0.00036382675170898 3249.0825688073% faster All values passed!
Output for 5.5.30
Old time: 0.011795997619629 New time: 0.00036501884460449 3231.6133246244% faster All values passed!
Output for 5.5.29
Old time: 0.018080949783325 New time: 0.00052595138549805 3437.7606527652% faster All values passed!
Output for 5.5.28
Old time: 0.017273902893066 New time: 0.00055885314941406 3090.9556313993% faster All values passed!
Output for 5.5.27
Old time: 0.012321949005127 New time: 0.00037407875061035 3293.9451880178% faster All values passed!
Output for 5.5.26
Old time: 0.014441967010498 New time: 0.00044393539428711 3253.1686358754% faster All values passed!
Output for 5.5.25
Old time: 0.018716096878052 New time: 0.00052595138549805 3558.5222121487% faster All values passed!
Output for 5.5.24
Old time: 0.017838954925537 New time: 0.00053501129150391 3334.3137254902% faster All values passed!
Output for 5.4.45
Old time: 0.014963865280151 New time: 0.00036787986755371 4067.5955930006% faster All values passed!
Output for 5.4.44
Old time: 0.012816905975342 New time: 0.0003199577331543 4005.8122205663% faster All values passed!
Output for 5.4.43
Old time: 0.012839078903198 New time: 0.00038886070251465 3301.7167381974% faster All values passed!
Output for 5.4.42
Old time: 0.019070863723755 New time: 0.00069499015808105 2744.0480274443% faster All values passed!
Output for 5.4.41
Old time: 0.018078088760376 New time: 0.00047111511230469 3837.2975708502% faster All values passed!
Output for 5.4.40
Old time: 0.032206058502197 New time: 0.00056791305541992 5670.9487825357% faster All values passed!
Output for 5.4.39
Old time: 0.020279884338379 New time: 0.00071310997009277 2843.8649281177% faster All values passed!
Output for 5.4.38
Old time: 0.017868995666504 New time: 0.00054478645324707 3280% faster All values passed!
Output for 5.4.37
Old time: 0.013118028640747 New time: 0.0003821849822998 3432.3767935122% faster All values passed!
Output for 5.4.36
Old time: 0.012858867645264 New time: 0.0004119873046875 3121.1805555556% faster All values passed!
Output for 5.4.35
Old time: 0.01324200630188 New time: 0.00042104721069336 3145.0169875425% faster All values passed!
Output for 5.4.34
Old time: 0.013473033905029 New time: 0.00042891502380371 3141.1895497499% faster All values passed!
Output for 5.4.32
Old time: 0.013231039047241 New time: 0.00036001205444336 3675.1655629139% faster All values passed!
Output for 5.4.31
Old time: 0.013407945632935 New time: 0.00037097930908203 3614.2030848329% faster All values passed!
Output for 5.4.30
Old time: 0.025085210800171 New time: 0.00045990943908691 5454.3805080353% faster All values passed!
Output for 5.4.29
Old time: 0.012957811355591 New time: 0.00038504600524902 3365.2631578947% faster All values passed!
Output for 5.4.28
Old time: 0.013668060302734 New time: 0.00042891502380371 3186.6592551417% faster All values passed!
Output for 5.4.27
Old time: 0.013343095779419 New time: 0.00032997131347656 4043.7138728324% faster All values passed!
Output for 5.4.26
Old time: 0.013357877731323 New time: 0.00032806396484375 4071.7296511628% faster All values passed!
Output for 5.4.25
Old time: 0.015308141708374 New time: 0.00037002563476562 4137.0489690722% faster All values passed!
Output for 5.4.24
Old time: 0.014500856399536 New time: 0.00040817260742188 3552.6285046729% faster All values passed!
Output for 5.4.23
Old time: 0.01304292678833 New time: 0.00039410591125488 3309.4978826376% faster All values passed!
Output for 5.4.22
Old time: 0.013386011123657 New time: 0.00034689903259277 3858.7628865979% faster All values passed!
Output for 5.4.21
Old time: 0.013422966003418 New time: 0.0003809928894043 3523.153942428% faster All values passed!
Output for 5.4.20
Old time: 0.013720989227295 New time: 0.00036287307739258 3781.208935611% faster All values passed!
Output for 5.4.19
Old time: 0.013208866119385 New time: 0.00036191940307617 3649.6706192358% faster All values passed!
Output for 5.4.18
Old time: 0.013246059417725 New time: 0.00035905838012695 3689.1102257636% faster All values passed!
Output for 5.4.17
Old time: 0.013307809829712 New time: 0.00040006637573242 3326.400476758% faster All values passed!
Output for 5.4.16
Old time: 0.013611078262329 New time: 0.00040316581726074 3376.0496747487% faster All values passed!
Output for 5.4.15
Old time: 0.012803077697754 New time: 0.00036096572875977 3546.8956406869% faster All values passed!
Output for 5.4.14
Old time: 0.013274908065796 New time: 0.0004270076751709 3108.8218872138% faster All values passed!
Output for 5.4.13
Old time: 0.013638019561768 New time: 0.00037407875061035 3645.7616316125% faster All values passed!
Output for 5.4.12
Old time: 0.013726949691772 New time: 0.00040197372436523 3414.8873072361% faster All values passed!
Output for 5.4.11
Old time: 0.013737916946411 New time: 0.00040602684020996 3383.4997064005% faster All values passed!
Output for 5.4.10
Old time: 0.013889074325562 New time: 0.00036406517028809 3814.9967256058% faster All values passed!
Output for 5.4.9
Old time: 0.013863086700439 New time: 0.00033998489379883 4077.5596072931% faster All values passed!
Output for 5.4.8
Old time: 0.013127088546753 New time: 0.00037980079650879 3456.3088512241% faster All values passed!
Output for 5.4.7
Old time: 0.013179063796997 New time: 0.00038599967956543 3414.2680667078% faster All values passed!
Output for 5.4.6
Old time: 0.013151884078979 New time: 0.00039505958557129 3329.0887145444% faster All values passed!
Output for 5.4.5
Old time: 0.013725996017456 New time: 0.00037097930908203 3699.9357326478% faster All values passed!
Output for 5.4.4
Old time: 0.013396978378296 New time: 0.00036787986755371 3641.6720674012% faster All values passed!
Output for 5.4.3
Old time: 0.014126062393188 New time: 0.00038409233093262 3677.7777777778% faster All values passed!
Output for 5.4.2
Old time: 0.01355504989624 New time: 0.00040292739868164 3364.1420118343% faster All values passed!
Output for 5.4.1
Old time: 0.013874053955078 New time: 0.00035905838012695 3864.01062417% faster All values passed!
Output for 5.4.0
Old time: 0.013772964477539 New time: 0.00046205520629883 2980.8049535604% faster All values passed!
Output for 5.3.29
Old time: 0.013362884521484 New time: 0.00046801567077637 2855.2215995925% faster All values passed!
Output for 5.3.28
Old time: 0.013400077819824 New time: 0.00044894218444824 2984.8114710568% faster All values passed!
Output for 5.3.27
Old time: 0.012937068939209 New time: 0.00043392181396484 2981.4285714286% faster All values passed!
Output for 5.3.26
Old time: 0.013333082199097 New time: 0.00041794776916504 3190.1312036509% faster All values passed!
Output for 5.3.25
Old time: 0.01281213760376 New time: 0.00043201446533203 2965.6732891832% faster All values passed!
Output for 5.3.24
Old time: 0.01317310333252 New time: 0.00047588348388672 2768.1362725451% faster All values passed!
Output for 5.3.23
Old time: 0.013164043426514 New time: 0.00042605400085449 3089.7593732513% faster All values passed!
Output for 5.3.22
Old time: 0.013221025466919 New time: 0.00046491622924805 2843.7435897436% faster All values passed!
Output for 5.3.21
Old time: 0.013792037963867 New time: 0.00047087669372559 2929.0126582278% faster All values passed!
Output for 5.3.20
Old time: 0.013805866241455 New time: 0.00053310394287109 2589.7137745975% faster All values passed!
Output for 5.3.19
Old time: 0.013838052749634 New time: 0.00050187110900879 2757.2921615202% faster All values passed!
Output for 5.3.18
Old time: 0.01326584815979 New time: 0.00050997734069824 2601.2622720898% faster All values passed!
Output for 5.3.17
Old time: 0.013434886932373 New time: 0.0007469654083252 1798.5955952761% faster All values passed!
Output for 5.3.16
Old time: 0.013770818710327 New time: 0.00049591064453125 2776.875% faster All values passed!
Output for 5.3.15
Old time: 0.013036012649536 New time: 0.00046300888061523 2815.4994850669% faster All values passed!
Output for 5.3.14
Old time: 0.013098955154419 New time: 0.00047492980957031 2758.0823293173% faster All values passed!
Output for 5.3.13
Old time: 0.01343297958374 New time: 0.00046396255493164 2895.2723535457% faster All values passed!
Output for 5.3.12
Old time: 0.013597011566162 New time: 0.00049805641174316 2730.0143609382% faster All values passed!
Output for 5.3.11
Old time: 0.013486862182617 New time: 0.00045585632324219 2958.5774058577% faster All values passed!
Output for 5.3.10
Old time: 0.013422012329102 New time: 0.00047397613525391 2831.7907444668% faster All values passed!
Output for 5.3.9
Old time: 0.013576030731201 New time: 0.00053501129150391 2537.5222816399% faster All values passed!
Output for 5.3.8
Old time: 0.013515949249268 New time: 0.0004889965057373 2764.0175524135% faster All values passed!
Output for 5.3.7
Old time: 0.012994050979614 New time: 0.00049185752868652 2641.8322830829% faster All values passed!
Output for 5.3.6
Old time: 0.0139000415802 New time: 0.00046205520629883 3008.3075335397% faster All values passed!
Output for 5.3.5
Old time: 0.013081789016724 New time: 0.00048708915710449 2685.7072931963% faster All values passed!
Output for 5.3.4
Old time: 0.014144897460938 New time: 0.00046300888061523 3054.9948506694% faster All values passed!
Output for 5.3.3
Old time: 0.014810085296631 New time: 0.00049495697021484 2992.1965317919% faster All values passed!
Output for 5.3.2
Old time: 0.014919996261597 New time: 0.0004570484161377 3264.4235785081% faster All values passed!
Output for 5.3.1
Old time: 0.013550996780396 New time: 0.00044107437133789 3072.2702702703% faster All values passed!
Output for 5.3.0
Old time: 0.013489961624146 New time: 0.00048208236694336 2798.2690405539% faster All values passed!
Output for 5.2.17
Old time: 0.015509128570557 New time: 0.00063586235046387 2439.0701162355% faster All values passed!
Output for 5.2.16
Old time: 0.015151023864746 New time: 0.00060606002807617 2499.9213217939% faster All values passed!
Output for 5.2.15
Old time: 0.016443014144897 New time: 0.00067901611328125 2421.5941011236% faster All values passed!
Output for 5.2.14
Old time: 0.015405178070068 New time: 0.00065302848815918 2359.0361445783% faster All values passed!
Output for 5.2.13
Old time: 0.015941858291626 New time: 0.00069808959960938 2283.6407103825% faster All values passed!
Output for 5.2.12
Old time: 0.01606011390686 New time: 0.00062108039855957 2585.8349328215% faster All values passed!
Output for 5.2.11
Old time: 0.016144037246704 New time: 0.00072216987609863 2235.4902608121% faster All values passed!
Output for 5.2.10
Old time: 0.015625 New time: 0.0006859302520752 2277.9283976364% faster All values passed!
Output for 5.2.9
Old time: 0.015600919723511 New time: 0.00074410438537598 2096.6036526754% faster All values passed!
Output for 5.2.8
Old time: 0.016378879547119 New time: 0.00073695182800293 2222.5169847946% faster All values passed!
Output for 5.2.7
Old time: 0.015808820724487 New time: 0.00071501731872559 2210.9703234411% faster All values passed!
Output for 5.2.6
Old time: 0.029222965240479 New time: 0.00066900253295898 4368.1397006415% faster All values passed!
Output for 5.2.5
Old time: 0.016660928726196 New time: 0.0007479190826416 2227.637870577% faster All values passed!
Output for 5.2.4
Old time: 0.015990972518921 New time: 0.00068807601928711 2324.0124740125% faster All values passed!
Output for 5.2.3
Old time: 0.016240835189819 New time: 0.00072693824768066 2234.1423417514% faster All values passed!
Output for 5.2.2
Old time: 0.015645027160645 New time: 0.00064206123352051 2436.6877088749% faster All values passed!
Output for 5.2.1
Old time: 0.017472982406616 New time: 0.00074291229248047 2351.9576379974% faster All values passed!
Output for 5.2.0
Old time: 0.01674485206604 New time: 0.00075888633728027 2206.5032987747% faster All values passed!
Output for 5.1.6
Old time: 0.015357971191406 New time: 0.00073599815368652 2086.6861030126% faster All values passed!
Output for 5.1.5
Old time: 0.016251087188721 New time: 0.00075697898864746 2146.8346456693% faster All values passed!
Output for 5.1.4
Old time: 0.01639199256897 New time: 0.00077486038208008 2115.4769230769% faster All values passed!
Output for 5.1.3
Old time: 0.016219139099121 New time: 0.00072503089904785 2237.0272936534% faster All values passed!
Output for 5.1.2
Old time: 0.016652822494507 New time: 0.00079989433288574 2081.8777943368% faster All values passed!
Output for 5.1.1
Old time: 0.019989967346191 New time: 0.00075602531433105 2644.087038789% faster All values passed!
Output for 5.1.0
Old time: 0.016391038894653 New time: 0.00076198577880859 2151.0951188986% faster All values passed!
Output for 5.0.5
Old time: 0.045039892196655 New time: 0.0014431476593018 3120.9482901041% faster All values passed!
Output for 5.0.4
Old time: 0.046614170074463 New time: 0.0014259815216064 3268.9182410968% faster All values passed!
Output for 5.0.3
Old time: 0.038692951202393 New time: 0.0013718605041504 2820.4727146333% faster All values passed!
Output for 5.0.2
Old time: 0.036823034286499 New time: 0.0013918876647949 2645.5464200069% faster All values passed!
Output for 5.0.1
Old time: 0.036688804626465 New time: 0.0013840198516846 2650.887166236% faster All values passed!
Output for 5.0.0
Old time: 0.036288022994995 New time: 0.0014669895172119 2473.6388753454% faster All values passed!
Output for 4.4.9
Warning: Wrong parameter count for range() in /in/V53Eu on line 29 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 29 Old time: 6.7999999999999E-05 Warning: Wrong parameter count for range() in /in/V53Eu on line 35 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 35 New time: 2.6999999999999E-05 251.85185185185% faster Warning: Wrong parameter count for range() in /in/V53Eu on line 43 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 43 All values passed!
Output for 4.4.8
Warning: Wrong parameter count for range() in /in/V53Eu on line 29 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 29 Old time: 6.2999999999994E-05 Warning: Wrong parameter count for range() in /in/V53Eu on line 35 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 35 New time: 2.6000000000012E-05 242.30769230755% faster Warning: Wrong parameter count for range() in /in/V53Eu on line 43 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 43 All values passed!
Output for 4.4.7
Warning: Wrong parameter count for range() in /in/V53Eu on line 29 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 29 Old time: 6.600000000001E-05 Warning: Wrong parameter count for range() in /in/V53Eu on line 35 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 35 New time: 2.3999999999996E-05 275.00000000009% faster Warning: Wrong parameter count for range() in /in/V53Eu on line 43 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 43 All values passed!
Output for 4.4.6
Warning: Wrong parameter count for range() in /in/V53Eu on line 29 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 29 Old time: 6.3000000000007E-05 Warning: Wrong parameter count for range() in /in/V53Eu on line 35 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 35 New time: 2.6999999999999E-05 233.33333333337% faster Warning: Wrong parameter count for range() in /in/V53Eu on line 43 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 43 All values passed!
Output for 4.4.5
Warning: Wrong parameter count for range() in /in/V53Eu on line 29 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 29 Old time: 7.0999999999988E-05 Warning: Wrong parameter count for range() in /in/V53Eu on line 35 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 35 New time: 3.800000000001E-05 186.84210526308% faster Warning: Wrong parameter count for range() in /in/V53Eu on line 43 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 43 All values passed!
Output for 4.4.4
Warning: Wrong parameter count for range() in /in/V53Eu on line 29 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 29 Old time: 9.8999999999988E-05 Warning: Wrong parameter count for range() in /in/V53Eu on line 35 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 35 New time: 4.2000000000014E-05 235.71428571418% faster Warning: Wrong parameter count for range() in /in/V53Eu on line 43 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 43 All values passed!
Output for 4.4.3
Warning: Wrong parameter count for range() in /in/V53Eu on line 29 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 29 Old time: 6.7999999999985E-05 Warning: Wrong parameter count for range() in /in/V53Eu on line 35 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 35 New time: 3.800000000001E-05 178.94736842096% faster Warning: Wrong parameter count for range() in /in/V53Eu on line 43 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 43 All values passed!
Output for 4.4.2
Warning: Wrong parameter count for range() in /in/V53Eu on line 29 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 29 Old time: 5.7000000000001E-05 Warning: Wrong parameter count for range() in /in/V53Eu on line 35 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 35 New time: 2.5999999999998E-05 219.23076923079% faster Warning: Wrong parameter count for range() in /in/V53Eu on line 43 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 43 All values passed!
Output for 4.4.1
Warning: Wrong parameter count for range() in /in/V53Eu on line 29 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 29 Old time: 8.1000000000025E-05 Warning: Wrong parameter count for range() in /in/V53Eu on line 35 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 35 New time: 5.9000000000003E-05 137.28813559326% faster Warning: Wrong parameter count for range() in /in/V53Eu on line 43 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 43 All values passed!
Output for 4.4.0
Warning: Wrong parameter count for range() in /in/V53Eu on line 29 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 29 Old time: 7.6999999999994E-05 Warning: Wrong parameter count for range() in /in/V53Eu on line 35 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 35 New time: 6.8000000000012E-05 113.23529411762% faster Warning: Wrong parameter count for range() in /in/V53Eu on line 43 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 43 All values passed!
Output for 4.3.11
Warning: Wrong parameter count for range() in /in/V53Eu on line 29 Old time: 6.0000000000004E-05 Warning: Wrong parameter count for range() in /in/V53Eu on line 35 New time: 1.2000000000012E-05 499.99999999954% faster Warning: Wrong parameter count for range() in /in/V53Eu on line 43 All values passed!
Output for 4.3.10
Warning: Wrong parameter count for range() in /in/V53Eu on line 29 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 29 Old time: 6.4999999999982E-05 Warning: Wrong parameter count for range() in /in/V53Eu on line 35 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 35 New time: 3.8999999999956E-05 166.66666666681% faster Warning: Wrong parameter count for range() in /in/V53Eu on line 43 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 43 All values passed!
Output for 4.3.9
Warning: Wrong parameter count for range() in /in/V53Eu on line 29 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 29 Old time: 7.2000000000016E-05 Warning: Wrong parameter count for range() in /in/V53Eu on line 35 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 35 New time: 4.7999999999992E-05 150.00000000006% faster Warning: Wrong parameter count for range() in /in/V53Eu on line 43 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 43 All values passed!
Output for 4.3.8
Warning: Wrong parameter count for range() in /in/V53Eu on line 29 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 29 Old time: 7.600000000002E-05 Warning: Wrong parameter count for range() in /in/V53Eu on line 35 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 35 New time: 3.9000000000011E-05 194.87179487179% faster Warning: Wrong parameter count for range() in /in/V53Eu on line 43 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 43 All values passed!
Output for 4.3.7
Warning: Wrong parameter count for range() in /in/V53Eu on line 29 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 29 Old time: 0.00010100000000002 Warning: Wrong parameter count for range() in /in/V53Eu on line 35 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 35 New time: 4.2000000000042E-05 240.47619047599% faster Warning: Wrong parameter count for range() in /in/V53Eu on line 43 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 43 All values passed!
Output for 4.3.6
Warning: Wrong parameter count for range() in /in/V53Eu on line 29 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 29 Old time: 7.600000000002E-05 Warning: Wrong parameter count for range() in /in/V53Eu on line 35 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 35 New time: 3.7999999999982E-05 200.00000000015% faster Warning: Wrong parameter count for range() in /in/V53Eu on line 43 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 43 All values passed!
Output for 4.3.5
Warning: Wrong parameter count for range() in /in/V53Eu on line 29 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 29 Old time: 8.0999999999998E-05 Warning: Wrong parameter count for range() in /in/V53Eu on line 35 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 35 New time: 3.9000000000011E-05 207.69230769224% faster Warning: Wrong parameter count for range() in /in/V53Eu on line 43 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 43 All values passed!
Output for 4.3.4
Warning: Wrong parameter count for range() in /in/V53Eu on line 29 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 29 Old time: 8.0000000000024E-05 Warning: Wrong parameter count for range() in /in/V53Eu on line 35 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 35 New time: 3.9999999999984E-05 200.00000000014% faster Warning: Wrong parameter count for range() in /in/V53Eu on line 43 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 43 All values passed!
Output for 4.3.3
Warning: Wrong parameter count for range() in /in/V53Eu on line 29 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 29 Old time: 8.0999999999998E-05 Warning: Wrong parameter count for range() in /in/V53Eu on line 35 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 35 New time: 5.1999999999996E-05 155.76923076924% faster Warning: Wrong parameter count for range() in /in/V53Eu on line 43 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 43 All values passed!
Output for 4.3.2
Warning: Wrong parameter count for range() in /in/V53Eu on line 29 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 29 Old time: 7.3999999999907E-05 Warning: Wrong parameter count for range() in /in/V53Eu on line 35 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 35 New time: 4.3000000000015E-05 172.09302325554% faster Warning: Wrong parameter count for range() in /in/V53Eu on line 43 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 43 All values passed!
Output for 4.3.1
Warning: Wrong parameter count for range() in /in/V53Eu on line 29 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 29 Old time: 7.5000000000047E-05 Warning: Wrong parameter count for range() in /in/V53Eu on line 35 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 35 New time: 4.3000000000015E-05 174.41860465121% faster Warning: Wrong parameter count for range() in /in/V53Eu on line 43 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 43 All values passed!
Output for 4.3.0
Warning: Wrong parameter count for range() in /in/V53Eu on line 29 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 29 Old time: 2.9000000000001E-05 Warning: Wrong parameter count for range() in /in/V53Eu on line 35 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 35 New time: 5.000000000005E-06 579.99999999944% faster Warning: Wrong parameter count for range() in /in/V53Eu on line 43 Warning: Invalid argument supplied for foreach() in /in/V53Eu on line 43 All values passed!