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_QUOTES);

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.0120.00318.43
8.3.50.0130.00721.89
8.3.40.0090.01218.71
8.3.30.0080.00618.83
8.3.20.0070.00020.29
8.3.10.0000.00820.54
8.3.00.0040.00419.43
8.2.180.0070.00718.41
8.2.170.0100.00722.96
8.2.160.0070.00720.47
8.2.150.0000.00724.18
8.2.140.0040.00424.66
8.2.130.0050.00326.16
8.2.120.0000.00722.19
8.2.110.0090.01219.23
8.2.100.0040.00817.72
8.2.90.0040.00419.28
8.2.80.0040.00417.97
8.2.70.0000.00817.50
8.2.60.0000.00717.93
8.2.50.0050.00318.07
8.2.40.0070.00018.20
8.2.30.0000.00719.20
8.2.20.0030.00617.73
8.2.10.0050.00318.06
8.2.00.0060.00317.60
8.1.280.0070.01025.92
8.1.270.0040.00422.14
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0000.00921.05
8.1.230.0030.00917.42
8.1.220.0040.00417.74
8.1.210.0030.00518.77
8.1.200.0040.00417.35
8.1.190.0090.00017.22
8.1.180.0000.00818.10
8.1.170.0000.00818.46
8.1.160.0040.00422.01
8.1.150.0040.00418.73
8.1.140.0070.00017.26
8.1.130.0000.00717.89
8.1.120.0040.00417.31
8.1.110.0000.00717.36
8.1.100.0070.00017.36
8.1.90.0060.00317.39
8.1.80.0080.00017.26
8.1.70.0030.00317.32
8.1.60.0040.00417.39
8.1.50.0000.00817.41
8.1.40.0080.00017.33
8.1.30.0050.00317.54
8.1.20.0000.00717.57
8.1.10.0000.00717.46
8.1.00.0070.00017.46
8.0.300.0030.00618.77
8.0.290.0020.00516.63
8.0.280.0070.00018.36
8.0.270.0030.00917.18
8.0.260.0050.00217.13
8.0.250.0000.00716.85
8.0.240.0030.00316.88
8.0.230.0000.00716.85
8.0.220.0030.00316.88
8.0.210.0030.00316.71
8.0.200.0000.00716.82
8.0.190.0030.00616.89
8.0.180.0050.00316.75
8.0.170.0040.00416.80
8.0.160.0040.00416.88
8.0.150.0000.00716.81
8.0.140.0050.00216.82
8.0.130.0050.00013.17
8.0.120.0000.00816.82
8.0.110.0030.00316.79
8.0.100.0000.00716.78
8.0.90.0040.00416.84
8.0.80.0090.00616.77
8.0.70.0000.00716.87
8.0.60.0000.00716.84
8.0.50.0040.00416.70
8.0.30.0120.00517.01
8.0.20.0110.00917.40
8.0.10.0060.00316.92
8.0.00.0110.00616.57
7.4.330.0020.00215.02
7.4.320.0030.00316.46
7.4.300.0040.00416.43
7.4.290.0040.00416.43
7.4.280.0030.00516.52
7.4.270.0000.00616.58
7.4.260.0030.00316.51
7.4.250.0040.00416.39
7.4.240.0060.00216.50
7.4.230.0000.00716.35
7.4.220.0110.00816.58
7.4.210.0030.01016.57
7.4.200.0000.00716.54
7.4.160.0140.00316.46
7.4.150.0030.01417.40
7.4.140.0100.00717.86
7.4.130.0080.01016.30
7.4.120.0080.00816.46
7.4.110.0160.00016.27
7.4.100.0080.01216.44
7.4.90.0140.00316.59
7.4.80.0100.01016.65
7.4.70.0100.00716.43
7.4.60.0100.01016.56
7.4.50.0030.00316.58
7.4.40.0060.01216.60
7.4.30.0040.01216.42
7.4.00.0060.00914.77
7.3.330.0030.00212.87
7.3.320.0000.00612.90
7.3.310.0080.00016.09
7.3.300.0030.00315.97
7.3.290.0100.00316.10
7.3.280.0110.00516.18
7.3.270.0130.00317.40
7.3.260.0030.01316.38
7.3.250.0080.00916.29
7.3.240.0120.00616.30
7.3.230.0090.00916.39
7.3.210.0070.01016.41
7.3.200.0160.00319.39
7.3.190.0110.00916.37
7.3.180.0160.00616.08
7.3.170.0110.00616.27
7.3.160.0030.01116.07
7.3.10.0130.00016.11
7.3.00.0120.00016.20
7.2.330.0070.01016.57
7.2.320.0140.00916.57
7.2.310.0090.00616.68
7.2.300.0060.01416.39
7.2.290.0030.01316.62
7.2.130.0060.00616.70
7.2.120.0050.00616.32
7.2.110.0070.00316.59
7.2.100.0060.00616.47
7.2.90.0000.00916.56
7.2.80.0030.00916.58
7.2.70.0000.01016.49
7.2.60.0060.00616.47
7.2.50.0040.00816.16
7.2.40.0100.00316.46
7.2.30.0030.00816.27
7.2.20.0060.00916.54
7.2.10.0000.01116.23
7.2.00.0050.00717.81
7.1.250.0080.00415.39
7.1.200.0060.00315.76
7.1.100.0090.00617.81
7.1.70.0030.01016.78
7.1.60.0070.01819.32
7.1.50.0190.00616.93
7.1.00.0100.07022.29
7.0.200.0000.00916.67
7.0.140.0030.07321.97
7.0.60.0130.06720.07
7.0.50.0070.03717.86
7.0.40.0030.08719.96
7.0.30.0270.04020.04
7.0.20.0230.06720.16
7.0.10.0030.06320.08
7.0.00.0000.04320.19
5.6.280.0030.07320.89
5.6.210.0130.07320.56
5.6.200.0100.04318.11
5.6.190.0070.04020.63
5.6.180.3330.04320.45
5.6.170.0230.08020.33
5.6.160.0070.08020.63
5.6.150.0070.07018.18
5.6.140.0300.04018.18
5.6.130.0100.08318.08
5.6.120.0130.08021.01
5.6.110.0100.08320.98
5.6.100.0070.04020.88
5.6.90.0200.07320.98
5.6.80.0070.03720.38
5.6.70.0330.05720.43
5.5.350.0430.06720.32
5.5.340.0070.05017.91
5.5.330.0070.07720.13
5.5.320.0430.07020.30
5.5.310.0170.05720.20
5.5.300.0000.04317.89
5.5.290.0100.04017.98
5.5.280.0000.08320.75
5.5.270.0070.04320.88
5.5.260.0100.06720.76
5.5.250.0070.04020.55
5.5.240.0200.04020.35
5.4.450.0230.06019.54
5.4.440.0270.05019.39
5.4.430.0400.05019.54
5.4.420.0270.05719.56
5.4.410.0330.06719.41
5.4.400.0330.06319.12
5.4.390.0230.04718.88
5.4.380.0300.07018.91
5.4.370.0270.03319.13
5.4.360.0270.03719.18
5.4.350.0470.03719.24
5.4.340.0370.05319.21
5.4.320.0300.07018.95
5.4.310.0330.04718.80
5.4.300.0330.07018.78
5.4.290.0200.04719.16
5.4.280.0230.04018.78
5.4.270.0230.03719.25
5.4.260.0270.03319.09
5.4.250.0370.06019.23
5.4.240.0200.05019.10
5.4.230.0300.05018.92
5.4.220.0330.06019.09
5.4.210.0230.07719.21
5.4.200.0270.06019.15
5.4.190.0370.06318.89
5.4.180.0370.06319.12
5.4.170.0430.04719.21
5.4.160.0300.06719.04
5.4.150.0300.04319.20
5.4.140.0270.05016.29
5.4.130.0300.03316.27
5.4.120.0370.06316.15
5.4.110.0330.06716.43
5.4.100.0330.06316.43
5.4.90.0230.03716.30
5.4.80.0400.03316.41
5.4.70.0230.04016.33
5.4.60.0270.04016.32
5.4.50.0270.03316.36
5.4.40.0270.05016.43
5.4.30.0330.04316.04
5.4.20.0330.03716.41
5.4.10.0230.03716.36
5.4.00.0200.03715.62
5.3.290.0400.04014.56
5.3.280.0370.05314.45
5.3.270.0330.05714.43
5.3.260.0230.05014.47
5.3.250.0370.06314.69
5.3.240.0330.07014.44
5.3.230.0270.03314.45
5.3.220.0400.06014.65
5.3.210.0270.04314.51
5.3.200.0270.06014.40
5.3.190.0230.04014.43
5.3.180.0330.03014.42
5.3.170.0270.07014.41
5.3.160.0300.05314.49
5.3.150.0270.03714.50
5.3.140.0330.06714.38
5.3.130.0270.07014.52
5.3.120.0330.04314.63
5.3.110.0270.03714.63
5.3.100.0370.06313.88
5.3.90.0230.04713.88
5.3.80.0300.04713.79
5.3.70.0300.04714.06
5.3.60.0200.04013.97
5.3.50.0230.03714.04
5.3.40.0300.04713.99
5.3.30.0230.04313.75
5.3.20.0170.04313.64
5.3.10.0330.04713.52
5.3.00.0270.03013.72
5.2.170.0200.04710.98
5.2.160.0200.03010.99
5.2.150.0230.06011.01
5.2.140.0200.03011.23
5.2.130.0230.02311.15
5.2.120.0200.02711.04
5.2.110.0270.03310.96
5.2.100.0230.03710.94
5.2.90.0230.04711.04
5.2.80.0300.03711.18
5.2.70.0200.06011.11
5.2.60.0300.04310.88
5.2.50.0200.06011.06
5.2.40.0170.03010.88
5.2.30.0300.05310.82
5.2.20.0170.03010.89
5.2.10.0200.02711.01
5.2.00.0170.06010.82
5.1.60.0170.03010.08
5.1.50.0130.02710.08
5.1.40.0170.02710.08
5.1.30.0270.03710.30
5.1.20.0270.03010.25
5.1.10.0230.05010.08
5.1.00.0200.04710.11
5.0.50.0170.04310.08
5.0.40.0170.04010.08
5.0.30.0100.04310.08
5.0.20.0130.01710.08
5.0.10.0070.02010.08
5.0.00.0070.03310.08
4.4.90.0100.03310.08
4.4.80.0130.03010.08
4.4.70.0100.01310.08
4.4.60.0130.02010.08
4.4.50.0130.01710.08
4.4.40.0100.02310.08
4.4.30.0070.02710.08
4.4.20.0170.01310.08
4.4.10.0130.03010.08
4.4.00.0130.04010.08
4.3.110.0170.02710.08
4.3.100.0070.01710.08
4.3.90.0100.01310.08
4.3.80.0130.02710.08
4.3.70.0130.02310.08
4.3.60.0070.04010.08
4.3.50.0130.02310.08
4.3.40.0100.04710.08
4.3.30.0070.03310.08
4.3.20.0130.01310.08
4.3.10.0030.03010.08
4.3.00.0130.03010.08

preferences:
44.36 ms | 401 KiB | 5 Q