3v4l.org

run code in 300+ PHP versions simultaneously
<?php foreach($lessons as $index => $lesson) { $this->saveLesson($shiftId, $index, $lesson); }

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.4.120.0140.00624.03
8.4.110.0120.00718.76
8.4.100.0130.00718.66
8.4.90.0060.01420.59
8.4.80.0100.00922.42
8.4.70.0050.00317.56
8.4.60.0050.00320.15
8.4.50.0110.00917.56
8.4.40.0130.00719.16
8.4.30.0040.01420.77
8.4.20.0080.00819.87
8.4.10.0090.00619.46
8.3.250.0060.00318.85
8.3.240.0080.00517.09
8.3.230.0100.01016.62
8.3.220.0100.00818.84
8.3.210.0090.01016.61
8.3.200.0040.00416.88
8.3.190.0120.00717.16
8.3.180.0050.00520.85
8.3.170.0030.00616.65
8.3.160.0040.01516.58
8.3.150.0180.00017.09
8.3.140.0080.00020.40
8.3.130.0050.00318.41
8.3.120.0110.00418.90
8.3.110.0030.00720.94
8.3.100.0000.00924.06
8.3.90.0040.00426.77
8.3.80.0240.00326.77
8.3.70.0200.00326.77
8.3.60.0150.00626.77
8.3.50.0190.00226.77
8.3.40.0220.00026.77
8.3.30.0190.00026.77
8.3.20.0180.00026.77
8.3.10.0130.00526.77
8.3.00.0100.00726.77
8.2.290.0080.00420.30
8.2.280.0140.00618.46
8.2.270.0040.00417.02
8.2.260.0070.01118.40
8.2.250.0060.00318.49
8.2.240.0060.00317.21
8.2.230.0110.00422.58
8.2.220.0090.00637.54
8.2.210.0000.00926.77
8.2.200.0090.00926.77
8.2.190.0110.00726.77
8.2.180.0100.00726.77
8.2.170.0160.00326.77
8.2.160.0150.00426.77
8.2.150.0170.00226.77
8.2.140.0130.00526.77
8.2.130.0160.00626.77
8.2.120.0220.00026.77
8.2.110.0170.00326.77
8.2.100.0120.00626.77
8.2.90.0160.00426.77
8.2.80.0150.00326.77
8.2.70.0190.00026.77
8.2.60.0180.00026.77
8.2.50.0090.00926.77
8.2.40.0140.00426.77
8.2.30.0180.00026.77
8.2.20.0110.00826.77
8.2.10.0140.00426.77
8.2.00.0120.00626.77
8.1.330.0080.01121.73
8.1.320.0070.00215.91
8.1.310.0080.00018.23
8.1.300.0000.00818.36
8.1.290.0180.00026.77
8.1.280.0160.00326.77
8.1.270.0100.01026.77
8.1.260.0110.00826.77
8.1.250.0160.00226.77
8.1.240.0120.00626.77
8.1.230.0120.00426.77
8.1.220.0110.00726.77
8.1.210.0140.00326.77
8.1.200.0090.00926.77
8.1.190.0120.00426.77
8.1.180.0170.00926.77
8.1.170.0220.00026.77
8.1.160.0140.01426.77
8.1.150.0210.00326.77
8.1.140.0140.00326.77
8.1.130.0080.00826.77
8.1.120.0230.00726.77
8.1.110.0170.00326.77
8.1.100.0200.01226.77
8.1.90.0270.00826.77
8.1.80.0240.00326.77
8.1.70.0140.01726.77
8.1.60.0260.00726.77
8.1.50.0300.00326.77
8.1.40.0210.00026.77
8.1.30.0180.00326.77
8.1.20.0210.00026.77
8.1.10.0140.00826.77
8.1.00.0160.00526.77

preferences:
45.96 ms | 403 KiB | 5 Q