3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = '"Compilers are fun. They take nice, human readable languages like PHP or Hack and turn them into lean, mean, CPU executin&#039; turing machines. Some of these are simple enough a CS student can write one up in a weekend, some are the products of decades of fine tuning and careful architecting. Somewhere in that proud&hellip;"'; print html_entity_decode($str, ENT_HTML401);

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)
8.3.60.0150.00018.43
8.3.50.0040.01117.95
8.3.40.0070.00718.60
8.3.30.0130.00319.13
8.3.20.0040.00420.25
8.3.10.0040.00420.53
8.3.00.0060.00319.60
8.2.180.0120.00318.19
8.2.170.0100.00322.96
8.2.160.0130.00620.44
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0040.00422.09
8.2.110.0100.00020.94
8.2.100.0040.00817.72
8.2.90.0060.00617.63
8.2.80.0000.00918.73
8.2.70.0050.00317.93
8.2.60.0040.00417.93
8.2.50.0040.00418.10
8.2.40.0070.00022.19
8.2.30.0080.00019.41
8.2.20.0040.00717.66
8.2.10.0040.00417.86
8.2.00.0030.00617.52
8.1.280.0140.00625.92
8.1.270.0050.00323.84
8.1.260.0080.00026.35
8.1.250.0000.00728.09
8.1.240.0070.00317.48
8.1.230.0060.00617.70
8.1.220.0000.00817.74
8.1.210.0000.00918.77
8.1.200.0030.00617.23
8.1.190.0040.00417.23
8.1.180.0060.00618.10
8.1.170.0040.00418.49
8.1.160.0000.00818.85
8.1.150.0070.00018.57
8.1.140.0080.00017.44
8.1.130.0040.00417.79
8.1.120.0030.00517.39
8.1.110.0020.00517.29
8.1.100.0000.00717.35
8.1.90.0000.00917.40
8.1.80.0040.00417.30
8.1.70.0000.00717.39
8.1.60.0030.00617.52
8.1.50.0080.00017.50
8.1.40.0070.00417.41
8.1.30.0030.00617.57
8.1.20.0050.00217.55
8.1.10.0000.00717.40
8.1.00.0000.00817.33
8.0.300.0070.00018.77
8.0.290.0040.00416.63
8.0.280.0000.00718.36
8.0.270.0040.00417.16
8.0.260.0000.00817.25
8.0.250.0000.00716.93
8.0.240.0030.00316.92
8.0.230.0030.00316.77
8.0.220.0040.00416.82
8.0.210.0000.00616.81
8.0.200.0030.00316.91
8.0.190.0080.00016.86
8.0.180.0030.00316.86
8.0.170.0030.00616.90
8.0.160.0000.00716.72
8.0.150.0000.00716.82
8.0.140.0000.00716.80
8.0.130.0000.00713.29
8.0.120.0040.00416.69
8.0.110.0040.00416.73
8.0.100.0000.00816.81
8.0.90.0070.00016.77
8.0.80.0070.00716.85
8.0.70.0050.00316.89
8.0.60.0040.00416.70
8.0.50.0000.00816.86
8.0.30.0100.01017.27
8.0.20.0140.01817.40
8.0.10.0040.00416.80
8.0.00.0100.00816.60
7.4.330.0050.00015.13
7.4.320.0030.00316.44
7.4.300.0070.00016.45
7.4.290.0070.00016.36
7.4.280.0000.00816.47
7.4.270.0070.00016.40
7.4.260.0030.00316.41
7.4.250.0000.00816.51
7.4.240.0040.00316.41
7.4.230.0030.00316.57
7.4.220.0090.01516.61
7.4.210.0030.01016.57
7.4.200.0080.00016.43
7.4.160.0160.00016.38
7.4.150.0060.01217.40
7.4.140.0120.00517.86
7.4.130.0070.00916.38
7.4.120.0040.01316.40
7.4.110.0140.00316.56
7.4.100.0070.01016.55
7.4.90.0090.00816.45
7.4.80.0120.00616.55
7.4.70.0080.01116.50
7.4.60.0130.00416.38
7.4.50.0030.00516.32
7.4.40.0060.01016.28
7.4.30.0110.00416.46
7.4.00.0060.00915.11
7.3.330.0020.00212.98
7.3.320.0050.00013.05
7.3.310.0000.00716.22
7.3.300.0000.00716.18
7.3.290.0070.01116.19
7.3.280.0110.00516.16
7.3.270.0060.01517.40
7.3.260.0030.01416.33
7.3.250.0050.01216.20
7.3.240.0040.01616.39
7.3.230.0060.01216.41
7.3.210.0110.00616.17
7.3.200.0060.01619.39
7.3.190.0070.01016.39
7.3.180.0040.01116.40
7.3.170.0100.00716.37
7.3.160.0130.00316.12
7.2.330.0090.00916.10
7.2.320.0060.01516.66
7.2.310.0120.00616.49
7.2.300.0100.01216.66
7.2.290.0060.01016.61
7.2.00.0060.00619.16
7.1.100.0130.00318.18
7.1.70.0080.00017.13
7.1.60.0050.00816.87
7.1.50.0030.01016.78
7.1.40.0080.00316.50
7.1.30.0030.00816.61
7.1.20.0070.00416.70
7.1.10.0070.00316.55
7.1.00.0000.01016.64
7.0.200.0000.00816.38
7.0.190.0000.00816.50
7.0.180.0040.00416.09
7.0.170.0000.00716.27
7.0.160.0030.00616.16
7.0.150.0050.00516.32
7.0.140.0080.00816.40
7.0.130.0070.00716.47
7.0.120.0000.01216.40
7.0.110.0000.01116.21
7.0.100.0070.00516.27
7.0.90.0060.00616.19
7.0.80.0070.00516.34
7.0.70.0040.00716.24
7.0.60.0000.01116.10
7.0.50.0130.00916.57
7.0.40.0000.01215.45
7.0.30.0070.00515.45
7.0.20.0070.01115.45
7.0.10.0060.00815.45
7.0.00.0040.00715.45
5.6.300.0090.03920.66
5.6.290.0380.04120.91
5.6.280.0060.04821.00
5.6.270.0030.05020.84
5.6.260.0040.04521.06
5.6.250.0030.05020.98
5.6.240.0040.04920.86
5.6.230.0000.04920.91
5.6.220.0060.04420.80
5.6.210.0120.04020.96
5.6.200.0070.04320.91
5.6.190.0140.04120.85
5.6.180.0060.04520.95
5.6.170.0100.04720.81
5.6.160.0100.05220.77
5.6.150.0070.05920.96
5.6.140.0120.08220.80
5.6.130.0070.08120.77
5.6.120.0040.04720.91
5.6.110.0090.04120.80
5.6.100.0100.03920.82
5.6.90.0030.04520.79
5.6.80.0030.07820.17
5.6.70.0070.04020.34
5.6.60.0100.04320.10
5.6.50.0080.03920.33
5.6.40.0040.04120.36
5.6.30.0030.04120.12
5.6.20.0030.08020.25
5.6.10.0030.04020.19
5.6.00.0100.05320.17
5.5.380.0040.04017.47
5.5.370.0040.04317.48
5.5.360.0030.04617.45
5.5.350.0060.04317.44
5.5.340.0000.04718.01
5.5.330.0030.04117.96
5.5.320.0040.04417.85
5.5.310.0000.04618.03
5.5.300.0100.08018.03
5.5.290.0000.04417.70
5.5.280.0130.04917.85
5.5.270.0070.03617.93
5.5.260.0030.04517.82
5.5.250.0030.05717.83
5.5.240.0100.04817.39
5.5.230.0060.04517.36
5.5.220.0070.04117.43
5.5.210.0070.03917.39
5.5.200.0060.03917.27
5.5.190.0030.04817.29
5.5.180.0030.03817.36
5.5.160.0030.04317.07
5.5.150.0030.03817.33
5.5.140.0060.03417.07
5.5.130.0000.06217.45
5.5.120.0130.04917.34
5.5.110.0060.04117.36
5.5.100.0000.04117.32
5.5.90.0000.04517.18
5.5.80.0030.07417.25
5.5.70.0070.05417.21
5.5.60.0100.05017.18
5.5.50.0030.04217.29
5.5.40.0030.04216.98
5.5.30.0100.03016.98
5.5.20.0100.04017.22
5.5.10.0060.03917.38
5.5.00.0100.04117.24
5.4.450.0030.04119.39
5.4.440.0030.05219.46
5.4.430.0000.04119.35
5.4.420.0100.04219.30
5.4.410.0000.05519.27
5.4.400.0040.04319.10
5.4.390.0070.05618.83
5.4.380.0070.03719.05
5.4.370.0000.04218.97
5.4.360.0000.04818.98
5.4.350.0100.04019.04
5.4.340.0070.03619.06
5.4.320.0060.04119.05
5.4.310.0070.03819.00
5.4.300.0100.05019.09
5.4.290.0000.08418.88
5.4.280.0060.07119.05
5.4.270.0100.07018.85
5.4.260.0070.03919.07
5.4.250.0000.04018.85
5.4.240.0120.05118.96
5.4.230.0070.05519.04
5.4.220.0030.05118.87
5.4.210.0000.04219.05
5.4.200.0000.04219.11
5.4.190.0030.05018.82
5.4.180.0100.05119.05
5.4.170.0100.07319.00
5.4.160.0030.04319.04
5.4.150.0000.04719.04
5.4.140.0040.04416.59
5.4.130.0000.03916.63
5.4.120.0030.04816.54
5.4.110.0030.03616.40
5.4.100.0030.04416.46
5.4.90.0060.06116.34
5.4.80.0070.04916.39
5.4.70.0040.07016.33
5.4.60.0040.04616.44
5.4.50.0030.03516.66
5.4.40.0000.03816.60
5.4.30.0030.04016.43
5.4.20.0000.04016.43
5.4.10.0030.03816.59
5.4.00.0070.02916.13
5.3.290.0030.05615.45
5.3.280.0000.06915.45
5.3.270.0000.04815.45
5.3.260.0060.03515.45
5.3.250.0030.03715.45
5.3.240.0000.04015.45
5.3.230.0000.07115.45
5.3.220.0030.05515.45
5.3.210.0070.07015.45
5.3.200.0030.04815.45
5.3.190.0070.05615.45
5.3.180.0030.04415.45
5.3.170.0100.03615.45
5.3.160.0070.03715.45
5.3.150.0070.03315.45
5.3.140.0000.04715.45
5.3.130.0030.04915.45
5.3.120.0000.04115.45
5.3.110.0030.03715.45
5.3.100.0100.02915.45
5.3.90.0030.05215.45
5.3.80.0070.03115.45
5.3.70.0030.03515.45
5.3.60.0060.03115.45
5.3.50.0030.03815.45
5.3.40.0000.03715.45
5.3.30.0030.04415.45
5.3.20.0000.03915.45
5.3.10.0030.03715.45
5.3.00.0070.03515.45
5.2.170.0070.02515.45
5.2.160.0000.03215.45
5.2.150.0030.03015.45
5.2.140.0030.03015.45
5.2.130.0070.02715.45
5.2.120.0030.02815.45
5.2.110.0030.02915.45
5.2.100.0000.03215.45
5.2.90.0040.02715.45
5.2.80.0070.02615.45
5.2.70.0120.02615.45
5.2.60.0000.03115.45
5.2.50.0150.02615.45
5.2.40.0030.04515.45
5.2.30.0000.03415.45
5.2.20.0070.05315.45
5.2.10.0000.05215.45
5.2.00.0000.04415.45
5.1.60.0030.02515.45
5.1.50.0030.03615.45
5.1.40.0030.02615.45
5.1.30.0060.02515.45
5.1.20.0070.05615.45
5.1.10.0030.03315.45
5.1.00.0000.02815.45
5.0.50.0040.02115.45
5.0.40.0030.01915.45
5.0.30.0000.03415.45
5.0.20.0060.01815.45
5.0.10.0070.04015.45
5.0.00.0000.05415.45
4.4.90.0000.01715.45
4.4.80.0000.02015.45
4.4.70.0000.03915.45
4.4.60.0030.02515.45
4.4.50.0000.03715.45
4.4.40.0060.05115.45
4.4.30.0000.02415.45
4.4.20.0030.02915.45
4.4.10.0040.01415.45
4.4.00.0030.02315.45
4.3.110.0060.01615.45
4.3.100.0000.01815.45
4.3.90.0090.01515.45
4.3.80.0000.03715.45
4.3.70.0030.02415.45
4.3.60.0000.02515.45
4.3.50.0060.01815.45
4.3.40.0030.02515.45
4.3.30.0000.01915.45
4.3.20.0000.01715.45
4.3.10.0030.01715.45
4.3.00.0000.03915.45

preferences:
43.86 ms | 400 KiB | 5 Q