3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $x = 3 + "15%" + "$25"; echo $x;
based on 9rD4G

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).
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.110.0000.01516.61
7.2.100.0030.01016.57
7.2.90.0120.00316.51
7.2.80.0070.00716.51
7.2.70.0100.00316.86
7.2.60.0060.00616.73
7.2.50.0070.00717.00
7.2.40.0060.00616.87
7.2.30.0090.00616.96
7.2.20.0130.00316.91
7.2.10.0090.00916.86
7.2.00.0060.00717.91
7.1.230.0050.00315.80
7.1.220.0100.00615.88
7.1.210.0080.00015.58
7.1.200.0070.00515.86
7.1.190.0060.00615.50
7.1.180.0060.00315.67
7.1.170.0070.00715.86
7.1.160.0090.00615.66
7.1.150.0030.00715.86
7.1.140.0040.00715.52
7.1.130.0030.01015.39
7.1.120.0090.00615.56
7.1.110.0070.00715.62
7.1.100.0030.00816.84
7.1.90.0000.01215.86
7.1.80.0080.00015.75
7.1.70.0080.00316.34
7.1.60.0050.01617.68
7.1.50.0070.01216.31
7.1.40.0000.01715.49
7.1.30.0070.00715.62
7.1.20.0100.00715.64
7.1.10.0030.00915.46
7.1.00.0050.04219.12
7.0.310.0080.00615.50
7.0.300.0030.01315.47
7.0.290.0120.00015.13
7.0.280.0030.00915.30
7.0.270.0040.01115.07
7.0.260.0000.00915.45
7.0.250.0030.01015.37
7.0.240.0040.00715.43
7.0.230.0060.00315.34
7.0.220.0000.01315.10
7.0.210.0070.00715.09
7.0.200.0330.00814.74
7.0.190.0040.00415.47
7.0.180.0050.00215.48
7.0.170.0030.00915.42
7.0.160.0030.00915.36
7.0.150.0060.00315.41
7.0.140.0070.00715.39
7.0.130.0030.00615.29
7.0.120.0030.01215.13
7.0.110.0020.00515.40
7.0.100.0030.00715.35
7.0.90.0090.00315.43
7.0.80.0030.00715.05
7.0.70.0040.00415.30
7.0.60.0130.02217.66
7.0.50.0080.02216.65
7.0.40.0080.02516.74
7.0.30.0220.04016.71
7.0.20.0180.03316.64
7.0.10.0070.04916.73
7.0.00.0030.02716.66
hhvm-3.22.00.0510.11291.03
hhvm-3.21.30.0370.12089.66
hhvm-3.21.00.0670.10090.68
hhvm-3.20.20.0550.10690.15
hhvm-3.19.20.0530.12389.69
hhvm-3.18.50.0460.11788.05
hhvm-3.18.40.0430.11988.35
hhvm-3.17.30.0440.10487.31
hhvm-3.15.40.0350.10785.13
hhvm-3.13.20.0500.10296.36
hhvm-3.12.140.0430.13095.43
hhvm-3.11.10.0460.10086.98
hhvm-3.10.10.0360.10984.38
5.6.380.0130.00314.19
5.6.370.0060.00314.58
5.6.360.0100.00314.43
5.6.350.0030.01014.52
5.6.340.0030.00714.48
5.6.330.0050.00514.38
5.6.320.0000.01114.10
5.6.310.0040.00714.09
5.6.300.0030.00914.26
5.6.290.0000.00814.38
5.6.280.0060.04017.58
5.6.270.0040.03417.81
5.6.260.0040.01114.34
5.6.250.0040.00414.03
5.6.240.0030.01014.33
5.6.230.0090.00314.10
5.6.220.0030.00914.15
5.6.210.0050.02717.61
5.6.200.0070.03016.29
5.6.190.0060.02517.39
5.6.180.0150.02317.47
5.6.170.0160.04517.27
5.6.160.0090.02517.29
5.6.150.0150.03516.16
5.6.140.0090.04116.13
5.6.130.0090.03016.14
5.6.120.0180.02217.84
5.6.110.0070.02017.49
5.6.100.0060.03817.70
5.6.90.0050.02317.72
5.6.80.0050.02517.48
5.6.70.0150.00014.38
5.6.60.0000.01213.92
5.6.50.0060.00614.10
5.6.40.0080.00414.04
5.6.30.0000.01214.20
5.6.20.0110.00314.36
5.6.10.0030.00914.25
5.6.00.0070.00714.21
5.5.380.0000.00612.79
5.5.370.0060.00612.79
5.5.360.0050.00012.79
5.5.350.0020.04216.65
5.5.340.0060.03815.39
5.5.330.0090.02416.56
5.5.320.0300.04316.46
5.5.310.0210.03316.53
5.5.300.0060.04015.35
5.5.290.0030.02315.37
5.5.280.0060.02516.87
5.5.270.0050.04216.73
5.5.260.0060.03416.77
5.5.250.0070.04216.70
5.5.240.0130.03016.47
5.5.230.0030.00312.79
5.5.220.0080.00012.79
5.5.210.0060.00612.79
5.5.200.0030.00612.79
5.5.190.0000.01212.79
5.5.180.0070.00412.79
5.5.170.0040.00414.17
5.5.160.0030.00312.79
5.5.150.0070.00412.79
5.5.140.0040.00712.79
5.5.130.0000.00612.79
5.5.120.0030.00612.79
5.5.110.0030.00612.79
5.5.100.0040.00312.79
5.5.90.0030.00612.79
5.5.80.0060.00312.79
5.5.70.0000.01112.79
5.5.60.0030.00912.79
5.5.50.0040.00412.79
5.5.40.0030.00312.79
5.5.30.0060.00312.79
5.5.20.0000.00912.79
5.5.10.0070.00312.79
5.5.00.0030.00712.79
5.4.450.0100.06019.48
5.4.440.0030.07019.52
5.4.430.0130.06019.38
5.4.420.0100.05719.56
5.4.410.0170.05319.49
5.4.400.0270.04018.88
5.4.390.0170.05318.88
5.4.380.0230.04718.89
5.4.370.0230.06719.06
5.4.360.0200.05019.13
5.4.350.0130.05319.15
5.4.340.0130.05719.23
5.4.320.0230.05319.14
5.4.310.0130.05319.13
5.4.300.0330.03719.14
5.4.290.0100.05719.31
5.4.280.0100.06019.11
5.4.270.0230.04718.92
5.4.260.0130.05319.16
5.4.250.0130.05319.18
5.4.240.0330.06019.15
5.4.230.0170.05018.92
5.4.220.0100.06019.10
5.4.210.0130.05719.18
5.4.200.0200.04719.09
5.4.190.0130.05318.87
5.4.180.0200.05018.86
5.4.170.0170.05019.21
5.4.160.0170.05319.30
5.4.150.0170.05319.11
5.4.140.0130.05316.45
5.4.130.0170.04716.38
5.4.120.0100.05316.28
5.4.110.0130.05016.45
5.3.290.0130.05314.45
5.3.280.0130.05714.58
5.3.270.0230.04314.62
5.3.260.0300.04314.48
5.3.250.0170.05014.48
5.3.240.0200.05314.52
5.3.230.0070.06014.47
5.3.220.0130.06014.42
5.3.210.0100.05714.46