3v4l.org

run code in 500+ PHP versions simultaneously
<?php const LINES = 10; for ($rows = 0; $rows <= LINES; $rows++) { for ($spaces = LINES; $spaces >= $rows; $spaces--) { echo "+"; } for ($stars = 0; $stars <= $rows; $stars++) { echo '#'; } echo PHP_EOL; }

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.5.70.0130.00616.79
8.5.60.0120.00818.52
8.5.50.0130.00416.61
8.5.30.0100.00819.05
8.5.20.0130.00619.28
8.5.10.0100.00716.37
8.5.00.0140.00719.94
8.4.210.0160.00821.39
8.4.180.0110.01219.66
8.4.170.0140.00723.79
8.4.160.0090.01425.68
8.4.150.0070.00516.87
8.4.140.0100.01217.55
8.4.130.0070.00217.80
8.4.120.0140.00622.49
8.4.110.0100.00718.77
8.4.100.0120.00817.65
8.4.90.0130.00820.45
8.4.80.0060.00319.14
8.4.70.0030.00522.13
8.4.60.0050.00620.51
8.4.50.0100.01020.40
8.4.40.0100.00017.77
8.4.30.0140.00720.25
8.4.20.0070.00417.98
8.4.10.0100.01017.59
8.3.300.0080.01220.92
8.3.290.0170.01120.75
8.3.280.0100.01218.39
8.3.270.0150.00416.72
8.3.260.0120.00816.74
8.3.250.0130.00618.82
8.3.240.0090.01116.70
8.3.230.0110.00816.30
8.3.220.0080.00618.93
8.3.210.0090.00416.67
8.3.200.0070.00316.45
8.3.190.0050.00417.12
8.3.180.0050.00418.84
8.3.170.0120.00618.84
8.3.160.0140.00016.51
8.3.150.0040.01117.29
8.3.140.0080.00020.76
8.3.130.0060.00618.29
8.3.120.0140.00418.90
8.3.110.0060.00316.48
8.3.100.0030.00616.77
8.3.90.0160.00326.77
8.3.80.0030.00616.75
8.3.70.0180.00418.18
8.3.60.0210.00316.50
8.3.50.0100.01019.71
8.3.40.0100.01018.96
8.3.30.0120.00318.34
8.3.20.0040.00424.18
8.3.10.0080.00024.66
8.3.00.0050.00326.16
8.2.300.0100.01217.95
8.2.290.0040.00620.24
8.2.280.0110.00920.02
8.2.270.0130.00616.56
8.2.260.0040.00417.03
8.2.250.0090.00016.57
8.2.240.0030.00618.94
8.2.230.0090.00020.94
8.2.220.0060.00324.06
8.2.210.0180.00026.77
8.2.200.0090.00016.25
8.2.190.0150.00616.63
8.2.180.0070.00725.92
8.2.170.0090.00618.79
8.2.160.0110.00722.96
8.2.150.0050.00325.66
8.2.140.0050.00324.66
8.2.130.0000.00826.16
8.2.120.0000.00826.16
8.2.110.0060.00322.25
8.2.100.0070.00717.91
8.2.90.0030.00519.26
8.2.80.0050.00317.97
8.2.70.0030.00617.63
8.2.60.0050.00317.93
8.2.50.0000.00818.07
8.2.40.0000.00818.16
8.2.30.0030.00517.96
8.2.20.0000.00719.36
8.2.10.0040.00417.73
8.2.00.0070.00019.18
8.1.340.0060.00321.63
8.1.330.0110.00816.23
8.1.320.0070.00316.02
8.1.310.0110.00316.64
8.1.300.0040.01517.70
8.1.290.0140.00030.84
8.1.280.0120.00925.92
8.1.270.0040.00423.99
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0100.00023.82
8.1.230.0040.00822.25
8.1.220.0030.00617.78
8.1.210.0050.00318.77
8.1.200.0060.00317.23
8.1.190.0000.00817.10
8.1.180.0080.00018.10
8.1.170.0040.00418.64
8.1.160.0000.00918.76
8.1.150.0030.00618.64
8.1.140.0040.00417.44
8.1.130.0030.00318.89
8.1.120.0080.00017.39
8.1.110.0040.00217.34
8.1.100.0040.00417.37
8.1.90.0000.00817.45
8.1.80.0000.01017.42
8.1.70.0030.00617.23
8.1.60.0080.00017.59
8.1.50.0050.00317.39
8.1.40.0040.00417.41
8.1.30.0040.00417.68
8.1.20.0050.00317.67
8.1.10.0040.00417.44
8.1.00.0070.00017.48
8.0.300.0080.00018.77
8.0.290.0070.00016.75
8.0.280.0030.00318.35
8.0.270.0050.00316.82
8.0.260.0040.00418.39
8.0.250.0000.00716.97
8.0.240.0030.00316.86
8.0.230.0000.00716.88
8.0.220.0040.00416.92
8.0.210.0070.00316.84
8.0.200.0030.00316.82
8.0.190.0040.00416.90
8.0.180.0070.00016.80
8.0.170.0030.00516.96
8.0.160.0000.00816.90
8.0.150.0070.00016.79
8.0.140.0030.00516.72
8.0.130.0000.00513.27
8.0.120.0080.00413.26
8.0.110.0090.00413.32
8.0.100.0090.00313.21
8.0.90.0110.00213.26
8.0.80.0090.00413.31
8.0.70.0090.00513.28
8.0.60.0100.00313.19
8.0.50.0070.00513.31
8.0.30.0120.00113.26
8.0.20.0090.00413.37
8.0.10.0080.00613.39
8.0.00.0040.00213.44
7.4.330.0000.00515.55
7.4.320.0070.00016.63
7.4.300.0000.00716.57
7.4.290.0050.00316.41
7.4.280.0070.00016.39
7.4.270.0080.00016.60
7.4.260.0050.00013.28
7.4.250.0120.00313.23
7.4.240.0100.00413.25
7.4.230.0090.00513.25
7.4.220.0090.00413.28
7.4.210.0070.00513.25
7.4.200.0090.00513.22
7.4.190.0090.00313.29
7.4.180.0080.00513.26
7.4.160.0100.00313.31
7.4.150.0080.00513.23
7.4.140.0080.00513.19
7.4.130.0090.00413.22
7.4.120.0080.00413.19
7.4.110.0120.00113.18
7.4.100.0060.00813.24
7.4.90.0080.00513.23
7.4.80.0110.00213.17
7.4.70.0130.00013.25
7.4.60.0090.00413.24
7.4.50.0090.00413.11
7.4.40.0090.00413.13
7.4.30.0070.00513.25
7.4.20.0100.00313.18
7.4.10.0090.00413.14
7.4.00.0080.00513.12
7.3.330.0000.01016.27
7.3.320.0100.00513.09
7.3.310.0090.00513.13
7.3.300.0120.00213.09
7.3.290.0100.00413.08
7.3.280.0120.00213.07
7.3.270.0110.00213.08
7.3.260.0120.00113.01
7.3.250.0110.00313.14
7.3.240.0100.00313.07
7.3.230.0130.00113.03
7.3.220.0090.00412.99
7.3.210.0130.00113.05
7.3.200.0100.00413.06
7.3.190.0110.00312.96
7.3.180.0090.00413.03
7.3.170.0120.00113.01
7.3.160.0120.00113.07
7.3.150.0110.00313.04
7.3.140.0120.00213.01
7.3.130.0100.00413.03
7.3.120.0110.00213.03
7.3.110.0120.00213.04
7.3.100.0090.00412.90
7.3.90.0090.00513.27
7.3.80.0110.00312.94
7.3.70.0120.00213.16
7.3.60.0090.00513.20
7.3.50.0100.00413.22
7.3.40.0080.00613.20
7.3.30.0090.00413.23
7.3.20.0080.00614.98
7.3.10.0120.00214.82
7.3.00.0110.00414.93

preferences:
114.74 ms | 1421 KiB | 5 Q