3v4l.org

run code in 500+ PHP versions simultaneously
<?php const LINES = 10; for ($rows = 0; $rows <= LINES; $rows++) { for ($stars = 0; $stars <= $rows; $stars++) { echo '#'; } for ($spaces = LINES; $spaces >= $rows; $spaces--) { 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.0090.00618.41
8.5.60.0130.00716.59
8.5.50.0110.00416.46
8.5.30.0080.00918.95
8.5.20.0100.00719.66
8.5.10.0090.00816.65
8.5.00.0190.00519.58
8.4.210.0130.00921.39
8.4.180.0130.00919.40
8.4.170.0130.00920.52
8.4.160.0120.01020.68
8.4.150.0070.00516.82
8.4.140.0160.00517.63
8.4.130.0080.00918.72
8.4.120.0130.00720.54
8.4.110.0140.00622.36
8.4.100.0090.01117.61
8.4.90.0060.00317.49
8.4.80.0040.00417.80
8.4.70.0150.00517.63
8.4.60.0050.01118.94
8.4.50.0110.00820.32
8.4.40.0060.00617.46
8.4.30.0060.01320.32
8.4.20.0080.00317.84
8.4.10.0060.01317.78
8.3.300.0130.00820.68
8.3.290.0070.00420.85
8.3.280.0110.00818.17
8.3.270.0120.00716.66
8.3.260.0110.00916.49
8.3.250.0130.00618.92
8.3.240.0060.00817.18
8.3.230.0130.00616.56
8.3.220.0120.00617.37
8.3.210.0100.00616.63
8.3.200.0040.00516.62
8.3.190.0100.01017.29
8.3.180.0120.00817.18
8.3.170.0040.00420.77
8.3.160.0040.01516.50
8.3.150.0040.00417.18
8.3.140.0120.00616.81
8.3.130.0090.00018.16
8.3.120.0060.00320.65
8.3.110.0050.00520.94
8.3.100.0190.00020.13
8.3.90.0070.01116.38
8.3.80.0060.00316.63
8.3.70.0040.01116.58
8.3.60.0090.01218.16
8.3.50.0100.01018.20
8.3.40.0120.00919.01
8.3.30.0090.00618.61
8.3.20.0000.00724.18
8.3.10.0040.00424.66
8.3.00.0040.00426.16
8.2.300.0110.01020.41
8.2.290.0060.00320.57
8.2.280.0090.00818.32
8.2.270.0150.00416.95
8.2.260.0060.01216.55
8.2.250.0050.00318.15
8.2.240.0070.00318.86
8.2.230.0080.00022.58
8.2.220.0000.00924.06
8.2.210.0100.00726.77
8.2.200.0000.01116.38
8.2.190.0130.00716.58
8.2.180.0070.00725.92
8.2.170.0090.00618.89
8.2.160.0090.00922.96
8.2.150.0040.00425.66
8.2.140.0030.00624.66
8.2.130.0040.00426.16
8.2.120.0140.00421.07
8.2.110.0030.00720.48
8.2.100.0080.00417.78
8.2.90.0000.00919.05
8.2.80.0030.00518.03
8.2.70.0030.00517.50
8.2.60.0040.00417.93
8.2.50.0040.00418.07
8.2.40.0080.00020.07
8.2.30.0020.00517.93
8.2.20.0020.00519.43
8.2.10.0000.00717.62
8.2.00.0000.00719.16
8.1.340.0130.00920.20
8.1.330.0090.00921.82
8.1.320.0100.00016.28
8.1.310.0110.00715.96
8.1.300.0150.00318.09
8.1.290.0090.00018.88
8.1.280.0070.00725.92
8.1.270.0080.00024.02
8.1.260.0060.00326.35
8.1.250.0000.00728.09
8.1.240.0070.00319.43
8.1.230.0040.00817.77
8.1.220.0080.00017.74
8.1.210.0050.00318.77
8.1.200.0000.00917.35
8.1.190.0050.00317.23
8.1.180.0040.00418.10
8.1.170.0040.00420.18
8.1.160.0050.00218.79
8.1.150.0060.00318.68
8.1.140.0070.00017.37
8.1.130.0000.00817.45
8.1.120.0050.00517.50
8.1.110.0040.00417.47
8.1.100.0030.00417.36
8.1.90.0040.00417.45
8.1.80.0080.00017.34
8.1.70.0030.00717.30
8.1.60.0000.00717.59
8.1.50.0000.00817.52
8.1.40.0030.00517.43
8.1.30.0000.00817.53
8.1.20.0040.00417.47
8.1.10.0080.00017.38
8.1.00.0080.00017.32
8.0.300.0070.00018.77
8.0.290.0000.00716.75
8.0.280.0080.00018.45
8.0.270.0000.00717.87
8.0.260.0040.00416.81
8.0.250.0000.00816.94
8.0.240.0030.00316.84
8.0.230.0000.00716.99
8.0.220.0050.00216.86
8.0.210.0040.00416.91
8.0.200.0030.00516.91
8.0.190.0000.00716.95
8.0.180.0050.00316.87
8.0.170.0000.00916.91
8.0.160.0030.00616.88
8.0.150.0040.00416.88
8.0.140.0040.00416.81
8.0.130.0030.00313.33
8.0.120.0080.00413.34
8.0.110.0060.00613.17
8.0.100.0080.00413.21
8.0.90.0050.00713.23
8.0.80.0110.00213.30
8.0.70.0110.00213.26
8.0.60.0080.00413.34
8.0.50.0090.00413.28
8.0.30.0060.00613.23
8.0.20.0110.00213.26
8.0.10.0080.00513.39
8.0.00.0000.00613.36
7.4.330.0030.00315.55
7.4.320.0070.00016.60
7.4.300.0040.00416.60
7.4.290.0040.00416.49
7.4.280.0040.00416.64
7.4.270.0030.00616.57
7.4.260.0000.00613.30
7.4.250.0120.00313.24
7.4.240.0070.00813.29
7.4.230.0130.00213.27
7.4.220.0090.00413.21
7.4.210.0080.00413.20
7.4.200.0110.00213.29
7.4.190.0090.00313.38
7.4.180.0080.00413.32
7.4.160.0100.00213.32
7.4.150.0070.00513.22
7.4.140.0080.00413.06
7.4.130.0110.00013.19
7.4.120.0100.00213.18
7.4.110.0090.00313.21
7.4.100.0120.00013.30
7.4.90.0060.00713.20
7.4.80.0110.00113.18
7.4.70.0080.00313.19
7.4.60.0110.00113.26
7.4.50.0080.00413.02
7.4.40.0110.00113.16
7.4.30.0070.00513.15
7.4.20.0100.00213.21
7.4.10.0060.00613.19
7.4.00.0090.00313.15
7.3.330.0070.00016.21
7.3.320.0080.00513.08
7.3.310.0080.00413.01
7.3.300.0050.00712.91
7.3.290.0070.00613.05
7.3.280.0110.00112.97
7.3.270.0120.00012.98
7.3.260.0080.00313.07
7.3.250.0090.00213.06
7.3.240.0070.00413.08
7.3.230.0070.00413.02
7.3.220.0070.00513.12
7.3.210.0070.00413.02
7.3.200.0080.00312.98
7.3.190.0110.00112.97
7.3.180.0070.00412.86
7.3.170.0100.00113.00
7.3.160.0080.00312.95
7.3.150.0070.00412.95
7.3.140.0090.00312.97
7.3.130.0070.00512.89
7.3.120.0070.00412.96
7.3.110.0080.00412.92
7.3.100.0110.00112.97
7.3.90.0080.00313.27
7.3.80.0060.00412.94
7.3.70.0100.00213.00
7.3.60.0040.00613.08
7.3.50.0070.00413.27
7.3.40.0090.00313.26
7.3.30.0060.00613.18
7.3.20.0140.00015.00
7.3.10.0120.00214.99
7.3.00.0070.00514.86

preferences:
66.57 ms | 1422 KiB | 5 Q