3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "New lines work in double quotes.\n"; echo 'New lines don\'t work in singlequotes.\n This will be on the same line';

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.00718.43
8.3.50.0150.00617.91
8.3.40.0040.01118.50
8.3.30.0140.00018.59
8.3.20.0080.00020.04
8.3.10.0000.00820.78
8.3.00.0040.00420.96
8.2.180.0060.01025.92
8.2.170.0120.00322.96
8.2.160.0070.00719.12
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0000.00819.33
8.2.120.0070.00026.35
8.2.110.0030.00622.26
8.2.100.0060.00617.78
8.2.90.0050.00317.75
8.2.80.0000.00818.73
8.2.70.0040.00417.50
8.2.60.0030.00617.50
8.2.50.0040.00417.63
8.2.40.0000.01017.63
8.2.30.0040.00419.09
8.2.20.0000.00818.03
8.2.10.0000.00718.00
8.2.00.0040.00417.98
8.1.280.0170.00325.92
8.1.270.0040.00422.18
8.1.260.0000.00826.35
8.1.250.0070.00028.09
8.1.240.0080.00022.05
8.1.230.0080.00319.24
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0060.00317.23
8.1.190.0000.00817.23
8.1.180.0030.00818.10
8.1.170.0000.00717.62
8.1.160.0040.00418.94
8.1.150.0040.00418.80
8.1.140.0000.00719.47
8.1.130.0000.00918.79
8.1.120.0070.00017.29
8.1.110.0050.00217.23
8.1.100.0030.00517.23
8.1.90.0030.00517.29
8.1.80.0000.00717.34
8.1.70.0000.00717.33
8.1.60.0000.00917.44
8.1.50.0000.00817.42
8.1.40.0000.00817.39
8.1.30.0070.00017.41
8.1.20.0040.00417.50
8.1.10.0080.00017.45
8.1.00.0080.00017.38
8.0.300.0040.00419.84
8.0.290.0040.00416.63
8.0.280.0000.00718.31
8.0.270.0000.00717.22
8.0.260.0060.00018.85
8.0.250.0000.00716.85
8.0.240.0000.00716.84
8.0.230.0040.00416.82
8.0.220.0000.00716.73
8.0.210.0040.00416.77
8.0.200.0000.00616.83
8.0.190.0030.00616.75
8.0.180.0000.00916.84
8.0.170.0070.00016.80
8.0.160.0080.00016.81
8.0.150.0040.00416.69
8.0.140.0050.00316.62
8.0.130.0050.00013.17
8.0.120.0030.00516.79
8.0.110.0070.00016.73
8.0.100.0000.00716.62
8.0.90.0070.00016.59
8.0.80.0100.01016.70
8.0.70.0030.00516.71
8.0.60.0040.00416.57
8.0.50.0000.00716.76
8.0.30.0100.00817.17
8.0.20.0110.00717.40
8.0.10.0080.00016.82
8.0.00.0080.00816.75
7.4.330.0000.00515.55
7.4.320.0030.00316.39
7.4.300.0060.00016.47
7.4.290.0070.00016.44
7.4.280.0040.00416.28
7.4.270.0000.00716.38
7.4.260.0030.00316.44
7.4.250.0040.00416.47
7.4.240.0040.00416.40
7.4.230.0070.00016.17
7.4.220.0000.00716.45
7.4.210.0040.01416.30
7.4.200.0070.00016.55
7.4.160.0120.00316.30
7.4.150.0110.00617.40
7.4.140.0110.01217.86
7.4.130.0110.01416.23
7.4.120.0150.00816.38
7.4.110.0100.00616.48
7.4.100.0090.00916.32
7.4.90.0040.01216.40
7.4.80.0080.00819.39
7.4.70.0090.00616.45
7.4.60.0060.00916.51
7.4.50.0100.00316.29
7.4.40.0030.01316.41
7.4.30.0110.00516.34
7.4.00.0060.00814.66
7.3.330.0030.00313.07
7.3.320.0060.00013.12
7.3.310.0030.00316.22
7.3.300.0000.00616.16
7.3.290.0080.00816.11
7.3.280.0110.00616.14
7.3.270.0130.00717.40
7.3.260.0090.01116.30
7.3.250.0070.01316.30
7.3.240.0100.00716.30
7.3.230.0030.01616.16
7.3.210.0030.01316.23
7.3.200.0080.00816.33
7.3.190.0110.00616.54
7.3.180.0100.00716.14
7.3.170.0120.00316.30
7.3.160.0080.00816.32
7.2.330.0170.00716.40
7.2.320.0060.01116.30
7.2.310.0160.00416.54
7.2.300.0070.01016.52
7.2.290.0140.00916.61
7.2.60.0000.01416.73
7.1.200.0030.00715.42
7.1.70.0050.00816.66
7.1.60.0120.01735.15
7.1.50.0060.02034.61
7.1.40.0170.01134.18
7.1.30.0210.01434.35
7.1.20.0170.01734.39
7.1.10.0100.00316.55
7.1.00.0100.00716.24
7.0.200.0030.00916.37
7.0.190.0080.01216.54
7.0.180.0050.00715.96
7.0.170.0040.01216.02
7.0.160.0130.00316.14
7.0.150.0060.00616.00
7.0.140.0080.00616.11
7.0.130.0090.00816.42
7.0.120.0030.01016.51
7.0.110.0060.00915.92
7.0.100.0040.01216.09
7.0.90.0190.00916.15
7.0.80.0940.00916.25
7.0.70.0190.00316.04
7.0.60.0860.01714.17
7.0.50.0050.00816.30
7.0.40.0110.00716.30
7.0.30.0030.01316.38
7.0.20.0060.00616.36
7.0.10.0110.00416.18
7.0.00.0930.00716.34

preferences:
60.63 ms | 400 KiB | 5 Q