3v4l.org

run code in 300+ PHP versions simultaneously
<?php function HRV_label($numeric){ $labels = array("Quite low", "Low", "Medium", "High"); return $labels[floor(($numeric) * count($labels)]; }

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)
5.4.390.0230.06018.73
5.4.380.0270.06318.59
5.4.370.0070.08318.74
5.4.360.0270.05018.76
5.4.350.0100.06318.80
5.4.340.0100.07018.59
5.4.320.0170.05718.69
5.4.310.0100.07318.79
5.4.300.0270.04318.61
5.4.290.0030.07718.80
5.4.280.0200.06718.47
5.4.270.0130.05718.62
5.4.260.0170.05718.73
5.4.250.0200.05318.46
5.4.240.0270.04718.70
5.4.230.0100.05718.56
5.4.220.0200.06318.81
5.4.210.0170.07018.52
5.4.200.0130.06716.64
5.4.190.0370.05018.75
5.4.180.0270.06018.72
5.4.170.0200.07018.68
5.4.160.0200.04718.45
5.4.150.0230.04718.54
5.4.140.0170.05016.30
5.4.130.0130.06016.29
5.4.120.0100.07016.44
5.4.110.0130.05316.23
5.4.100.0130.07016.29
5.4.90.0130.06316.41
5.4.80.0270.05716.28
5.4.70.0100.07016.24
5.4.60.0070.05716.20
5.4.50.0200.06016.41
5.4.40.0100.05716.23
5.4.30.0130.05016.22
5.4.20.0170.07016.25
5.4.10.0130.07016.23
5.4.00.0200.05715.69
5.3.290.0230.05314.77
5.3.280.0170.07014.59
5.3.270.0200.07314.78
5.3.260.0030.07714.59
5.3.250.0130.06014.63
5.3.240.0070.07314.61
5.3.230.0130.06014.63
5.3.220.0170.06014.68
5.3.210.0130.06314.70
5.3.200.0170.05714.59
5.3.190.0330.04314.62
5.3.180.0170.05014.77
5.3.170.0170.05014.62
5.3.160.0130.05314.67
5.3.150.0200.05714.59
5.3.140.0000.06714.73
5.3.130.0200.05314.77
5.3.120.0200.05014.55
5.3.110.0070.08014.77
5.3.100.0130.05714.14
5.3.90.0270.06014.00
5.3.80.0300.04014.12
5.3.70.0170.05314.04
5.3.60.0230.06014.12
5.3.50.0170.06014.00
5.3.40.0100.06013.99
5.3.30.0070.06713.96
5.3.20.0170.04313.79
5.3.10.0230.05713.73
5.3.00.0070.07713.76
5.2.170.0170.05311.35
5.2.160.0030.06311.08
5.2.150.0130.05311.25
5.2.140.0130.05311.18
5.2.130.0130.05011.14
5.2.120.0170.04711.32
5.2.110.0030.05011.09
5.2.100.0130.03711.23
5.2.90.0030.05311.10
5.2.80.0030.05011.21
5.2.70.0070.04711.22
5.2.60.0200.03311.07
5.2.50.0130.05011.13
5.2.40.0130.04311.02
5.2.30.0070.04711.02
5.2.20.0170.03711.09
5.2.10.0100.05010.99
5.2.00.0030.06010.70
5.1.60.0100.04310.02
5.1.50.0100.04310.09
5.1.40.0070.03710.11
5.1.30.0100.04010.55
5.1.20.0070.05010.55
5.1.10.0070.04710.18
5.1.00.0100.04710.27
5.0.50.0070.0378.57
5.0.40.0130.0308.61
5.0.30.0000.0578.41
5.0.20.0100.0308.20
5.0.10.0170.0208.26
5.0.00.0130.0438.20
4.4.90.0070.0275.91
4.4.80.0030.0235.92
4.4.70.0000.0305.89
4.4.60.0030.0276.01
4.4.50.0030.0306.00
4.4.40.0030.0435.89
4.4.30.0070.0275.91
4.4.20.0100.0235.96
4.4.10.0000.0335.95
4.4.00.0030.0435.95
4.3.110.0030.0275.97
4.3.100.0000.0305.82
4.3.90.0070.0275.80
4.3.80.0070.0405.79
4.3.70.0130.0135.77
4.3.60.0000.0275.79
4.3.50.0000.0335.86
4.3.40.0000.0375.79
4.3.30.0100.0174.93
4.3.20.0070.0204.93
4.3.10.0000.0234.93
4.3.00.0100.01314.62

preferences:
144.14 ms | 939 KiB | 8 Q