3v4l.org

run code in 300+ PHP versions simultaneously
<?php $counter = 100; gc_enable(); while($counter--) { $obj = new stdClass; $obj->obj = $obj; $obj->string = str_repeat(1, 1024 * 10024); gc_collect_cycles(); }

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.70.9460.07336.00
8.3.60.8310.09336.25
8.3.50.5600.04536.80
8.3.40.7970.09738.32
8.3.30.8050.08338.58
8.3.20.4250.05339.93
8.3.10.4360.06343.24
8.3.00.4430.04038.63
8.2.180.8460.07736.16
8.2.170.8080.10438.24
8.2.160.8150.08039.97
8.2.150.4100.05738.73
8.2.140.4190.07438.44
8.2.130.1060.02741.71
8.2.120.4170.06341.87
8.2.110.4910.03341.93
8.2.100.6040.03737.53
8.2.90.2650.04038.69
8.2.80.2670.04737.15
8.2.70.2640.05337.13
8.2.60.2730.04037.44
8.2.50.2870.04037.00
8.2.40.2000.02739.41
8.2.30.2670.05637.55
8.2.20.2720.04737.09
8.2.10.2520.06037.40
8.2.00.3430.04337.07
8.1.280.2610.02337.41
8.1.270.4260.06743.59
8.1.260.4360.06038.41
8.1.250.4190.06043.44
8.1.240.4860.04743.64
8.1.230.5060.07738.63
8.1.220.2500.06337.15
8.1.210.2780.03336.98
8.1.200.3050.02336.96
8.1.190.2560.04736.98
8.1.180.2630.03736.85
8.1.170.2490.06038.11
8.1.160.2540.05741.46
8.1.150.2600.05338.14
8.1.140.2540.05036.87
8.1.130.2580.04336.90
8.1.120.2480.05436.66
8.1.110.2590.04036.85
8.1.100.2500.04036.80
8.1.90.2500.04336.84
8.1.80.2300.06336.68
8.1.70.3150.04336.65
8.1.60.2810.03736.84
8.1.50.2680.04736.81
8.1.40.3660.05636.84
8.1.30.2970.04036.85
8.1.20.2960.03036.84
8.1.10.2720.04036.92
8.1.00.2590.03336.86
8.0.300.2730.04036.91
8.0.290.2600.05036.68
8.0.280.2730.04337.80
8.0.270.2960.03736.62
8.0.260.3240.05936.17
8.0.250.2380.04736.08
8.0.240.2410.05036.12
8.0.230.2450.04336.02
8.0.220.2470.03336.18
8.0.210.2630.03336.09
8.0.200.2760.04336.05
8.0.190.2450.04036.13
8.0.180.2700.04036.09
8.0.170.2700.04036.13
8.0.160.2610.04636.09
8.0.150.3280.05035.97
8.0.140.2700.04036.12
8.0.130.2680.03032.57
8.0.120.3130.04335.96
8.0.110.3000.03736.00
8.0.100.2740.03335.98
8.0.90.2610.05735.87
8.0.80.6440.14236.04
8.0.70.2660.04335.99
8.0.60.2790.05335.93
8.0.50.2420.05035.93
8.0.30.8710.19236.36
8.0.20.7740.18236.25
8.0.10.3080.03436.28
8.0.00.8270.15736.04
7.4.330.2400.05332.73
7.4.320.2180.03435.67
7.4.300.2520.04735.60
7.4.290.2990.03335.77
7.4.280.2870.03735.64
7.4.270.2940.05035.63
7.4.260.2820.03635.73
7.4.250.2780.05335.61
7.4.240.2680.03735.59
7.4.230.2730.04735.75
7.4.220.8250.18235.78
7.4.210.7360.18735.76
7.4.200.2720.03635.77
7.4.190.2230.05035.46
7.4.160.7400.15135.82
7.4.150.8020.12635.63
7.4.140.8500.16235.72
7.4.130.8260.18335.68
7.4.120.8180.14935.71
7.4.110.8120.16835.65
7.4.100.8380.17235.64
7.4.90.8400.12635.75
7.4.80.8720.17335.75
7.4.70.8090.15635.72
7.4.60.9580.18335.70
7.4.50.2200.03335.39
7.4.40.8200.12335.46
7.4.30.7770.18235.70
7.4.00.4080.14633.95
7.3.330.2800.05132.58
7.3.320.2380.03632.52
7.3.310.2390.04335.41
7.3.300.2790.04335.43
7.3.290.6740.20335.47
7.3.280.8840.18035.49
7.3.270.8450.15535.44
7.3.260.8970.20135.66
7.3.250.9000.16335.46
7.3.240.8380.19235.56
7.3.230.8470.14435.60
7.3.210.7500.20535.52
7.3.200.7990.14235.59
7.3.190.9380.18435.57
7.3.180.8100.19435.46
7.3.170.7560.12635.57
7.3.160.8430.09635.58
7.3.120.3630.13033.92
7.2.330.8840.19735.90
7.2.320.7990.17635.95
7.2.310.8000.18135.83
7.2.300.7550.19235.72
7.2.290.8690.13535.57
7.2.01.0940.06339.04
7.1.100.1810.00733.39
7.1.70.1470.07436.58
7.1.60.2050.06636.65
7.1.50.1580.01936.66
7.1.00.0800.16341.82
7.0.200.1160.05036.13
7.0.140.1300.11341.59
7.0.110.7600.14039.30
7.0.100.7430.11039.30
7.0.90.7770.11339.34
7.0.80.7600.11739.33
7.0.70.7800.11039.25
7.0.60.6900.07339.36
7.0.50.7270.06339.41
7.0.40.7530.09039.18
7.0.30.7470.12739.01
7.0.20.7730.07739.19
7.0.10.7670.12039.14
7.0.00.7730.11339.06
5.6.280.0130.19040.70
5.6.260.0230.14740.25
5.6.250.0270.15040.28
5.6.240.0230.15040.30
5.6.230.0100.15740.44
5.6.220.0130.10740.27
5.6.210.0230.11039.98
5.6.200.0200.11040.23
5.6.190.0130.11040.21
5.6.180.0200.11040.19
5.6.170.0170.14340.14
5.6.160.0270.13740.24
5.6.150.0170.11740.15
5.6.140.0300.14040.24
5.6.130.0230.15040.44
5.6.120.0200.15340.28
5.6.110.0200.16040.04
5.6.100.0130.10740.02
5.6.90.0170.13340.22
5.6.80.0130.14739.61
5.6.70.0230.14339.59
5.6.60.0130.14739.60
5.6.50.0330.13339.83
5.6.40.0270.15339.42
5.6.30.0170.16339.51
5.6.20.0330.13339.56
5.6.10.0170.11039.51
5.6.00.0100.11039.49
5.5.380.0200.09740.05
5.5.370.0130.14740.14
5.5.360.0230.12740.11
5.5.350.0170.10340.00
5.5.340.0200.10040.48
5.5.330.0270.09740.49
5.5.320.0100.13040.48
5.5.310.0200.10040.55
5.5.300.0130.15740.36
5.5.290.0100.14740.39
5.5.280.0230.14340.42
5.5.270.0170.12040.47
5.5.260.0170.14740.38
5.5.250.0170.14040.20
5.5.240.0170.14339.71
5.5.230.0200.14339.84
5.5.220.0170.14339.74
5.5.210.0200.16339.87
5.5.200.0170.14739.97
5.5.190.0130.10339.77
5.5.180.0170.13739.89
5.5.160.0270.13339.95
5.5.150.0230.14039.86
5.5.140.0200.14739.67
5.5.130.0270.13739.67
5.5.120.0270.14039.96
5.5.110.0300.16039.83
5.5.100.0170.17339.84
5.5.90.0330.17039.68
5.5.80.0200.18739.81
5.5.70.0370.18039.80
5.5.60.0300.17039.57
5.5.50.0200.16339.77
5.5.40.0170.14339.77
5.5.30.0330.15739.71
5.5.20.0200.16039.58
5.5.10.0270.17739.63
5.5.00.0330.16339.60
5.4.450.0230.14338.79
5.4.440.0170.15038.73
5.4.430.0200.10738.88
5.4.420.0230.14738.81
5.4.410.0230.10338.82
5.4.400.0270.14338.65
5.4.390.0170.14038.54
5.4.380.0230.11038.51
5.4.370.0230.15038.63
5.4.360.0230.13038.52
5.4.350.0100.11038.44
5.4.340.0270.15038.52
5.4.320.0270.13338.51
5.4.310.0270.13738.63
5.4.300.0200.13738.60
5.4.290.0170.14738.54
5.4.280.0270.14738.52
5.4.270.0200.15038.70
5.4.260.0270.18738.44
5.4.250.0330.16738.54
5.4.240.0130.16338.52
5.4.230.0230.13738.40
5.4.220.0270.18038.55
5.4.210.0330.15038.34
5.4.200.0200.18338.55
5.4.190.0230.18038.51
5.4.180.0270.15338.61
5.4.170.0230.16338.63
5.4.160.0170.14738.47
5.4.150.0400.15338.60
5.4.140.0330.15335.80
5.4.130.0230.14036.04
5.4.120.0330.16735.96
5.4.110.0300.16336.08
5.4.100.0170.13035.75
5.4.90.0230.13035.98
5.4.80.0200.09335.77
5.4.70.0370.13036.01
5.4.60.0200.14035.94
5.4.50.0230.13336.07
5.4.40.0270.13735.95
5.4.30.0200.15336.00
5.4.20.0230.13335.75
5.4.10.0230.14335.77
5.4.00.0100.14335.50
5.3.290.0130.10734.20
5.3.280.0370.12333.91
5.3.270.0300.16033.89
5.3.260.0300.17034.13
5.3.250.0200.12734.11
5.3.240.0200.15333.92
5.3.230.0270.18333.79
5.3.220.0270.15733.87
5.3.210.0230.16333.99
5.3.200.0300.16333.91
5.3.190.0200.10033.92
5.3.180.0130.15334.09
5.3.170.0330.14733.86
5.3.160.0200.10033.99
5.3.150.0200.14033.89
5.3.140.0170.09733.92
5.3.130.0170.09733.89
5.3.120.0270.13733.82
5.3.110.0270.15033.75
5.3.100.0330.13333.32
5.3.90.0270.15733.30
5.3.80.0230.11333.23
5.3.70.0230.13733.24
5.3.60.0270.14333.21
5.3.50.0270.08733.23
5.3.40.0200.09733.16
5.3.30.0230.12733.27
5.3.20.0300.07372.34
5.3.10.0330.07772.22
5.3.00.0270.06072.04
5.2.170.0030.06011.93
5.2.160.0100.05311.93
5.2.150.0000.04711.93
5.2.140.0000.03011.93
5.2.130.0100.05711.93
5.2.120.0000.06711.93
5.2.110.0000.04311.93
5.2.100.0030.06311.93
5.2.90.0000.03711.93
5.2.80.0070.05711.93
5.2.70.0030.04311.93
5.2.60.0070.05711.93
5.2.50.0100.02711.93
5.2.40.0070.06011.93
5.2.30.0070.06011.93
5.2.20.0070.05311.93
5.2.10.0100.05711.93
5.2.00.0030.06011.93
5.1.60.0070.04711.93
5.1.50.0000.06011.93
5.1.40.0100.04311.93
5.1.30.0100.05011.93
5.1.20.0000.05311.93
5.1.10.0070.04711.93
5.1.00.0070.03711.93
5.0.50.0030.04311.93
5.0.40.0130.03311.93
5.0.30.0030.04011.93
5.0.20.0000.04011.93
5.0.10.0000.04711.93
5.0.00.0100.05011.93
4.4.90.0030.03011.93
4.4.80.0030.03711.93
4.4.70.0070.03311.93
4.4.60.0000.03711.93
4.4.50.0000.03711.93
4.4.40.0070.04711.93
4.4.30.0070.01311.93
4.4.20.0030.03311.93
4.4.10.0100.03011.93
4.4.00.0100.04711.93
4.3.110.0000.03711.93
4.3.100.0030.03311.93
4.3.90.0100.02311.93
4.3.80.0030.05011.93
4.3.70.0030.03311.93
4.3.60.0030.02011.93
4.3.50.0070.02711.93
4.3.40.0000.05011.93
4.3.30.0000.03311.93
4.3.20.0030.02311.93
4.3.10.0030.03311.93
4.3.00.0000.03311.93

preferences:
43.46 ms | 401 KiB | 5 Q