3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hex = 012898; echo($hex);

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.6.280.0000.07720.86
5.6.210.0070.07720.52
5.6.200.0170.07718.21
5.6.190.0000.10020.35
5.6.180.3670.05020.27
5.6.170.0500.06320.50
5.6.160.0030.08720.61
5.6.150.0030.07018.19
5.6.140.0130.06018.12
5.6.130.0030.08718.11
5.6.120.0100.06321.01
5.6.110.0030.06321.11
5.6.100.0030.07321.00
5.6.90.0130.03721.02
5.6.80.0170.07020.37
5.6.70.0270.07020.47
5.5.350.0130.05320.40
5.5.340.0070.03317.89
5.5.330.0130.04720.44
5.5.320.0330.07020.27
5.5.310.0170.05720.12
5.5.300.0070.08018.00
5.5.290.0070.07717.89
5.5.280.0070.05720.75
5.5.270.0100.05020.86
5.5.260.0030.05720.86
5.5.250.0030.04320.59
5.5.240.0100.06720.25
5.4.450.0730.05719.10
5.4.440.0630.05719.46
5.4.430.0800.05319.45
5.4.420.0070.06019.34
5.4.410.0470.06019.47
5.4.400.0430.05318.77
5.4.390.0470.04318.72
5.4.380.0330.05718.74
5.4.370.0200.05018.66
5.4.360.0170.05018.75
5.4.350.0240.09411.97
5.4.340.0080.04811.96
5.4.320.0060.04012.45
5.4.310.0090.04012.45
5.4.300.0080.03812.45
5.4.290.0070.03712.45
5.4.280.0040.03712.34
5.4.270.0080.03512.34
5.4.260.0070.07718.92
5.4.250.0070.06018.69
5.4.240.0030.05719.02
5.4.230.0070.05718.70
5.4.220.0100.05318.89
5.4.210.0070.05318.79
5.4.200.0100.07318.89
5.4.190.0200.05718.82
5.4.180.0100.05319.02
5.4.170.0130.06718.79
5.4.160.0100.05018.71
5.4.150.0030.07019.01
5.4.140.0030.06016.29
5.4.130.0170.05716.37
5.4.120.0030.07016.25
5.4.110.0030.05716.41
5.4.100.0130.06716.42
5.4.90.0000.05716.23
5.4.80.0070.05016.37
5.4.70.0070.05716.23
5.4.60.0030.06716.46
5.4.50.0070.07016.39
5.4.40.0130.04716.42
5.4.30.0100.05716.35
5.4.20.0070.05016.31
5.4.10.0070.05716.39
5.4.00.0130.04315.83
5.3.290.0070.04212.80
5.3.280.0130.04714.44
5.3.270.0170.05714.37
5.3.260.0030.05714.69
5.3.250.0070.06714.61
5.3.240.0170.04014.30
5.3.230.0070.06714.61
5.3.220.0100.06314.45
5.3.210.0100.04714.41
5.3.200.0000.07014.58
5.3.190.0200.04314.65
5.3.180.0100.04714.26
5.3.170.0030.05714.60
5.3.160.0070.05314.42
5.3.150.0100.05314.57
5.3.140.0170.05714.43
5.3.130.0030.06314.24
5.3.120.0100.05014.39
5.3.110.0130.04714.24
5.3.100.0100.06313.73
5.3.90.0070.05714.02
5.3.80.0100.06713.87
5.3.70.0100.06713.88
5.3.60.0130.04313.88
5.3.50.0070.05314.09
5.3.40.0130.05013.94
5.3.30.0130.06313.84
5.3.20.0130.06313.52
5.3.10.0070.04713.66
5.3.00.0030.05013.65
5.2.170.0130.03310.89
5.2.160.0000.04311.14
5.2.150.0030.04711.15
5.2.140.0130.04011.06
5.2.130.0000.05711.11
5.2.120.0030.03710.86
5.2.110.0100.04711.11
5.2.100.0100.04011.13
5.2.90.0000.05011.11
5.2.80.0030.06011.09
5.2.70.0000.05011.10
5.2.60.0030.04310.97
5.2.50.0070.05311.04
5.2.40.0100.03710.99
5.2.30.0030.04310.98
5.2.20.0070.05310.96
5.2.10.0030.04310.93
5.2.00.0070.03710.77
5.1.60.0130.02710.01
5.1.50.0030.0379.82
5.1.40.0070.03710.06
5.1.30.0070.03310.40
5.1.20.0100.03710.25
5.1.10.0070.04010.11
5.1.00.0030.03710.09
5.0.50.0070.0278.59
5.0.40.0000.0408.59
5.0.30.0000.0438.18
5.0.20.0030.0378.22
5.0.10.0030.0308.14
5.0.00.0130.0438.23
4.4.90.0000.0277.20
4.4.80.0070.0277.20
4.4.70.0000.0237.20
4.4.60.0070.0207.20
4.4.50.0030.0207.20
4.4.40.0030.0337.20
4.4.30.0070.0177.20
4.4.20.0000.0237.20
4.4.10.0000.0237.20
4.4.00.0000.0477.20
4.3.110.0000.0237.20
4.3.100.0000.0277.20
4.3.90.0030.0177.20
4.3.80.0000.0407.20
4.3.70.0000.0237.20
4.3.60.0000.0207.20
4.3.50.0030.0207.20
4.3.40.0000.0437.20
4.3.30.0000.0237.20
4.3.20.0030.0277.20
4.3.10.0000.0307.20
4.3.00.0000.0236.72

preferences:
143.62 ms | 1394 KiB | 7 Q