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 | 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.18
8.3.50.0150.00421.94
8.3.40.0090.00618.63
8.3.30.0030.01019.09
8.3.20.0040.00420.38
8.3.10.0040.00420.54
8.3.00.0030.00619.56
8.2.180.0150.00016.50
8.2.170.0040.01122.96
8.2.160.0070.00720.39
8.2.150.0000.00824.18
8.2.140.0000.00824.66
8.2.130.0050.00326.16
8.2.120.0040.00422.22
8.2.110.0070.00322.24
8.2.100.0040.00717.78
8.2.90.0060.00319.08
8.2.80.0000.00817.97
8.2.70.0040.00417.63
8.2.60.0070.00017.80
8.2.50.0000.00818.07
8.2.40.0040.00418.21
8.2.30.0000.00719.23
8.2.20.0060.00317.56
8.2.10.0000.00717.93
8.2.00.0000.01017.50
8.1.280.0170.00625.92
8.1.270.0080.00022.18
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0050.00519.14
8.1.230.0000.01117.45
8.1.220.0000.00817.74
8.1.210.0050.00318.77
8.1.200.0100.00017.23
8.1.190.0040.00417.10
8.1.180.0000.00918.10
8.1.170.0080.00018.57
8.1.160.0000.00821.87
8.1.150.0040.00418.84
8.1.140.0070.00017.30
8.1.130.0000.00717.82
8.1.120.0040.00417.33
8.1.110.0000.00717.36
8.1.100.0040.00417.29
8.1.90.0050.00317.28
8.1.80.0040.00417.31
8.1.70.0030.00317.36
8.1.60.0000.00817.52
8.1.50.0030.00617.36
8.1.40.0070.00417.33
8.1.30.0050.00317.58
8.1.20.0040.00417.56
8.1.10.0000.00717.41
8.1.00.0040.00417.41
8.0.300.0070.00018.77
8.0.290.0000.00716.75
8.0.280.0050.00218.46
8.0.270.0120.00617.30
8.0.260.0060.00017.13
8.0.250.0040.00416.89
8.0.240.0030.00316.95
8.0.230.0000.00816.81
8.0.220.0040.00416.83
8.0.210.0030.00316.73
8.0.200.0060.00016.79
8.0.190.0000.01016.91
8.0.180.0050.00216.87
8.0.170.0000.00816.87
8.0.160.0030.00316.84
8.0.150.0000.00716.67
8.0.140.0000.00716.75
8.0.130.0050.00013.22
8.0.120.0050.00316.81
8.0.110.0070.00016.80
8.0.100.0000.00716.73
8.0.90.0040.00416.73
8.0.80.0110.00416.77
8.0.70.0040.00416.72
8.0.60.0000.00816.89
8.0.50.0040.00416.81
8.0.30.0090.01016.89
8.0.20.0150.00617.40
8.0.10.0050.00316.88
8.0.00.0080.01016.59
7.4.330.0000.00615.00
7.4.320.0000.00616.37
7.4.300.0060.00016.45
7.4.290.0050.00316.52
7.4.280.0040.00416.47
7.4.270.0030.00316.53
7.4.260.0040.00416.50
7.4.250.0030.00516.41
7.4.240.0000.00716.50
7.4.230.0030.00316.60
7.4.220.0140.00716.57
7.4.210.0070.00716.47
7.4.200.0040.00416.24
7.4.160.0060.00916.39
7.4.150.0120.00617.40
7.4.140.0080.00917.86
7.4.130.0120.00516.47
7.4.120.0120.00516.50
7.4.110.0040.01416.36
7.4.100.0140.00316.56
7.4.90.0120.00616.50
7.4.80.0140.00416.45
7.4.70.0030.01316.49
7.4.60.0100.00616.34
7.4.50.0080.00016.61
7.4.40.0130.00316.55
7.4.30.0140.00316.38
7.4.00.0060.01214.86
7.3.330.0000.00512.94
7.3.320.0030.00312.98
7.3.310.0040.00416.20
7.3.300.0030.00316.08
7.3.290.0030.01016.15
7.3.280.0070.00916.16
7.3.270.0060.01217.40
7.3.260.0070.01116.24
7.3.250.0100.00716.37
7.3.240.0150.00616.21
7.3.230.0160.00216.39
7.3.210.0070.01016.31
7.3.200.0030.01319.39
7.3.190.0100.01016.17
7.3.180.0060.01216.45
7.3.170.0110.00516.32
7.3.160.0130.00316.33
7.3.10.0040.00816.55
7.3.00.0000.01316.38
7.2.330.0080.00816.38
7.2.320.0180.00316.48
7.2.310.0030.01316.17
7.2.300.0120.01216.36
7.2.290.0090.01216.18
7.2.130.0060.00816.77
7.2.120.0070.00716.86
7.2.110.0070.00316.81
7.2.100.0030.01316.66
7.2.90.0090.00616.44
7.2.80.0070.00316.58
7.2.70.0070.00716.72
7.2.60.0130.00316.90
7.2.50.0060.00616.63
7.2.40.0060.00916.83
7.2.30.0040.01117.03
7.2.20.0000.01616.87
7.2.10.0050.00516.86
7.2.00.0060.00717.81
7.1.250.0120.00315.71
7.1.100.0090.00318.17
7.1.70.0060.00317.05
7.1.60.0070.01619.32
7.1.50.0070.01716.85
7.1.00.0170.06322.57
7.0.200.0000.00716.41
7.0.140.0070.07022.04
7.0.60.0000.06019.96
7.0.50.0070.04717.91
7.0.40.0070.08320.12
7.0.30.0300.08020.18
7.0.20.0430.06020.16
7.0.10.0100.08320.20
7.0.00.0030.04720.11
5.6.280.0100.06020.92
5.6.210.0100.08320.46
5.6.200.0030.09018.21
5.6.190.0070.08720.35
5.6.180.0430.06320.64
5.6.170.0230.05020.45
5.6.160.0130.08020.46
5.6.150.0030.04318.06
5.6.140.0070.08318.14
5.6.130.0000.08718.11
5.6.120.0170.06721.01
5.6.110.0130.07321.04
5.6.100.0130.04720.97
5.6.90.0030.08020.85
5.6.80.0000.04020.39
5.5.350.4200.04320.39
5.5.340.0200.07017.94
5.5.330.0170.04320.48
5.5.320.0000.05020.29
5.5.310.0330.03720.32
5.5.300.0070.08317.94
5.5.290.0130.05018.01
5.5.280.0000.08720.82
5.5.270.0030.04320.75
5.5.260.0100.04320.86
5.5.250.0000.04320.60
5.5.240.0130.07720.23
5.4.450.3700.03319.46
5.4.440.2830.04319.13
5.4.430.3630.03719.54
5.4.420.3330.04719.42
5.4.410.3270.04719.28
5.4.400.4030.04018.79
5.4.390.4900.03719.24
5.4.380.4030.04318.93
5.4.370.4230.03719.24
5.4.360.4070.03719.13
5.4.350.4270.04018.91
5.4.340.3730.04019.10
5.4.320.3500.04319.13
5.4.310.3430.03319.08
5.4.300.3670.03719.13
5.4.290.3800.04019.07
5.4.280.3630.03318.80
5.4.270.3370.03719.15
5.4.260.3370.04018.91
5.4.250.3470.03719.21
5.4.240.3430.03318.77
5.4.230.3630.03318.78
5.4.220.3670.03718.80
5.4.210.4430.04019.07
5.4.200.3100.04019.09
5.4.190.3570.03019.07
5.4.180.3970.04019.07
5.4.170.4400.03719.05
5.4.160.4530.04018.89
5.4.150.4230.04019.23
5.4.140.4800.03016.38
5.4.130.3700.03316.26
5.4.120.3700.03316.25
5.4.110.3570.03316.31
5.4.100.3370.03316.22
5.4.90.3770.03316.20
5.4.80.3630.02716.37
5.4.70.3900.03316.37
5.4.60.3330.03716.37
5.4.50.4500.04316.38
5.4.40.4170.03716.36
5.4.30.4000.03716.41
5.4.20.3730.02716.31
5.4.10.3870.03716.36
5.4.00.3670.03315.77
5.3.290.3930.03714.75
5.3.280.3730.03714.45
5.3.270.4070.04014.47
5.3.260.4270.04014.63
5.3.250.4100.04014.44
5.3.240.3200.03714.44
5.3.230.3630.03714.54
5.3.220.4030.03714.42
5.3.210.4330.04014.51
5.3.200.3470.03314.51
5.3.190.3700.03714.51
5.3.180.4100.03714.50
5.3.170.3600.02314.58
5.3.160.3930.04014.49
5.3.150.4570.02714.46
5.3.140.4000.03314.48
5.3.130.3930.04014.47
5.3.120.4330.04314.38
5.3.110.4200.03714.49
5.3.100.3200.04014.00
5.3.90.3430.03713.86
5.3.80.3730.03313.86
5.3.70.3500.03313.89
5.3.60.3500.03314.04
5.3.50.3670.04013.99
5.3.40.3470.04013.85
5.3.30.3500.03313.78
5.3.20.3530.03013.52
5.3.10.3500.03013.74
5.3.00.3630.03713.58
5.2.170.3030.02711.25
5.2.160.3200.03011.19
5.2.150.2970.03311.19
5.2.140.2870.03010.98
5.2.130.3000.02311.04
5.2.120.3000.02310.99
5.2.110.2830.03010.96
5.2.100.3100.02310.94
5.2.90.3130.03011.12
5.2.80.2930.02710.93
5.2.70.2870.03311.25
5.2.60.2900.02710.98
5.2.50.3430.03010.87
5.2.40.2370.02710.89
5.2.30.2630.03010.86
5.2.20.2600.03010.80
5.2.10.2730.02010.88
5.2.00.2600.02010.68
5.1.60.3370.0209.88
5.1.50.2770.0179.97
5.1.40.3330.02710.09
5.1.30.2600.02710.35
5.1.20.2670.02710.50
5.1.10.2770.0279.93
5.1.00.2570.02710.15
5.0.50.1130.0238.51
5.0.40.1330.0238.49
5.0.30.1400.0408.11
5.0.20.1370.0238.11
5.0.10.1200.0208.08
5.0.00.1100.0308.27
4.4.90.1170.0137.84
4.4.80.1670.0137.84
4.4.70.1430.0137.84
4.4.60.1500.0177.84
4.4.50.1330.0177.84
4.4.40.1400.0237.84
4.4.30.1730.0137.84
4.4.20.1270.0177.84
4.4.10.1570.0137.84
4.4.00.1300.0277.84
4.3.110.1370.0207.84
4.3.100.1330.0177.84
4.3.90.1200.0137.84
4.3.80.1300.0307.84
4.3.70.1330.0107.84
4.3.60.1500.0177.84
4.3.50.1370.0177.84
4.3.40.1130.0237.84
4.3.30.0630.0137.84
4.3.20.0630.0207.84
4.3.10.0870.0237.84
4.3.00.0900.0207.84

preferences:
55.38 ms | 401 KiB | 5 Q