3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array_fill(0, 1000000, new stdClass());

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.0350.00731.88
8.3.50.0300.00331.46
8.3.40.0260.00333.84
8.3.30.0270.00733.71
8.3.20.0110.00435.50
8.3.10.0140.00337.04
8.3.00.0120.00038.89
8.2.180.0070.01433.25
8.2.170.0170.02034.04
8.2.160.0100.00737.55
8.2.150.0100.00634.27
8.2.140.0090.00935.60
8.2.130.0000.00935.74
8.2.120.0120.00037.43
8.2.110.0080.00438.35
8.2.100.0160.00633.29
8.2.90.0070.00734.33
8.2.80.0030.01033.16
8.2.70.0110.00432.75
8.2.60.0150.00033.15
8.2.50.0040.01132.75
8.2.40.0100.00337.36
8.2.30.0130.00634.49
8.2.20.0080.00632.59
8.2.10.0060.00632.95
8.2.00.0140.00032.92
8.1.280.0280.01346.50
8.1.270.0060.00323.92
8.1.260.0060.00328.09
8.1.250.0060.00328.09
8.1.240.0190.00322.25
8.1.230.0070.00419.15
8.1.220.0030.00517.74
8.1.210.0040.00418.77
8.1.200.0030.00617.23
8.1.190.0050.00317.11
8.1.180.0030.00618.10
8.1.170.0000.00918.39
8.1.160.0050.00220.52
8.1.150.0070.00318.75
8.1.140.0030.00619.45
8.1.130.0000.00817.57
8.1.120.0040.00417.40
8.1.110.0000.00917.31
8.1.100.0000.00817.35
8.1.90.0000.00817.33
8.1.80.0000.00817.32
8.1.70.0030.00317.31
8.1.60.0000.00817.50
8.1.50.0040.00417.40
8.1.40.0080.00017.42
8.1.30.0040.00417.58
8.1.20.0050.00217.52
8.1.10.0160.00647.79
8.1.00.0100.01047.93
8.0.300.0160.00347.22
8.0.290.0170.00347.00
8.0.280.0130.00648.63
8.0.270.0120.00847.52
8.0.260.0190.00447.54
8.0.250.0190.00047.26
8.0.240.0060.01347.14
8.0.230.0170.00747.15
8.0.220.0190.00046.97
8.0.210.0140.00446.99
8.0.200.0160.00647.01
8.0.190.0150.00947.11
8.0.180.0170.00747.14
8.0.170.0160.00947.14
8.0.160.0160.00647.18
8.0.150.0160.00347.03
8.0.140.0170.00747.10
8.0.130.0140.00343.59
8.0.120.0170.00747.00
8.0.110.0170.00347.11
8.0.100.0130.00747.05
8.0.90.0130.01046.96
8.0.80.0360.00646.99
8.0.70.0130.00747.24
8.0.60.0140.00747.13
8.0.50.0140.00746.96
8.0.30.0340.01847.10
8.0.20.0390.01747.10
8.0.10.0090.00947.22
8.0.00.0350.01746.93
7.4.330.0070.00348.69
7.4.320.0110.00746.67
7.4.300.0230.00046.61
7.4.290.0140.01046.79
7.4.280.0230.00846.58
7.4.270.0140.00746.65
7.4.260.0190.00046.69
7.4.250.0100.01046.73
7.4.240.0170.00346.72
7.4.230.0180.00346.65
7.4.220.0230.02046.62
7.4.210.0270.01546.72
7.4.200.0040.01546.66
7.4.160.0350.01046.86
7.4.150.0500.01346.54
7.4.140.0450.00646.58
7.4.130.0390.01846.68
7.4.120.0350.01846.79
7.4.110.0380.01046.52
7.4.100.0430.02346.68
7.4.90.0340.01746.84
7.4.80.0460.00746.84
7.4.70.0320.01646.65
7.4.60.0320.01646.68
7.4.50.0260.00746.74
7.4.40.0400.01446.62
7.4.30.0350.01646.60
7.4.00.0220.01445.05
7.3.330.0150.00943.27
7.3.320.0180.00443.27
7.3.310.0170.00346.39
7.3.300.0150.00446.33
7.3.290.0150.00446.35
7.3.280.0380.01746.45
7.3.270.0400.00946.59
7.3.260.0470.01946.46
7.3.250.0410.00846.69
7.3.240.0320.02046.66
7.3.230.0310.01746.66
7.3.210.0320.01846.40
7.3.200.0430.01646.48
7.3.190.0560.00346.78
7.3.180.0410.00646.86
7.3.170.0310.01946.83
7.3.160.0430.02646.48
7.3.10.0090.01248.46
7.3.00.0930.01648.41
7.2.330.0450.01646.60
7.2.320.0400.01546.78
7.2.310.0410.00746.60
7.2.300.0380.01046.61
7.2.290.0480.01346.65
7.2.130.0130.00948.45
7.2.120.0690.00948.73
7.2.110.0290.01348.58
7.2.100.0440.01348.67
7.2.90.0750.01948.46
7.2.80.1210.01748.50
7.2.70.0900.01348.04
7.2.60.0840.01048.47
7.2.50.0820.02148.83
7.2.40.0600.00848.62
7.2.30.0240.01748.38
7.2.20.0870.02348.75
7.2.10.1150.01648.36
7.2.00.0470.01849.62
7.1.250.0260.01747.46
7.1.200.0620.01447.64
7.1.100.1510.00519.80
7.1.70.0930.00748.61
7.1.60.0160.01948.87
7.1.50.0100.03049.00
7.1.00.0070.08754.28
7.0.200.4900.00745.24
7.0.60.0670.07352.14
7.0.50.0200.09048.09
7.0.40.0100.07050.34
7.0.30.0530.05350.37
7.0.20.0430.06050.15
7.0.10.0330.04750.16
7.0.00.0030.06050.14
5.6.280.0170.05785.62
5.6.210.0500.09384.96
5.6.200.0330.10082.50
5.6.190.0230.06384.76
5.6.180.0470.07084.59
5.6.170.0570.10784.71
5.6.160.0200.12384.70
5.6.150.0230.06382.53
5.6.140.0370.10382.52
5.6.130.0400.06082.57
5.6.120.0300.11385.45
5.6.110.0400.09785.51
5.6.100.0430.10085.41
5.6.90.0300.10785.43
5.6.80.0330.10084.98
5.5.350.0470.10785.09
5.5.340.0270.05082.27
5.5.330.0230.06784.53
5.5.320.0730.09784.51
5.5.310.0430.07784.47
5.5.300.0370.09382.43
5.5.290.0370.05082.32
5.5.280.0370.10085.21
5.5.270.0230.11785.20
5.5.260.0400.07085.11
5.5.250.0300.06085.03
5.5.240.0570.08084.92

preferences:
45.17 ms | 400 KiB | 5 Q