3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = <<<EOD Example of string spanning multiple lines using heredoc syntax. EOD;

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.0080.00818.18
8.3.50.0130.00621.08
8.3.40.0060.00918.73
8.3.30.0070.00720.14
8.3.20.0030.00618.44
8.3.10.0080.00021.11
8.3.00.0070.00023.59
8.2.180.0170.00316.38
8.2.170.0090.00622.96
8.2.160.0100.00320.22
8.2.150.0030.00524.18
8.2.140.0040.00424.66
8.2.130.0050.00226.16
8.2.120.0040.00419.83
8.2.110.0050.00519.27
8.2.100.0060.00617.78
8.2.90.0060.00319.23
8.2.80.0000.00719.14
8.2.70.0000.01117.50
8.2.60.0050.00317.93
8.2.50.0000.00818.07
8.2.40.0070.00317.88
8.2.30.0050.00219.37
8.2.20.0070.00017.47
8.2.10.0050.00317.57
8.2.00.0070.00317.49
8.1.280.0150.00625.92
8.1.270.0040.00423.99
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0070.00322.30
8.1.230.0040.00720.89
8.1.220.0090.00018.77
8.1.210.0040.00418.77
8.1.200.0030.00617.35
8.1.190.0020.00517.51
8.1.180.0000.00818.10
8.1.170.0000.00818.58
8.1.160.0000.01018.72
8.1.150.0020.00518.61
8.1.140.0000.00717.34
8.1.130.0000.00617.78
8.1.120.0030.00617.46
8.1.110.0030.00517.43
8.1.100.0000.00817.37
8.1.90.0000.00717.27
8.1.80.0080.00017.42
8.1.70.0000.00617.31
8.1.60.0030.00617.48
8.1.50.0000.00717.39
8.1.40.0030.00617.45
8.1.30.0040.00417.54
8.1.20.0030.00617.62
8.1.10.0000.00817.48
8.1.00.0080.00017.42
8.0.300.0000.00719.83
8.0.290.0050.00317.05
8.0.280.0000.00718.43
8.0.270.0070.00017.09
8.0.260.0000.00716.80
8.0.250.0040.00416.96
8.0.240.0030.00616.82
8.0.230.0070.00016.98
8.0.220.0040.00416.95
8.0.210.0000.00816.87
8.0.200.0060.00016.90
8.0.190.0070.00016.95
8.0.180.0030.00316.93
8.0.170.0030.00316.76
8.0.160.0030.00516.96
8.0.150.0030.00316.81
8.0.140.0000.00716.83
8.0.130.0000.00813.28
8.0.120.0040.00416.85
8.0.110.0000.00716.68
8.0.100.0070.00016.68
8.0.90.0040.00416.93
8.0.80.0140.00416.87
8.0.70.0040.00416.72
8.0.60.0050.00316.88
8.0.50.0000.00716.73
8.0.30.0050.01316.95
8.0.20.0150.00417.40
8.0.10.0000.00716.85
8.0.00.0100.00916.54
7.4.330.0000.00516.84
7.4.320.0000.00716.54
7.4.300.0060.00016.43
7.4.290.0030.00316.43
7.4.280.0000.00616.47
7.4.270.0070.00016.45
7.4.260.0000.00513.23
7.4.250.0030.00516.46
7.4.240.0000.00816.46
7.4.230.0030.00316.46
7.4.220.0170.00316.54
7.4.210.0070.00716.55
7.4.200.0040.00416.47
7.4.190.0040.00416.67
7.4.160.0170.00016.30
7.4.150.0100.00717.40
7.4.140.0110.01017.86
7.4.130.0170.00416.42
7.4.120.0060.01216.46
7.4.110.0100.00616.54
7.4.100.0100.01316.56
7.4.90.0110.00716.27
7.4.80.0100.00719.39
7.4.70.0040.01416.24
7.4.60.0060.01216.43
7.4.50.0030.00616.27
7.4.40.0000.01422.77
7.4.30.0070.00516.57
7.3.330.0000.00513.07
7.3.320.0000.00512.92
7.3.310.0000.00716.04
7.3.300.0000.00616.07
7.3.290.0100.00316.16
7.3.280.0100.00416.22
7.3.270.0060.01217.40
7.3.260.0120.01118.24
7.3.250.0110.00516.43
7.3.240.0130.00616.35
7.3.230.0120.00616.39
7.3.210.0130.00316.25
7.3.200.0030.01719.39
7.3.190.0110.01116.34
7.3.180.0060.01016.15
7.3.170.0120.00416.27
7.3.160.0040.01116.28
7.2.330.0120.01216.54
7.2.320.0100.01016.25
7.2.310.0030.01916.43
7.2.300.0120.00416.57
7.2.290.0030.01416.21
5.4.210.0120.03912.34
5.4.200.0130.04212.34
5.4.190.0090.04312.33
5.4.180.0140.03812.34
5.4.170.0120.03812.35
5.4.160.0120.03812.34
5.4.150.0100.04012.34
5.4.140.0120.04012.03
5.4.130.0090.04112.01
5.4.120.0080.04511.97
5.4.110.0120.03911.97
5.4.100.0110.04311.97
5.4.90.0130.04511.97
5.4.80.0110.04211.97
5.4.70.0100.04911.96
5.4.60.0150.04411.96
5.4.50.0130.03711.96
5.4.40.0090.03911.95
5.4.30.0100.04311.95
5.4.20.0090.04111.94
5.4.10.0100.04011.95
5.4.00.0150.05411.44
5.3.270.0100.04312.72
5.3.260.0100.04512.72
5.3.250.0110.04212.72
5.3.240.0100.04312.72
5.3.230.0230.06312.71
5.3.220.0120.04612.68
5.3.210.0120.04412.68
5.3.200.0100.04712.68
5.3.190.0130.04112.68
5.3.180.0130.04012.67
5.3.170.0230.06512.67
5.3.160.0150.04312.67
5.3.150.0160.04112.68
5.3.140.0160.05612.66
5.3.130.0140.03812.66
5.3.120.0120.04112.66
5.3.110.0120.04112.66
5.3.100.0130.05812.12
5.3.90.0150.03612.08
5.3.80.0120.04112.08
5.3.70.0100.04112.08
5.3.60.0130.03812.06
5.3.50.0090.04212.00
5.3.40.0120.04112.00
5.3.30.0110.04111.94
5.3.20.0120.04311.72
5.3.10.0140.03611.69
5.3.00.0120.03811.67

preferences:
47.98 ms | 401 KiB | 5 Q