3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo preg_replace('/[^a-zA-Z0-9_\.]/', '', "He..___.llo1---23.###6556&.WOrld!;;;");

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.0090.00916.36
7.2.100.0890.00616.69
7.2.90.0130.00316.85
7.2.80.0140.00316.79
7.2.70.0100.01016.71
7.2.60.0110.00416.95
7.2.50.0350.00916.99
7.2.40.0080.00816.88
7.2.30.0400.00016.79
7.2.20.0030.01616.70
7.2.10.0070.01416.91
7.2.00.0090.00818.02
7.1.230.1310.00015.85
7.1.220.0120.00415.60
7.1.210.0550.00315.63
7.1.200.0110.00515.85
7.1.190.0150.00015.78
7.1.180.0190.00015.75
7.1.170.0090.00615.86
7.1.160.0110.00515.64
7.1.150.0100.00715.90
7.1.140.0240.00815.86
7.1.130.0100.00415.73
7.1.120.0120.00615.75
7.1.110.0100.00716.01
7.1.100.0080.00716.84
7.1.90.0140.00315.57
7.1.80.0090.00915.95
7.1.70.0080.00316.57
7.1.60.0120.00917.90
7.1.50.0090.01216.51
7.1.40.0180.00415.86
7.1.30.0110.01116.01
7.1.20.0090.00915.74
7.1.10.0070.01115.88
7.1.00.0100.03719.18
7.0.310.0170.00015.51
7.0.300.0080.00815.27
7.0.290.0330.00315.48
7.0.280.0110.00515.07
7.0.270.0110.00415.60
7.0.260.0090.00915.45
7.0.250.0130.00515.62
7.0.240.0110.00715.27
7.0.230.0090.00415.29
7.0.220.0160.00615.31
7.0.210.0120.00415.57
7.0.200.0140.00615.97
7.0.190.0130.00315.23
7.0.180.0060.00915.25
7.0.170.0160.00515.09
7.0.160.0150.00015.57
7.0.150.0090.00515.64
7.0.140.0090.03618.74
7.0.130.0100.00715.56
7.0.120.0120.00015.60
7.0.110.0070.00715.38
7.0.100.0140.00715.52
7.0.90.0080.00815.46
7.0.80.0090.00615.32
7.0.70.0110.00515.52
7.0.60.0060.04017.72
7.0.50.0050.02916.72
7.0.40.0080.02716.76
7.0.30.0150.03616.73
7.0.20.0140.02416.71
7.0.10.0220.02716.95
7.0.00.0110.02416.79
hhvm-3.22.00.0890.14290.10
hhvm-3.21.30.0990.13790.56
hhvm-3.21.00.0670.14089.88
hhvm-3.20.20.0780.11490.14
hhvm-3.19.20.0740.12689.21
hhvm-3.18.50.1070.12988.59
hhvm-3.18.40.0860.11188.25
hhvm-3.17.30.0750.10887.20
hhvm-3.15.40.0730.09185.23
hhvm-3.13.20.0620.13896.17
hhvm-3.12.140.1030.10295.33
hhvm-3.11.10.0720.11087.68
hhvm-3.10.10.0500.12484.36
5.6.380.0100.00514.41
5.6.370.0050.01114.10
5.6.360.0060.00913.93
5.6.350.0070.00714.34
5.6.340.0110.00514.31
5.6.330.0130.00313.89
5.6.320.0080.00814.36
5.6.310.0100.00613.76
5.6.300.0100.00714.22
5.6.290.0100.00713.89
5.6.280.0080.03817.46
5.6.270.0100.01014.36
5.6.260.0060.01214.32
5.6.250.0090.00614.32
5.6.240.0140.00014.21
5.6.230.0030.01014.24
5.6.220.0070.01014.30
5.6.210.0080.03017.30
5.6.200.0070.04216.19
5.6.190.0100.04717.48
5.6.180.0070.04417.30
5.6.170.0180.02417.40
5.6.160.0090.04617.36
5.6.150.0090.04116.16
5.6.140.0050.04616.22
5.6.130.0080.03316.14
5.6.120.0110.03917.70
5.6.110.0060.02617.57
5.6.100.0090.04517.50
5.6.90.0100.02617.48
5.6.80.0120.04017.39
5.6.70.0140.04117.27
5.6.60.0100.00514.17
5.6.50.0110.00614.27
5.6.40.0160.00014.29
5.6.30.0080.00814.11
5.6.20.0060.00614.28
5.6.10.0120.00414.40
5.6.00.0100.00314.19
5.5.380.0130.00012.79
5.5.370.0080.00512.79
5.5.360.0030.00912.79
5.5.350.0080.04216.60
5.5.340.0070.04215.38
5.5.330.0040.02516.60
5.5.320.0090.02016.48
5.5.310.0230.02216.54
5.5.300.0080.04215.40
5.5.290.0080.04115.38
5.5.280.0100.04016.78
5.5.270.0090.02516.88
5.5.260.0060.02416.87
5.5.250.0130.03616.75
5.5.240.0070.04216.42
5.5.230.0070.00712.79
5.5.220.0060.00612.79
5.5.210.0130.00012.79
5.5.200.0060.00612.79
5.5.190.0080.00812.79
5.5.180.0070.00312.79
5.5.170.0040.01114.14
5.5.160.0150.00012.79
5.5.150.0070.00312.79
5.5.140.0070.00712.79
5.5.130.0070.00412.79
5.5.120.0080.00412.79
5.5.110.0030.01012.79
5.5.100.0060.00812.79
5.5.90.0090.00612.79
5.5.80.0100.00512.79
5.5.70.0070.00712.79
5.5.60.0060.00612.79
5.5.50.0090.00012.79
5.5.40.0040.00912.79
5.5.30.0080.00412.79
5.5.20.0060.00312.79
5.5.10.0100.00312.79
5.5.00.0120.00012.79
5.4.450.0210.02720.23
5.4.440.0320.02119.76
5.4.430.0160.02019.46
5.4.420.0120.02819.46
5.4.410.0150.02319.46
5.4.400.0160.02219.46
5.4.390.0140.02119.46
5.4.380.0430.02715.64
5.4.370.0500.02615.64
5.4.360.0480.02615.75
5.4.350.0570.02115.77
5.4.340.0420.03215.65
5.4.330.0090.00512.79
5.4.320.0070.02312.62
5.4.310.0110.02512.62
5.4.300.0110.02712.62
5.4.290.0080.03212.62
5.4.280.0070.03212.57
5.4.270.0080.02712.57
5.4.260.0080.03012.57
5.4.250.0100.02712.57
5.4.240.0070.03112.57
5.4.230.0080.02912.56
5.4.220.0100.02812.56
5.4.210.0090.02812.56
5.4.200.0120.03112.56
5.4.190.0070.02212.56
5.4.180.0080.02212.56
5.4.170.0100.02612.57
5.4.160.0080.03212.57
5.4.150.0110.02512.56
5.4.140.0070.03112.41
5.4.130.0120.02412.40
5.4.120.0100.02412.38
5.4.110.0090.01812.38
5.4.100.0080.02012.38
5.4.90.0090.02012.38
5.4.80.0070.02312.38
5.4.70.0070.02112.37
5.4.60.0080.02312.38
5.4.50.0050.02312.38
5.4.40.0090.02312.37
5.4.30.0080.02412.37
5.4.20.0080.02112.37
5.4.10.0060.02312.37
5.4.00.0070.02512.11
5.3.290.0090.01912.79
5.3.280.0050.02212.75
5.3.270.0090.01912.76
5.3.260.0070.02512.75
5.3.250.0060.02112.75
5.3.240.0100.02312.76
5.3.230.0040.02612.75
5.3.220.0100.02012.74
5.3.210.0080.02212.74
5.3.200.0060.02312.73
5.3.190.0070.02112.73
5.3.180.0070.02112.73
5.3.170.0090.01812.73
5.3.160.0080.01812.73
5.3.150.0050.02512.73
5.3.140.0080.01912.73
5.3.130.0100.01912.72
5.3.120.0070.02112.72
5.3.110.0090.01912.72
5.3.100.0060.02112.45
5.3.90.0080.01812.44
5.3.80.0080.02012.43
5.3.70.0080.02512.43
5.3.60.0050.02512.42
5.3.50.0070.02212.39
5.3.40.0090.02112.39
5.3.30.0040.02412.37
5.3.20.0090.02012.25
5.3.10.0050.02312.24
5.3.00.0070.02312.23
5.2.170.0070.01610.98
5.2.160.0070.01610.98
5.2.150.0060.01910.98
5.2.140.0040.02110.98
5.2.130.0050.02010.96
5.2.120.0070.01710.96
5.2.110.0040.01810.96
5.2.100.0030.02210.96
5.2.90.0020.01910.96
5.2.80.0090.01610.96
5.2.70.0050.01910.96
5.2.60.0030.02010.94
5.2.50.0040.01710.92
5.2.40.0050.02110.91
5.2.30.0070.01610.90
5.2.20.0050.01910.89
5.2.10.0040.01810.85
5.2.00.0060.01610.78
5.1.60.0040.01410.43
5.1.50.0040.01510.42
5.1.40.0060.01510.41
5.1.30.0070.01410.59
5.1.20.0060.01610.60
5.1.10.0070.01410.46
5.1.00.0040.01510.46
5.0.50.0050.0129.70
5.0.40.0040.0169.63
5.0.30.0060.0189.54
5.0.20.0030.0119.52
5.0.10.0030.0139.51
5.0.00.0050.0179.51
4.4.90.0020.0118.78
4.4.80.0040.0098.77
4.4.70.0030.0118.77
4.4.60.0060.0098.77
4.4.50.0060.0088.78
4.4.40.0060.0138.75
4.4.30.0040.0088.78
4.4.20.0050.0088.82
4.4.10.0020.0118.82
4.4.00.0020.0158.77
4.3.110.0050.0088.73
4.3.100.0020.0108.73
4.3.90.0020.0108.71
4.3.80.0020.0168.68
4.3.70.0040.0098.71
4.3.60.0020.0118.71
4.3.50.0020.0118.71
4.3.40.0010.0208.66
4.3.30.0020.0138.03
4.3.20.0010.0138.02
4.3.10.0020.0138.00
4.3.00.0070.00819.46