3v4l.org

run code in 300+ PHP versions simultaneously
<?php $bigbig = []; foreach (range(0, 100000) as $_) { $bigbig[] = new StdClass(); } $start = microtime(true); (bool)$bigbig; echo microtime(true) - $start;

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)
7.4.00.0130.02325.55
7.3.120.0190.01925.20
7.3.110.0100.02025.46
7.3.100.0200.01725.51
7.3.90.0220.01625.53
7.3.80.0130.01025.39
7.3.70.0100.02125.54
7.3.60.0170.01425.28
7.3.50.0120.01225.37
7.3.40.0180.01125.44
7.3.30.0210.01425.47
7.3.20.0130.01030.23
7.3.10.0070.01730.44
7.3.00.0230.01330.21
7.2.250.0180.01425.64
7.2.240.0100.03025.57
7.2.230.0100.02725.98
7.2.220.0100.01625.73
7.2.210.0100.01625.86
7.2.200.0140.02425.73
7.2.190.0160.01325.50
7.2.180.0100.01725.70
7.2.170.0200.01025.76
7.2.130.0410.00730.74
7.2.120.0240.01730.73
7.2.110.0140.00730.31
7.2.100.0170.02430.52
7.2.90.0260.01230.39
7.2.80.0070.01930.44
7.2.70.0240.00930.65
7.2.60.0230.01330.72
7.2.50.0230.01730.47
7.2.40.0320.01630.49
7.2.30.0370.01330.79
7.2.20.0360.01330.50
7.2.10.0220.01430.36
7.2.00.0160.01531.85
7.1.330.0070.02129.70
7.1.320.0030.02729.44
7.1.310.0190.01029.59
7.1.300.0070.02329.82
7.1.290.0090.01929.52
7.1.280.0060.02229.60
7.1.270.0110.02129.41
7.1.260.0100.01729.61
7.1.250.0130.02729.50
7.1.240.0250.01529.54
7.1.230.0300.02029.56
7.1.220.0190.01629.72
7.1.210.0070.02129.57
7.1.200.0270.01729.40
7.1.190.0200.02029.64
7.1.180.0170.02029.70
7.1.170.0150.02729.64
7.1.160.0390.02129.56
7.1.150.0250.02529.29
7.1.140.0380.02129.32
7.1.130.0120.02829.59
7.1.120.0340.01929.64
7.1.110.0280.01929.31
7.1.100.0250.02529.77
7.1.90.0220.02229.84
7.1.80.0290.01629.71
7.1.70.0170.01630.28
7.1.60.0190.02730.24
7.1.50.0230.02430.06
7.1.40.0170.02829.09
7.1.30.0230.02629.73
7.1.20.0350.01729.44
7.1.10.0260.02329.45
7.1.00.0210.04932.69
7.0.330.0130.02628.90
7.0.320.0160.01929.02
7.0.310.0220.02629.09
7.0.300.0360.02229.23
7.0.290.0300.02129.29
7.0.280.0420.01729.27
7.0.270.0340.02329.03
7.0.260.0410.01929.05
7.0.250.0260.02629.27
7.0.240.0310.02629.13
7.0.230.0330.02329.37
7.0.220.0300.01929.25
7.0.210.0390.02629.14
7.0.200.1210.02027.45
7.0.190.0250.01929.38
7.0.180.0390.02229.35
7.0.170.0210.02429.19
7.0.160.0430.01529.36
7.0.150.0380.02029.28
7.0.140.0360.02029.22
7.0.130.0370.01729.18
7.0.120.0260.02929.20
7.0.110.0250.02529.37
7.0.100.0140.02529.38
7.0.90.0260.02629.27
7.0.80.0330.01929.37
7.0.70.0240.02529.14
7.0.60.0300.05030.08
7.0.50.0270.04830.28
7.0.40.0190.05327.42
7.0.30.0230.04627.17
7.0.20.0290.04327.25
7.0.10.0270.04827.22
7.0.00.0230.04927.29
5.6.380.0230.06553.68
5.6.370.0470.06753.40
5.6.360.0190.07353.01
5.6.350.0280.07353.18
5.6.340.0350.07653.36
5.6.330.0370.06453.58
5.6.320.0350.07653.13
5.6.310.0310.07153.05
5.6.300.0260.08153.04
5.6.290.0190.09653.17
5.6.280.0320.09857.51
5.6.270.0350.06453.11
5.6.260.0340.08552.71
5.6.250.0230.09253.22
5.6.240.0270.07853.16
5.6.230.0270.07753.22
5.6.220.0180.09153.07
5.6.210.0420.12056.36
5.6.200.0500.08656.47
5.6.190.0280.11456.60
5.6.180.0330.10656.67
5.6.170.0470.09256.63
5.6.160.0540.08756.60
5.6.150.0410.10956.75
5.6.140.0460.13056.69
5.6.130.0500.10156.59
5.6.120.0450.09656.69
5.6.110.0490.09956.54
5.6.100.0450.09556.70
5.6.90.0360.10256.72
5.6.80.0410.09156.36
5.6.70.0360.09756.29
5.6.60.0430.10256.20
5.6.50.0430.09756.15
5.6.40.0350.11256.04
5.6.30.0420.09756.04
5.6.20.0390.09756.24
5.6.10.0420.09556.16
5.6.00.0400.11056.11
5.5.380.0300.07750.21
5.5.370.0200.08350.25
5.5.360.0330.08550.54
5.5.350.0400.11954.85
5.5.340.0330.11255.30
5.5.330.0390.12755.22
5.5.320.0430.10355.07
5.5.310.0360.11155.23
5.5.300.0630.12355.18
5.5.290.0520.11355.15
5.5.280.0640.10455.29
5.5.270.0400.10455.09
5.5.260.0510.13155.04
5.5.250.0390.10255.10
5.5.240.0330.10854.85
5.5.230.0430.10754.79
5.5.220.0370.11954.78
5.5.210.0450.10154.83
5.5.200.0430.10354.81
5.5.190.0350.10854.86
5.5.180.0390.10354.77
5.5.170.0430.08250.24
5.5.160.0320.10954.66
5.5.150.0500.11254.74
5.5.140.0330.11154.75
5.5.130.0350.10254.71
5.5.120.0270.12954.78
5.5.110.0430.10454.92
5.5.100.0450.09854.69
5.5.90.0330.10854.73
5.5.80.0480.09654.75
5.5.70.0420.11054.68
5.5.60.0520.09354.78
5.5.50.0280.11954.65
5.5.40.0310.11754.68
5.5.30.0450.10554.72
5.5.20.0440.10754.73
5.5.10.0400.10154.66
5.5.00.0420.09754.65

preferences:
36.12 ms | 403 KiB | 5 Q