3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "<script type='text/javascript'> alert('The PDF file is too large and has been send to your email.\n Please check your Spam or Junk folder.'); window.location = 'http://domain.com'; </script>";

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.0180.00018.25
8.3.50.0250.00521.02
8.3.40.0120.00618.72
8.3.30.0070.01420.30
8.3.20.0040.01420.07
8.3.10.0120.00822.18
8.3.00.0130.00622.21
8.2.180.0150.00418.41
8.2.170.0110.00322.96
8.2.160.0100.00320.52
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0000.00819.64
8.2.110.0090.00022.29
8.2.100.0070.00319.16
8.2.90.0000.00719.13
8.2.80.0040.00419.38
8.2.70.0040.00417.63
8.2.60.0030.00517.80
8.2.50.0000.00918.07
8.2.40.0080.00018.16
8.2.30.0000.00817.98
8.2.20.0000.00717.39
8.2.10.0040.00417.52
8.2.00.0050.00317.46
8.1.280.0140.00725.92
8.1.270.0100.01020.27
8.1.260.0090.00626.35
8.1.250.0140.00328.09
8.1.240.0070.01023.97
8.1.230.0000.01119.21
8.1.220.0030.00617.74
8.1.210.0080.00018.77
8.1.200.0030.00617.10
8.1.190.0040.00417.39
8.1.180.0080.00018.76
8.1.170.0070.00018.36
8.1.160.0030.00322.17
8.1.150.0030.00718.50
8.1.140.0040.00417.30
8.1.130.0060.00317.79
8.1.120.0020.00517.30
8.1.110.0000.00817.36
8.1.100.0040.00317.34
8.1.90.0000.00717.23
8.1.80.0030.00317.27
8.1.70.0030.00317.27
8.1.60.0000.00917.40
8.1.50.0040.00417.42
8.1.40.0040.00417.41
8.1.30.0030.00617.42
8.1.20.0050.00317.40
8.1.10.0070.00017.33
8.1.00.0050.00317.29
8.0.300.0030.00318.77
8.0.290.0070.00017.05
8.0.280.0040.00418.36
8.0.270.0000.00717.13
8.0.260.0000.00616.80
8.0.250.0050.00216.82
8.0.240.0060.00316.84
8.0.230.0000.00716.81
8.0.220.0070.00016.68
8.0.210.0030.00316.63
8.0.200.0020.00816.82
8.0.190.0040.00416.86
8.0.180.0050.00316.68
8.0.170.0040.00416.83
8.0.160.0050.00216.62
8.0.150.0040.00416.67
8.0.140.0000.00716.69
8.0.130.0030.00313.26
8.0.120.0020.00516.55
8.0.110.0000.00816.64
8.0.100.0000.00716.86
8.0.90.0040.00416.65
8.0.80.0110.01116.71
8.0.70.0030.00516.74
8.0.60.0000.00816.81
8.0.50.0040.00416.77
8.0.30.0110.00916.87
8.0.20.0130.00617.40
8.0.10.0030.00516.98
8.0.00.0060.01416.77
7.4.330.0000.00515.00
7.4.320.0070.00016.43
7.4.300.0030.00316.46
7.4.290.0030.00316.45
7.4.280.0030.00316.27
7.4.270.0000.00716.39
7.4.260.0000.00716.36
7.4.250.0000.00716.31
7.4.240.0020.00616.37
7.4.230.0040.00416.50
7.4.220.0120.00616.38
7.4.210.0050.01216.44
7.4.200.0030.00316.44
7.4.190.0030.00316.31
7.4.160.0080.00816.35
7.4.150.0100.00717.40
7.4.140.0120.00617.86
7.4.130.0110.00616.28
7.4.120.0120.00516.29
7.4.110.0130.01016.41
7.4.100.0100.01116.24
7.4.90.0060.00916.51
7.4.80.0070.01019.39
7.4.70.0100.00616.44
7.4.60.0070.01116.36
7.4.50.0000.00816.22
7.4.40.0030.01322.77
7.4.30.0070.01016.19
7.4.00.0030.01014.58
7.3.330.0030.00312.95
7.3.320.0060.00013.02
7.3.310.0030.00316.08
7.3.300.0000.00916.11
7.3.290.0060.00916.17
7.3.280.0120.00316.14
7.3.270.0060.01017.40
7.3.260.0090.00916.47
7.3.250.0100.00716.12
7.3.240.0090.00916.29
7.3.230.0070.01016.39
7.3.210.0170.00316.42
7.3.200.0040.01119.39
7.3.190.0090.00916.38
7.3.180.0060.01516.20
7.3.170.0060.01116.30
7.3.160.0000.02216.36
7.3.120.0060.00614.64
7.2.330.0160.00316.42
7.2.320.0100.01316.55
7.2.310.0140.00316.62
7.2.300.0060.00916.28
7.2.290.0100.01316.36
7.2.00.0090.00919.38
7.1.100.0060.00917.93
7.1.70.0030.00717.04
7.1.60.0070.01719.29
7.1.50.0130.00716.91
7.1.00.0100.06322.51
7.0.200.2280.00314.45
7.0.140.0030.07322.07
7.0.60.0170.07319.96
7.0.50.0130.08017.78
7.0.40.0030.04719.96
7.0.30.0430.06020.04
7.0.20.0270.08720.18
7.0.10.0070.08720.02
7.0.00.0100.07020.30
5.6.280.0030.07020.98
5.6.210.0130.07320.68
5.6.200.0070.04018.16
5.6.190.0070.04020.36
5.6.180.0300.05020.35
5.6.170.0400.04720.52
5.6.160.0100.03720.54
5.6.150.0000.08718.09
5.6.140.0030.09018.17
5.6.130.0070.08018.22
5.6.120.0100.04020.98
5.6.110.0070.08321.01
5.6.100.0030.09020.85
5.6.90.0070.08320.99
5.6.80.0070.03720.39
5.6.70.3000.03320.34
5.5.350.0070.03320.40
5.5.340.0130.06017.95
5.5.330.0130.03320.19
5.5.320.0030.05020.21
5.5.310.0170.04320.32
5.5.300.0030.07717.91
5.5.290.0070.06317.92
5.5.280.0000.08020.77
5.5.270.0070.04720.88
5.5.260.0200.06720.72
5.5.250.0130.07320.57
5.5.240.0000.07720.11
5.4.450.0700.06019.28
5.4.440.0870.05319.61
5.4.430.0830.05319.53
5.4.420.0070.05719.09
5.4.410.0700.05319.30
5.4.400.0930.06718.64
5.4.390.1030.05318.49
5.4.380.0300.04718.49
5.4.370.0200.04718.67
5.4.360.0170.05018.46
5.4.350.0090.03611.97
5.4.340.0070.04011.97
5.4.320.0090.03312.45
5.4.310.0070.03912.45
5.4.300.0120.03412.45
5.4.290.0070.04312.45
5.4.280.0070.03612.34
5.4.270.0110.04312.35
5.4.260.0080.04112.34
5.4.250.0100.05018.84
5.4.240.0170.04318.66
5.4.230.0170.04318.82
5.4.220.0070.05718.68
5.4.210.0170.05018.67
5.4.200.0070.07018.82
5.4.190.0100.05018.67
5.4.180.0030.06019.01
5.4.170.0170.04718.73
5.4.160.0130.07318.88
5.4.150.0070.08018.64
5.4.140.0070.05316.21
5.4.130.0030.05316.21
5.4.120.0070.07316.20
5.4.110.0070.05316.47
5.4.100.0070.04716.31
5.4.90.0070.04716.47
5.4.80.0070.05016.46
5.4.70.0100.04716.27
5.4.60.0000.05316.46
5.4.50.0070.04716.41
5.4.40.0070.04716.47
5.4.30.0130.04016.41
5.4.20.0070.04716.37
5.4.10.0030.05316.37
5.4.00.0030.05315.82
5.3.290.0110.03812.80
5.3.280.0070.05714.60
5.3.270.0170.04314.44
5.3.260.0070.05714.52
5.3.250.0130.04314.46
5.3.240.0100.05014.62
5.3.230.0100.04714.76
5.3.220.0100.07014.57
5.3.210.0100.04714.57
5.3.200.0030.05014.26
5.3.190.0030.06014.57
5.3.180.0070.04714.71
5.3.170.0000.05714.57
5.3.160.0070.05014.39
5.3.150.0000.05714.60
5.3.140.0070.05314.70
5.3.130.0030.05314.55
5.3.120.0100.05014.39
5.3.110.0070.05314.43
5.3.100.0130.04714.13
5.3.90.0100.04314.06
5.3.80.0030.05014.03
5.3.70.0070.05013.78
5.3.60.0030.05014.09
5.3.50.0070.04713.99
5.3.40.0000.05713.86
5.3.30.0070.04713.91
5.3.20.0070.05013.38
5.3.10.0200.03713.65
5.3.00.0100.05013.49

preferences:
41.99 ms | 401 KiB | 5 Q