3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo intval('s2o');

Here you find the average performance (time & memory) of each version. A greyed out version indicates it didn't complete successfully (based on exit-code).
Note: hhvm uses a JIT which only kicks in after a few runs. Since we run scripts only once, hhvm always runs slower.

VersionSystem time (s)User time (s)Memory (MiB)
7.2.00.0090.00919.27
7.1.100.0040.00718.16
7.1.70.0080.01216.84
7.1.60.0130.01019.22
7.1.50.0070.01416.95
7.1.00.0000.08022.37
7.0.200.0030.00616.70
7.0.140.0000.03721.96
7.0.60.0100.05320.04
7.0.50.0070.09017.81
7.0.40.0070.04019.98
7.0.30.0330.04020.12
7.0.20.0170.05320.17
7.0.10.0170.05720.02
7.0.00.0130.05320.18
5.6.280.0000.07720.88
5.6.210.0100.08020.76
5.6.200.0130.08018.19
5.6.190.0070.04020.43
5.6.180.0400.06720.77
5.6.170.0200.04020.50
5.6.160.0100.08020.51
5.6.150.0100.08018.16
5.6.140.0070.03718.08
5.6.130.0130.06718.09
5.6.120.0100.05321.01
5.6.110.0070.04020.95
5.6.100.0070.08021.13
5.6.90.0130.06721.09
5.6.80.0130.03020.43
5.5.350.0230.07020.48
5.5.340.0030.05318.01
5.5.330.0030.09320.19
5.5.320.0300.06720.30
5.5.310.0400.06720.17
5.5.300.0130.07017.89
5.5.290.0030.05318.02
5.5.280.0130.04720.86
5.5.270.0030.09020.78
5.5.260.0100.08320.75
5.5.250.0070.09020.67
5.5.240.0030.07720.10
5.4.450.0770.05719.12
5.4.440.0570.05719.39
5.4.430.0400.05319.50
5.4.420.0500.06319.21
5.4.410.0870.05019.10
5.4.400.0200.05019.17
5.4.390.0830.06018.72
5.4.380.1030.05018.53
5.4.370.1000.04318.62
5.4.360.0900.05318.45
5.4.350.0870.05718.57
5.4.340.0870.06318.71
5.4.320.0900.06018.65
5.4.310.0900.05318.67
5.4.300.0930.05718.57
5.4.290.1170.06718.57
5.4.280.0870.06318.71
5.4.270.0970.05018.73
5.4.260.0900.05018.49
5.4.250.0970.05018.56
5.4.240.0870.06018.68
5.4.230.0970.04718.55
5.4.220.0930.05018.70
5.4.210.0970.04718.42
5.4.200.0870.05316.38
5.4.190.0730.05718.67
5.4.180.0830.05018.70
5.4.170.0870.04718.41
5.4.160.0930.05018.65
5.4.150.0970.04318.70
5.4.140.1000.04316.16
5.4.130.0870.05016.25
5.4.120.0970.06016.29
5.4.110.0870.05016.14
5.4.100.0900.05316.14
5.4.90.0930.04716.16
5.4.80.0930.04716.27
5.4.70.0770.05016.02
5.4.60.0800.04716.14
5.4.50.0870.04716.16
5.4.40.0770.05316.23
5.4.30.0870.04016.04
5.4.20.0770.05316.26
5.4.10.0930.05316.03
5.4.00.0800.04715.54
5.3.290.0900.06014.65
5.3.280.1030.04714.58
5.3.270.0930.05314.61
5.3.260.1030.04714.60
5.3.250.0900.05014.57
5.3.240.0900.05314.60
5.3.230.0800.05014.50
5.3.220.0870.04314.49
5.3.210.0830.04714.47
5.3.200.0900.05314.47
5.3.190.0900.05314.52
5.3.180.0830.05714.45
5.3.170.0730.05714.54
5.3.160.0730.06314.63
5.3.150.0870.04314.56
5.3.140.0770.05714.52
5.3.130.0770.06014.53
5.3.120.0870.05714.53
5.3.110.0870.05714.59
5.3.100.1030.04714.00
5.3.90.0800.05014.00
5.3.80.1000.04013.98
5.3.70.0970.04713.94
5.3.60.0870.05013.89
5.3.50.0970.05713.88
5.3.40.0830.06313.92
5.3.30.0870.03713.93
5.3.20.0800.04713.62
5.3.10.0800.04713.59
5.3.00.0700.06013.53
5.2.170.0630.04311.10
5.2.160.0570.04711.19
5.2.150.0730.03711.14
5.2.140.0600.05311.14
5.2.130.0630.04711.14
5.2.120.0770.04711.15
5.2.110.0730.04311.23
5.2.100.0770.03711.18
5.2.90.0730.04311.07
5.2.80.1030.04311.05
5.2.70.0630.04311.13
5.2.60.0800.03710.99
5.2.50.0830.03310.96
5.2.40.0570.04310.95
5.2.30.0570.04711.02
5.2.20.0570.03310.91
5.2.10.0500.04311.03
5.2.00.0500.04710.83
5.1.60.0470.03710.01
5.1.50.0570.02710.16
5.1.40.0500.03310.00
5.1.30.0600.03710.50
5.1.20.0400.05010.56
5.1.10.0630.03710.09
5.1.00.0700.03310.08
5.0.50.0330.0378.67
5.0.40.0330.0378.40
5.0.30.0230.0478.34
5.0.20.0300.0238.37
5.0.10.0230.0308.29
5.0.00.0270.0438.28
4.4.90.0330.0175.91
4.4.80.0230.0305.92
4.4.70.0330.0275.88
4.4.60.0270.0305.86
4.4.50.0400.0105.86
4.4.40.0300.0375.92
4.4.30.0300.0205.86
4.4.20.0330.0205.88
4.4.10.0300.0235.94
4.4.00.0270.0375.93
4.3.110.0300.0275.81
4.3.100.0270.0235.78
4.3.90.0300.0205.79
4.3.80.0330.0305.90
4.3.70.0270.0235.87
4.3.60.0300.0205.85
4.3.50.0300.0275.80
4.3.40.0300.0335.77
4.3.30.0100.0274.59
4.3.20.0230.0234.52
4.3.10.0130.0234.50
4.3.00.0030.0337.30