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, 'UTF-8') . "\r\n";

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.0140.00718.43
8.3.50.0100.00718.19
8.3.40.0070.00718.42
8.3.30.0100.00719.13
8.3.20.0000.00720.33
8.3.10.0030.00620.59
8.3.00.0040.00419.56
8.2.180.0120.00618.31
8.2.170.0040.01122.96
8.2.160.0080.00820.46
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0000.00722.41
8.2.110.0070.00320.99
8.2.100.0060.00617.59
8.2.90.0070.00018.09
8.2.80.0040.00417.97
8.2.70.0030.00617.48
8.2.60.0000.00818.03
8.2.50.0030.00518.10
8.2.40.0040.00418.21
8.2.30.0000.00719.19
8.2.20.0000.00817.79
8.2.10.0000.00717.87
8.2.00.0000.00717.57
8.1.280.0200.00025.92
8.1.270.0030.00622.06
8.1.260.0000.00826.35
8.1.250.0080.00028.09
8.1.240.0030.00719.21
8.1.230.0070.00722.69
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0030.00617.36
8.1.190.0000.00817.23
8.1.180.0000.00818.10
8.1.170.0040.00418.48
8.1.160.0040.00422.00
8.1.150.0030.00518.85
8.1.140.0040.00417.44
8.1.130.0000.00717.70
8.1.120.0030.00417.41
8.1.110.0040.00417.28
8.1.100.0050.00317.48
8.1.90.0000.00717.42
8.1.80.0000.00717.49
8.1.70.0000.00717.45
8.1.60.0030.00617.57
8.1.50.0030.00617.51
8.1.40.0080.00317.55
8.1.30.0080.00017.59
8.1.20.0030.00517.64
8.1.10.0040.00417.44
8.1.00.0040.00417.36
8.0.300.0040.00421.82
8.0.290.0000.00816.63
8.0.280.0050.00318.31
8.0.270.0040.00417.26
8.0.260.0060.00017.27
8.0.250.0030.00316.93
8.0.240.0000.00816.99
8.0.230.0000.00716.96
8.0.220.0040.00416.90
8.0.210.0000.00716.80
8.0.200.0000.00716.95
8.0.190.0050.00516.86
8.0.180.0030.00316.84
8.0.170.0040.00416.98
8.0.160.0000.00716.77
8.0.150.0050.00316.86
8.0.140.0070.00016.80
8.0.130.0000.00613.33
8.0.120.0040.00416.89
8.0.110.0040.00416.72
8.0.100.0000.00716.95
8.0.90.0040.00416.95
8.0.80.0060.01016.93
8.0.70.0040.00416.85
8.0.60.0040.00416.70
8.0.50.0040.00416.89
8.0.30.0070.01116.88
8.0.20.0150.00917.40
8.0.10.0040.00416.74
8.0.00.0100.00616.68
7.4.330.0000.00615.03
7.4.320.0070.00016.37
7.4.300.0000.00716.45
7.4.290.0000.00716.59
7.4.280.0040.00416.45
7.4.270.0030.00316.39
7.4.260.0000.00616.41
7.4.250.0040.00416.36
7.4.240.0040.00316.49
7.4.230.0000.00716.51
7.4.220.0100.01016.58
7.4.210.0050.00816.51
7.4.200.0030.00316.61
7.4.160.0070.01016.40
7.4.150.0060.01217.40
7.4.140.0040.01217.86
7.4.130.0080.00816.34
7.4.120.0080.00916.50
7.4.110.0030.01416.48
7.4.100.0110.00716.46
7.4.90.0030.01316.28
7.4.80.0030.01316.46
7.4.70.0080.01616.67
7.4.60.0070.01016.39
7.4.50.0030.00316.58
7.4.40.0000.01716.39
7.4.30.0090.00616.47
7.4.00.0090.00614.98
7.3.330.0030.00313.12
7.3.320.0060.00013.00
7.3.310.0000.00716.19
7.3.300.0060.00016.22
7.3.290.0100.00316.29
7.3.280.0100.00616.21
7.3.270.0140.00317.40
7.3.260.0120.00816.37
7.3.250.0140.00716.38
7.3.240.0180.00016.36
7.3.230.0130.00316.48
7.3.210.0060.01216.20
7.3.200.0060.01019.39
7.3.190.0120.00616.45
7.3.180.0120.00616.41
7.3.170.0060.01116.27
7.3.160.0110.00416.42
7.3.00.0070.00716.41
7.2.330.0100.00716.16
7.2.320.0100.01016.60
7.2.310.0070.00916.48
7.2.300.0140.00316.28
7.2.290.0100.00716.66
7.2.130.0070.00716.59
7.2.120.0060.00916.93
7.2.110.0060.00316.98
7.2.100.0030.00716.71
7.2.90.0070.00716.64
7.2.80.0030.00916.92
7.2.70.0030.00616.59
7.2.60.0000.01416.87
7.2.50.0090.00616.90
7.2.40.0030.00616.76
7.2.30.0090.00316.92
7.2.20.0030.00716.73
7.2.10.0070.00716.73
7.2.00.0060.00518.08
7.1.250.0030.00315.83
7.1.240.0040.00815.60
7.1.230.0060.00315.59
7.1.220.0030.01015.76
7.1.210.0030.01315.75
7.1.200.0040.00415.34
7.1.190.0040.00715.64
7.1.180.0000.01415.87
7.1.170.0040.00415.80
7.1.160.0040.01115.52
7.1.150.0100.00315.73
7.1.140.0060.00315.68
7.1.130.0090.00015.77
7.1.120.0030.00915.89
7.1.110.0070.00015.77
7.1.100.0070.00516.84
7.1.90.0060.00315.80
7.1.80.0080.00615.54
7.1.70.0020.00816.28
7.1.60.0060.01217.51
7.1.50.0060.01316.13
7.1.40.0070.00715.48
7.1.30.0060.00815.66
7.1.20.0000.01115.39
7.1.10.0060.00915.78
7.1.00.0030.04318.96
7.0.330.0100.00015.02
7.0.320.0060.00315.23
7.0.310.0000.00915.12
7.0.300.0040.01115.48
7.0.290.0030.00515.21
7.0.280.0030.00315.27
7.0.270.0040.00415.31
7.0.260.0080.00415.18
7.0.250.0040.00415.39
7.0.240.0110.00015.43
7.0.230.0030.00315.44
7.0.220.0060.00315.27
7.0.210.0070.00714.97
7.0.200.0020.00715.93
7.0.190.0030.00615.35
7.0.180.0030.00615.24
7.0.170.0080.00315.20
7.0.160.0040.00715.50
7.0.150.0000.01415.51
7.0.140.0040.04118.70
7.0.130.0070.00015.52
7.0.120.0030.00915.24
7.0.110.0040.00815.33
7.0.100.0060.00315.37
7.0.90.0000.01215.35
7.0.80.0070.00415.29
7.0.70.0030.00915.36
7.0.60.0030.02617.67
7.0.50.0050.04616.66
7.0.40.0140.03116.74
7.0.30.0170.03816.66
7.0.20.0110.02116.73
7.0.10.0190.02316.77
7.0.00.0110.04316.72
5.6.380.0040.00414.23
5.6.370.0070.00714.42
5.6.360.0040.01214.31
5.6.350.0100.00314.27
5.6.340.0000.01114.13
5.6.330.0000.01014.39
5.6.320.0060.00914.09
5.6.310.0030.00714.46
5.6.300.0070.00714.16
5.6.290.0030.00314.25
5.6.280.0020.04317.53
5.6.270.0090.00614.05
5.6.260.0050.00514.53
5.6.250.0100.00314.36
5.6.240.0000.01314.43
5.6.230.0000.01314.30
5.6.220.0070.00414.34
5.6.210.0050.03417.39
5.6.200.0030.03416.30
5.6.190.0070.02917.27
5.6.180.0120.03017.38
5.6.170.0160.03317.32
5.6.160.0030.04917.40
5.6.150.0020.02816.29
5.6.140.0020.02516.16
5.6.130.0030.04316.25
5.6.120.0030.04317.63
5.6.110.0100.03817.68
5.6.100.0080.04217.68
5.6.90.0130.04017.63
5.6.80.0050.03417.41
5.6.70.2150.02517.39
5.6.60.0070.00414.17
5.6.50.0030.01014.01
5.6.40.0030.00914.10
5.6.30.0060.00613.99
5.6.20.0070.00714.11
5.6.10.0070.00014.29
5.6.00.0090.00614.16
5.5.380.0030.00311.18
5.5.370.0000.01011.18
5.5.360.0030.01011.18
5.5.350.0130.02215.78
5.5.340.0070.04014.53
5.5.330.0050.02415.73
5.5.320.0220.03515.73
5.5.310.0160.04115.73
5.5.300.0020.04514.60
5.5.290.0090.04214.56
5.5.280.0100.04115.97
5.5.270.0080.02015.92
5.5.260.0070.04416.03
5.5.250.0050.04515.82
5.5.240.0200.03815.71
5.5.230.0090.00311.18
5.5.220.0030.00911.18
5.5.210.0030.00311.18
5.5.200.0060.00611.18
5.5.190.0070.00311.18
5.5.180.0050.00011.18
5.5.170.0030.00711.18
5.5.160.0080.00311.18
5.5.150.0000.00911.18
5.5.140.0030.00311.18
5.5.130.0060.00311.18
5.5.120.0030.00311.18
5.5.110.0050.00211.18
5.5.100.0030.00911.18
5.5.90.0030.00311.18
5.5.80.0000.00911.18
5.5.70.0000.00511.18
5.5.60.0040.00711.18
5.5.50.0040.00711.18
5.5.40.0080.00311.18
5.5.30.0000.00911.18
5.5.20.0030.00611.18
5.5.10.0040.00711.18
5.5.00.0000.01011.18
5.4.450.0050.03315.21
5.4.440.0340.02715.34
5.4.430.0500.03115.39
5.4.420.0530.02615.30
5.4.410.0080.02715.18
5.4.400.0480.03015.20
5.4.390.0450.02915.24
5.4.380.0130.03414.94
5.4.370.0130.03014.93
5.4.360.0220.03814.97
5.4.350.0200.04014.93
5.4.340.0180.04314.85
5.4.330.0060.00011.18
5.4.320.0080.02111.81
5.4.310.0020.02211.81
5.4.300.0070.03511.81
5.4.290.0070.02111.81
5.4.280.0020.02311.76
5.4.270.0060.02911.76
5.4.260.0080.02111.76
5.4.250.0050.02211.76
5.4.240.0060.02611.76
5.4.230.0100.01911.76
5.4.220.0060.02011.76
5.4.210.0050.01811.76
5.4.200.0040.02011.76
5.4.190.0040.02211.75
5.4.180.0060.02111.75
5.4.170.0070.01911.76
5.4.160.0040.02211.76
5.4.150.0070.02211.76
5.4.140.0030.02211.60
5.4.130.0080.02011.59
5.4.120.0060.02011.57
5.4.110.0040.02111.57
5.4.100.0050.01911.57
5.4.90.0020.02311.57
5.4.80.0020.02211.57
5.4.70.0030.02011.57
5.4.60.0080.01611.57
5.4.50.0040.02011.57
5.4.40.0050.02111.56
5.4.30.0070.02011.56
5.4.20.0030.02111.56
5.4.10.0020.02111.56
5.4.00.0080.01911.30
5.3.290.0060.02211.99
5.3.280.0070.01811.94
5.3.270.0050.02311.95
5.3.260.0040.02311.95
5.3.250.0050.02111.95
5.3.240.0060.02011.95
5.3.230.0040.02111.94
5.3.220.0040.02111.93
5.3.210.0040.02311.93
5.3.200.0070.02011.93
5.3.190.0030.02511.93
5.3.180.0040.02411.92
5.3.170.0070.02111.92
5.3.160.0020.02311.92
5.3.150.0050.02711.92
5.3.140.0050.02011.92
5.3.130.0040.02411.91
5.3.120.0060.02111.92
5.3.110.0070.02011.92
5.3.100.0050.02011.65
5.3.90.0040.02311.63
5.3.80.0040.02111.63
5.3.70.0020.02411.63
5.3.60.0040.01911.62
5.3.50.0020.02211.59
5.3.40.0020.02511.59
5.3.30.0050.01911.56
5.3.20.0050.01911.45
5.3.10.0060.02511.43
5.3.00.0050.02211.43
5.2.170.0020.02010.18
5.2.160.0060.01910.18
5.2.150.0020.02110.18
5.2.140.0020.02410.18
5.2.130.0070.01610.16
5.2.120.0050.01810.16
5.2.110.0050.01710.16
5.2.100.0020.01710.16
5.2.90.0050.01510.16
5.2.80.0050.01710.15
5.2.70.0020.01810.15
5.2.60.0020.01910.13
5.2.50.0040.01710.12
5.2.40.0050.01710.10
5.2.30.0020.01810.09
5.2.20.0050.01410.09
5.2.10.0050.01910.05
5.2.00.0080.0149.98
5.1.60.0050.0179.62
5.1.50.0050.0179.62
5.1.40.0050.0199.61
5.1.30.0050.0169.79
5.1.20.0060.0199.80
5.1.10.0040.0179.66
5.1.00.0030.0159.66
5.0.50.0050.0108.90
5.0.40.0010.0168.83
5.0.30.0050.0218.74
5.0.20.0040.0158.72
5.0.10.0020.0148.71
5.0.00.0030.0188.70
4.4.90.0040.0107.98
4.4.80.0040.0107.96
4.4.70.0030.0097.96
4.4.60.0020.0107.96
4.4.50.0020.0117.97
4.4.40.0020.0147.94
4.4.30.0030.0097.97
4.4.20.0030.0118.01
4.4.10.0050.0098.01
4.4.00.0020.0167.97
4.3.110.0020.0097.92
4.3.100.0020.0117.92
4.3.90.0010.0107.90
4.3.80.0020.0147.88
4.3.70.0050.0067.90
4.3.60.0020.0097.90
4.3.50.0020.0117.90
4.3.40.0030.0147.86
4.3.30.0060.0087.23
4.3.20.0020.0107.22
4.3.10.0020.0107.19
4.3.00.0030.0139.08

preferences:
42.21 ms | 400 KiB | 5 Q