3v4l.org

run code in 300+ PHP versions simultaneously
<?php $total = (int)18243; $limit = 30; for ($offset = 0 ; $offset < $total ;$offset = $offset + $limit ) { echo "$offset, $limit \n"; }

Abusive script

This script was stopped while abusing our resources

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.110.0120.00316.58
8.3.100.0100.01016.76
8.3.90.0130.00716.51
8.3.80.0030.00618.43
8.3.70.0130.00318.21
8.3.60.0090.00616.75
8.3.50.0110.01322.91
8.3.40.0080.00818.71
8.3.30.0130.00918.72
8.3.20.0050.00321.60
8.3.10.0080.00021.68
8.3.00.0030.00619.84
8.2.230.0130.00720.94
8.2.220.0040.00424.06
8.2.210.0040.00426.77
8.2.200.0110.00018.29
8.2.190.0070.00716.58
8.2.180.0110.01118.11
8.2.170.0090.01222.96
8.2.160.0130.00319.01
8.2.150.0060.00324.18
8.2.140.0040.00424.66
8.2.130.0000.00922.26
8.2.120.0030.00626.35
8.2.110.0070.00321.03
8.2.100.0030.00918.03
8.2.90.0060.00319.27
8.2.80.0030.00717.97
8.2.70.0030.00717.50
8.2.60.0050.00318.03
8.2.50.0030.00618.10
8.2.40.0060.00322.14
8.2.30.0000.01019.23
8.2.20.0060.00317.65
8.2.10.0050.00318.19
8.2.00.0080.00017.98
8.1.290.0030.00718.88
8.1.280.0170.00025.92
8.1.270.0080.00023.84
8.1.260.0080.00028.09
8.1.250.0050.00328.09
8.1.240.0060.00319.14
8.1.230.0060.00617.70
8.1.220.0030.00617.76
8.1.210.0000.00818.77
8.1.200.0030.00617.22
8.1.190.0050.00317.23
8.1.180.0050.00318.10
8.1.170.0050.00318.65
8.1.160.0040.00422.13
8.1.150.0050.00318.75
8.1.140.0050.00519.54
8.1.130.0030.00517.66
8.1.120.0070.00017.34
8.1.110.0040.00417.45
8.1.100.0030.00517.39
8.1.90.0000.00817.45
8.1.80.0000.00817.39
8.1.70.0070.00017.31
8.1.60.0040.00417.44
8.1.50.0000.00917.34
8.1.40.0050.00317.32
8.1.30.0080.00017.60
8.1.20.0060.00317.55
8.1.10.0080.00017.54
8.1.00.0000.00817.29
8.0.300.0030.00818.77
8.0.290.0000.00816.75
8.0.280.0070.00018.36
8.0.270.0040.00417.18
8.0.260.0000.00717.25
8.0.250.0030.00316.97
8.0.240.0030.00616.92
8.0.230.0040.00416.91
8.0.220.0040.00416.85
8.0.210.0050.00216.95
8.0.200.0000.00717.02
8.0.190.0060.00316.95
8.0.180.0000.00816.88
8.0.170.0080.00016.86
8.0.160.0000.00816.96
8.0.150.0000.00816.87
8.0.140.0110.00016.87
8.0.130.0060.00013.39
8.0.120.0030.00516.90
8.0.110.0040.00416.96
8.0.100.0040.00416.83
8.0.90.0040.00416.91
8.0.80.0070.01116.89
8.0.70.0040.00417.02
8.0.60.0000.00817.00
8.0.50.0050.00216.75
8.0.30.0120.01017.14
8.0.20.0120.01417.40
8.0.10.0060.00317.04
8.0.00.0090.01216.85
7.4.330.0030.00315.08
7.4.320.0000.00716.42
7.4.300.0030.00316.42
7.4.290.0000.00716.34
7.4.280.0080.00016.52
7.4.270.0030.00316.36
7.4.260.0020.00516.33
7.4.250.0040.00416.46
7.4.240.0000.00816.50
7.4.230.0000.00816.53
7.4.220.0160.01316.54
7.4.210.0100.01316.54
7.4.200.0040.00416.50
7.4.160.0110.00816.33
7.4.150.0080.01217.40
7.4.140.0130.01117.86
7.4.130.0070.01216.50
7.4.120.0140.00616.50
7.4.110.0190.00316.36
7.4.100.0030.01716.50
7.4.90.0060.01316.40
7.4.80.0140.01119.39
7.4.70.0120.00616.43
7.4.60.0160.00316.31
7.4.50.0080.00816.22
7.4.40.0120.00616.28
7.4.30.0090.00916.71
7.4.00.0040.01115.00
7.3.330.0030.00213.21
7.3.320.0000.00613.16
7.3.310.0000.00716.18
7.3.300.0000.00816.32
7.3.290.0030.01316.32
7.3.280.0090.01216.37
7.3.270.0210.00017.40
7.3.260.0120.00816.20
7.3.250.0090.01216.22
7.3.240.0140.00516.53
7.3.230.0080.01016.50
7.3.210.0060.01216.40
7.3.200.0110.01116.17
7.3.190.0070.01716.43
7.3.180.0130.00716.23
7.3.170.0130.00616.56
7.3.160.0030.01516.34
7.2.330.0110.01516.62
7.2.320.0220.00416.61
7.2.310.0130.00716.62
7.2.300.0030.01616.61
7.2.290.0100.01016.41
7.2.00.0080.01018.89
7.1.70.0040.00416.83
7.1.60.0190.00315.44
7.1.00.0000.08022.28
7.0.200.0030.01416.54
7.0.90.0400.08319.93
7.0.80.0330.06320.03
7.0.70.0600.06719.99
7.0.60.0370.06319.93
7.0.50.0470.07020.20
7.0.40.0370.07020.38
7.0.30.0500.07320.31
7.0.20.0370.09020.34
7.0.10.0670.06320.36
7.0.00.0400.08720.23
5.6.240.0200.05720.67
5.6.230.0200.05020.64
5.6.220.0130.08720.61
5.6.210.0230.07320.66
5.6.200.0070.09321.13
5.6.190.0170.06721.13
5.6.180.0300.06321.17
5.6.170.0130.07721.17
5.6.160.0270.05321.20
5.6.150.0130.07321.01
5.6.140.0200.06021.01
5.6.130.0230.08021.13
5.6.120.0200.06320.99
5.6.110.0170.07321.18
5.6.100.0230.06321.09
5.6.90.0170.06020.99
5.6.80.0170.06020.55
5.6.70.0170.05720.52
5.6.60.0200.05320.45
5.6.50.0100.06020.46
5.6.40.0100.06320.49
5.6.30.0130.06020.46
5.6.20.0130.05720.41
5.6.10.0100.06320.43
5.6.00.0070.10020.51

preferences:
35.52 ms | 403 KiB | 5 Q