3v4l.org

run code in 300+ PHP versions simultaneously
<?php $Results = array( "Matchings" => array( array("Quotient"=>0.5) ) ); echo "<pre>".print_r($Results, true)."</pre>"; $Results["Matchings"] = uasort($Results["Matchings"], function($a, $b){ if($a["Quotient"] == $b["Quotient"]) { return 0; } return ($a["Quotient"] > $b["Quotient"] ? 1 : -1); }); die("<pre>".print_r($Results, true)."</pre>");

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.70.0120.00316.88
8.3.60.0070.00718.55
8.3.50.0130.00822.16
8.3.40.0070.00718.98
8.3.30.0100.00319.01
8.3.20.0000.00720.28
8.3.10.0040.00420.51
8.3.00.0040.00419.67
8.2.180.0140.00716.75
8.2.170.0120.00322.96
8.2.160.0100.00320.30
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.01126.16
8.2.120.0070.00022.06
8.2.110.0070.00319.38
8.2.100.0040.00818.16
8.2.90.0030.00619.29
8.2.80.0080.00017.97
8.2.70.0040.00417.63
8.2.60.0080.00018.04
8.2.50.0000.00918.07
8.2.40.0070.00018.28
8.2.30.0070.00019.13
8.2.20.0040.00417.81
8.2.10.0040.00418.01
8.2.00.0050.00517.69
8.1.280.0070.00725.92
8.1.270.0040.00422.04
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0090.00020.91
8.1.230.0060.00617.45
8.1.220.0040.00417.78
8.1.210.0000.00818.77
8.1.200.0060.00317.35
8.1.190.0040.00417.35
8.1.180.0050.00318.10
8.1.170.0030.00518.52
8.1.160.0080.00021.93
8.1.150.0000.00718.77
8.1.140.0000.00817.46
8.1.130.0000.00717.69
8.1.120.0040.00417.41
8.1.110.0080.00017.45
8.1.100.0040.00417.47
8.1.90.0000.00717.30
8.1.80.0000.00817.49
8.1.70.0030.00317.43
8.1.60.0000.00817.60
8.1.50.0040.00417.43
8.1.40.0080.00017.40
8.1.30.0040.00417.61
8.1.20.0020.00517.61
8.1.10.0040.00417.51
8.1.00.0040.00417.54
8.0.300.0000.00718.77
8.0.290.0050.00216.75
8.0.280.0030.00318.48
8.0.270.0030.00517.34
8.0.260.0030.00317.19
8.0.250.0030.00517.00
8.0.240.0030.00317.02
8.0.230.0000.00716.95
8.0.220.0000.00716.84
8.0.210.0000.00716.94
8.0.200.0000.00616.84
8.0.190.0020.00516.98
8.0.180.0020.00516.89
8.0.170.0040.00416.91
8.0.160.0000.00716.94
8.0.150.0000.00716.83
8.0.140.0050.00216.93
8.0.130.0000.00613.25
8.0.120.0000.00716.82
8.0.110.0000.00716.99
8.0.100.0080.00016.81
8.0.90.0050.00216.91
8.0.80.0140.00716.83
8.0.70.0030.00316.90
8.0.60.0050.00316.79
8.0.50.0000.00716.91
8.0.30.0120.00617.06
8.0.20.0110.01117.40
8.0.10.0000.00716.98
8.0.00.0040.01416.76
7.4.330.0050.00015.07
7.4.320.0030.00316.40
7.4.300.0060.00016.42
7.4.290.0030.00316.59
7.4.280.0040.00416.54
7.4.270.0040.00416.57
7.4.260.0030.00316.49
7.4.250.0000.00716.45
7.4.240.0050.00216.52
7.4.230.0000.00716.63
7.4.220.0110.00616.61
7.4.210.0030.01016.52
7.4.200.0040.00416.70
7.4.160.0070.01016.54
7.4.150.0070.01317.40
7.4.140.0170.00617.86
7.4.130.0050.01216.51
7.4.120.0080.01116.59
7.4.110.0110.01116.42
7.4.100.0110.00516.53
7.4.90.0110.01216.58
7.4.80.0070.01516.47
7.4.70.0100.01016.62
7.4.60.0070.01016.45
7.4.50.0040.00416.51
7.4.40.0100.00716.58
7.4.30.0070.01016.50
7.4.00.0060.01015.13
7.3.330.0030.00313.32
7.3.320.0050.00013.36
7.3.310.0040.00416.27
7.3.300.0000.00716.31
7.3.290.0090.01016.36
7.3.280.0090.00716.37
7.3.270.0090.00917.40
7.3.260.0030.01316.49
7.3.250.0080.01116.48
7.3.240.0100.00716.50
7.3.230.0030.01316.39
7.3.210.0070.01016.39
7.3.200.0130.00319.39
7.3.190.0060.01616.41
7.3.180.0070.01716.18
7.3.170.0060.01316.53
7.3.160.0110.00616.61
7.3.120.0070.01314.94
7.3.110.0100.00714.99
7.3.100.0060.00914.81
7.3.90.0000.01114.85
7.3.80.0090.00915.11
7.3.70.0030.01414.86
7.3.60.0120.00314.92
7.3.50.0030.01314.89
7.3.40.0030.00914.91
7.3.30.0080.00614.84
7.3.20.0120.00316.44
7.3.10.0070.00316.59
7.3.00.0060.00316.52
7.2.330.0140.00716.56
7.2.320.0090.00916.85
7.2.310.0140.01016.73
7.2.300.0060.01016.55
7.2.290.0110.00616.40
7.2.250.0000.01914.86
7.2.240.0140.00715.26
7.2.230.0120.00614.80
7.2.220.0050.00515.28
7.2.210.0070.00715.04
7.2.200.0130.00314.89
7.2.190.0030.00915.23
7.2.180.0070.00714.80
7.2.170.0100.00315.04
7.2.00.0070.00719.36
7.1.330.0030.01215.75
7.1.320.0000.01415.41
7.1.310.0070.00715.70
7.1.300.0030.00915.88
7.1.290.0000.01015.74
7.1.280.0030.01015.68
7.1.270.0040.01215.75
7.1.260.0030.01015.73
7.1.200.0120.00315.75
7.1.100.0790.00916.35
7.1.70.0040.00417.18
7.1.60.0100.01419.32
7.1.50.0000.01716.88
7.1.00.0030.07722.33
7.0.200.0030.00516.88
7.0.140.0030.07722.07
7.0.60.0030.08020.02
7.0.50.0030.05017.84
7.0.40.0030.04720.09
7.0.30.0230.04720.20
7.0.20.0200.09020.29
7.0.10.0030.04320.09
7.0.00.0130.07720.31
5.6.280.0070.06720.99
5.6.210.0030.08020.51
5.6.200.0000.05718.15
5.6.190.0130.07720.48
5.6.180.0570.03720.47
5.6.170.0230.06720.55
5.6.160.0070.05020.39
5.6.150.0100.07718.18
5.6.140.0030.04018.14
5.6.130.0070.08018.23
5.6.120.0100.03720.96
5.6.110.0100.04021.01
5.6.100.0030.09020.98
5.6.90.0100.07321.00
5.6.80.0170.06720.29
5.5.350.0270.07720.39
5.5.340.0070.04017.93
5.5.330.0030.08720.27
5.5.320.0200.05720.30
5.5.310.0300.07320.20
5.5.300.0170.04718.07
5.5.290.0030.05717.93
5.5.280.0100.07720.76
5.5.270.0170.07320.86
5.5.260.0200.07020.84
5.5.250.0030.04020.55
5.5.240.0100.08320.14
5.4.450.0170.08319.39
5.4.440.0670.06319.58
5.4.430.0900.04719.55
5.4.420.0730.05019.30
5.4.410.0970.07019.57
5.4.400.0970.06019.25
5.4.390.0130.05019.25
5.4.380.0330.05718.59
5.4.370.0430.05018.75
5.4.360.0300.06718.80
5.4.350.0330.05018.50
5.4.340.0570.07018.52
5.4.320.0080.03412.52
5.4.310.0060.03812.50
5.4.300.0040.03812.51
5.4.290.0070.04112.50
5.4.280.0080.03412.40
5.4.270.0070.04712.40
5.4.260.0070.03812.40
5.4.250.0050.03812.40
5.4.240.0070.03512.40
5.4.230.0060.03812.40
5.4.220.0090.03512.39
5.4.210.0060.03712.40
5.4.200.0080.03812.39
5.4.190.0090.03512.39
5.4.180.0070.03712.39
5.4.170.0070.03712.41
5.4.160.0060.03612.40
5.4.150.0090.03712.39
5.4.140.0060.03812.07
5.4.130.0040.03912.07
5.4.120.0070.03612.03
5.4.110.0070.04312.02
5.4.100.0070.03512.02
5.4.90.0100.03612.02
5.4.80.0070.03712.02
5.4.70.0060.04612.02
5.4.60.0060.03812.02
5.4.50.0090.03812.02
5.4.40.0060.03512.00
5.4.30.0070.03512.00
5.4.20.0080.03412.00
5.4.10.0050.03812.00
5.4.00.0030.04511.49
5.3.290.0060.04112.80
5.3.280.0060.03812.71
5.3.270.0040.04112.72
5.3.260.0080.03612.72
5.3.250.0050.03912.72
5.3.240.0090.03512.71
5.3.230.0040.04012.70
5.3.220.0090.04612.68
5.3.210.0050.04012.68
5.3.200.0110.04212.68
5.3.190.0040.03912.68
5.3.180.0040.03912.68
5.3.170.0060.03712.66
5.3.160.0090.03512.67
5.3.150.0050.03812.67
5.3.140.0100.03312.66
5.3.130.0060.04112.66
5.3.120.0070.03812.66
5.3.110.0060.03812.66
5.3.100.0040.04012.13
5.3.90.0060.03612.11
5.3.80.0050.03712.10
5.3.70.0070.03612.10
5.3.60.0050.03712.08
5.3.50.0060.03612.04
5.3.40.0080.03412.04
5.3.30.0070.03812.00
5.3.20.0040.03811.79
5.3.10.0080.03311.73
5.3.00.0050.03611.73
5.2.170.0050.0299.19
5.2.160.0040.0299.19
5.2.150.0040.0329.19
5.2.140.0020.0339.18
5.2.130.0030.0309.14
5.2.120.0060.0289.14
5.2.110.0050.0299.15
5.2.100.0040.0299.14
5.2.90.0040.0299.14
5.2.80.0040.0319.14
5.2.70.0030.0319.14
5.2.60.0030.0329.09
5.2.50.0020.0329.07
5.2.40.0060.0279.04
5.2.30.0050.0319.01
5.2.20.0040.0309.00
5.2.10.0050.0278.93
5.2.00.0050.0288.78
5.1.60.0070.0248.07
5.1.50.0040.0328.07
5.1.40.0050.0238.05
5.1.30.0020.0298.40
5.1.20.0080.0238.42
5.1.10.0050.0278.14
5.1.00.0030.0278.14
5.0.50.0030.0206.63
5.0.40.0020.0216.48
5.0.30.0020.0336.30
5.0.20.0040.0196.29
5.0.10.0030.0206.27
5.0.00.0040.0356.26
4.4.90.0030.0184.78
4.4.80.0010.0194.75
4.4.70.0030.0204.75
4.4.60.0030.0154.75
4.4.50.0020.0164.77
4.4.40.0030.0244.71
4.4.30.0030.0154.76
4.4.20.0040.0154.84
4.4.10.0050.0164.85
4.4.00.0040.0264.76
4.3.110.0030.0164.67
4.3.100.0020.0154.67
4.3.90.0010.0164.63
4.3.80.0020.0254.59
4.3.70.0030.0144.63
4.3.60.0040.0134.63
4.3.50.0030.0154.63
4.3.40.0050.0234.54
4.3.30.0030.0193.31
4.3.20.0030.0163.28
4.3.10.0030.0153.25
4.3.00.0070.0206.79

preferences:
46.9 ms | 401 KiB | 5 Q