3v4l.org

run code in 300+ PHP versions simultaneously
<?php print <<<END This uses the "here document" syntax to output multiple lines with $variable interpolation. Note that the here document terminator must appear on a line with just a semicolon no extra whitespace! END;

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.0070.01418.18
8.3.50.0080.01321.99
8.3.40.0040.01118.64
8.3.30.0140.00018.96
8.3.20.0070.00320.29
8.3.10.0040.00423.66
8.3.00.0050.00320.79
8.2.180.0120.00316.60
8.2.170.0110.00422.96
8.2.160.0110.00418.83
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0090.00026.16
8.2.120.0050.00319.36
8.2.110.0000.00822.11
8.2.100.0040.00718.09
8.2.90.0000.00819.21
8.2.80.0080.00017.97
8.2.70.0060.00317.63
8.2.60.0000.00717.93
8.2.50.0090.00018.07
8.2.40.0040.00419.82
8.2.30.0080.00018.15
8.2.20.0040.00417.70
8.2.10.0040.00417.91
8.2.00.0040.00419.34
8.1.280.0080.00525.92
8.1.270.0110.00823.84
8.1.260.0060.00326.35
8.1.250.0070.00028.09
8.1.240.0060.00323.97
8.1.230.0100.00019.09
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0000.00917.34
8.1.190.0080.00017.10
8.1.180.0040.00418.10
8.1.170.0040.00718.45
8.1.160.0080.00021.85
8.1.150.0040.00418.43
8.1.140.0040.00417.28
8.1.130.0000.00717.80
8.1.120.0050.00217.24
8.1.110.0030.00517.23
8.1.100.0000.00817.33
8.1.90.0000.00717.34
8.1.80.0020.00517.30
8.1.70.0030.00617.30
8.1.60.0080.00017.45
8.1.50.0000.00817.25
8.1.40.0040.00417.45
8.1.30.0000.00917.47
8.1.20.0050.00317.42
8.1.10.0000.00717.46
8.1.00.0030.00617.41
8.0.300.0060.00318.77
8.0.290.0000.00716.75
8.0.280.0030.00318.39
8.0.270.0000.00717.10
8.0.260.0030.00317.23
8.0.250.0000.00716.98
8.0.240.0000.00616.84
8.0.230.0000.00716.86
8.0.220.0030.00316.82
8.0.210.0080.00016.83
8.0.200.0040.00416.82
8.0.190.0000.00816.84
8.0.180.0030.00616.80
8.0.170.0000.00816.80
8.0.160.0030.00316.93
8.0.150.0040.00416.82
8.0.140.0040.00416.82
8.0.130.0050.00013.27
8.0.120.0000.00816.81
8.0.110.0040.00416.95
8.0.100.0000.00816.86
8.0.90.0090.00016.89
8.0.80.0040.01116.84
8.0.70.0040.00416.86
8.0.60.0040.00416.77
8.0.50.0040.00416.77
8.0.30.0160.00517.06
8.0.20.0110.00917.40
8.0.10.0050.00316.99
8.0.00.0070.01116.70
7.4.330.0050.00015.00
7.4.320.0030.00316.37
7.4.300.0050.00216.38
7.4.290.0070.00016.27
7.4.280.0050.00216.45
7.4.270.0070.00016.46
7.4.260.0000.00616.43
7.4.250.0040.00416.39
7.4.240.0030.00416.34
7.4.230.0030.00316.47
7.4.220.0100.00916.55
7.4.210.0070.01416.58
7.4.200.0000.00816.28
7.4.160.0170.00616.34
7.4.150.0090.00917.40
7.4.140.0110.00717.86
7.4.130.0090.00716.48
7.4.120.0070.00916.50
7.4.110.0130.00316.45
7.4.100.0100.00716.35
7.4.90.0130.00416.66
7.4.80.0070.01019.39
7.4.70.0120.00616.38
7.4.60.0090.00916.50
7.4.50.0000.00816.45
7.4.40.0070.01416.45
7.4.30.0060.00916.50
7.3.330.0050.00013.01
7.3.320.0000.00713.24
7.3.310.0000.00716.26
7.3.300.0000.00716.16
7.3.290.0030.01016.25
7.3.280.0070.01216.23
7.3.270.0120.00617.40
7.3.260.0150.00416.48
7.3.250.0080.01016.40
7.3.240.0130.00316.57
7.3.230.0070.01016.39
7.3.210.0100.01016.39
7.3.200.0030.01319.39
7.3.190.0130.00516.48
7.3.180.0130.00316.50
7.3.170.0070.01316.38
7.3.160.0090.00616.33
7.2.330.0030.01416.39
7.2.320.0100.01016.29
7.2.310.0070.01016.34
7.2.300.0080.00816.16
7.2.290.0100.01416.49
5.4.300.0080.03712.47
5.4.290.0100.03812.46
5.4.280.0080.03412.36
5.4.270.0060.03912.36
5.4.260.0070.03812.36
5.4.250.0120.04012.36
5.4.240.0120.05012.36
5.4.230.0110.05112.35
5.4.220.0080.04712.35
5.4.210.0040.04012.35
5.4.200.0050.04512.35
5.4.190.0050.04912.35
5.4.180.0070.03912.35
5.4.170.0050.04012.36
5.4.160.0080.03912.35
5.4.150.0090.04612.35
5.4.140.0100.03612.04
5.4.130.0090.03412.02
5.4.120.0130.03211.98
5.4.110.0070.03711.98
5.4.100.0100.03411.98
5.4.90.0100.04911.98
5.4.80.0120.04311.98
5.4.70.0120.05211.97
5.4.60.0130.04611.98
5.4.50.0050.04611.97
5.4.40.0090.04711.96
5.4.30.0120.04211.96
5.4.20.0100.04511.95
5.4.10.0150.04111.96
5.4.00.0130.04411.45
5.3.280.0110.05212.71
5.3.270.0100.05612.72
5.3.260.0080.05512.72
5.3.250.0050.05512.72
5.3.240.0070.05212.72
5.3.230.0070.03912.71
5.3.220.0080.03712.68
5.3.210.0050.04212.68
5.3.200.0080.03712.68
5.3.190.0060.04112.68
5.3.180.0040.04012.68
5.3.170.0080.03712.67
5.3.160.0060.03712.67
5.3.150.0040.03912.67
5.3.140.0100.03812.66
5.3.130.0100.03912.66
5.3.120.0060.04612.66
5.3.110.0080.04212.66
5.3.100.0050.03912.12
5.3.90.0050.04012.08
5.3.80.0070.03812.07
5.3.70.0070.03812.07
5.3.60.0030.04212.06
5.3.50.0030.04112.00
5.3.40.0080.03812.00
5.3.30.0050.03711.95
5.3.20.0100.03611.73
5.3.10.0060.03611.70
5.3.00.0050.03911.68

preferences:
38.24 ms | 401 KiB | 5 Q