3v4l.org

run code in 300+ PHP versions simultaneously
<?php function acceptsObject(\stdClass $o) {} $anonymousObject = new class() {}; acceptsObject($anonymousObject);

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.0070.01416.61
8.3.50.0110.00721.97
8.3.40.0090.00618.70
8.3.30.0110.00418.84
8.3.20.0040.00420.39
8.3.10.0040.00423.48
8.3.00.0060.00319.38
8.2.180.0090.00916.50
8.2.170.0070.01022.96
8.2.160.0100.00720.49
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0070.00317.38
8.2.120.0040.00426.35
8.2.110.0060.00320.30
8.2.100.0120.00018.04
8.2.90.0040.00418.16
8.2.80.0030.00517.97
8.2.70.0040.00417.50
8.2.60.0050.00318.04
8.2.50.0040.00418.07
8.2.40.0040.00419.38
8.2.30.0040.00420.54
8.2.20.0060.00317.66
8.2.10.0040.00417.97
8.2.00.0030.00618.08
8.1.280.0060.00925.92
8.1.270.0030.00622.19
8.1.260.0040.00428.09
8.1.250.0080.00028.09
8.1.240.0100.00022.22
8.1.230.0060.00620.82
8.1.220.0080.00017.78
8.1.210.0060.00318.77
8.1.200.0030.00617.36
8.1.190.0040.00417.38
8.1.180.0040.00418.10
8.1.170.0030.00618.46
8.1.160.0000.00721.97
8.1.150.0050.00318.95
8.1.140.0030.00519.59
8.1.130.0030.00317.58
8.1.120.0050.00217.46
8.1.110.0000.00817.38
8.1.100.0040.00417.44
8.1.90.0070.00017.46
8.1.80.0040.00417.47
8.1.70.0040.00417.36
8.1.60.0000.00817.48
8.1.50.0050.00317.50
8.1.40.0000.00817.49
8.1.30.0040.00417.63
8.1.20.0040.00417.63
8.1.10.0040.00417.61
8.1.00.0030.00517.37
8.0.300.0000.00720.05
8.0.290.0040.00416.75
8.0.280.0070.00018.36
8.0.270.0070.00017.32
8.0.260.0030.00317.24
8.0.250.0030.00317.02
8.0.240.0000.00716.99
8.0.230.0030.00516.93
8.0.220.0050.00216.93
8.0.210.0070.00016.78
8.0.200.0070.00016.90
8.0.190.0000.01016.91
8.0.180.0000.00816.98
8.0.170.0030.00616.98
8.0.160.0050.00217.00
8.0.150.0040.00416.90
8.0.140.0000.00716.80
8.0.130.0040.00413.39
8.0.120.0030.00616.89
8.0.110.0050.00316.98
8.0.100.0060.00316.77
8.0.90.0040.00416.95
8.0.80.0070.01416.97
8.0.70.0000.00716.82
8.0.60.0000.00816.83
8.0.50.0040.00416.77
8.0.30.0100.01217.09
8.0.20.0090.01217.40
8.0.10.0040.00417.08
8.0.00.0110.00716.92
7.4.330.0030.00316.71
7.4.320.0030.00316.60
7.4.300.0000.00616.62
7.4.290.0070.00016.49
7.4.280.0070.00016.46
7.4.270.0030.00316.62
7.4.260.0030.00316.50
7.4.250.0000.00916.50
7.4.240.0030.00516.59
7.4.230.0000.00716.34
7.4.220.0100.01716.40
7.4.210.0050.01216.54
7.4.200.0040.00416.46
7.4.160.0060.01016.59
7.4.150.0180.00717.40
7.4.140.0100.01017.86
7.4.130.0120.00516.59
7.4.120.0100.00716.59
7.4.110.0070.01016.34
7.4.100.0130.00916.64
7.4.90.0120.00616.67
7.4.80.0080.00919.39
7.4.70.0070.01016.56
7.4.60.0110.00316.53
7.4.50.0080.00416.66
7.4.40.0040.01216.48
7.4.30.0060.01216.59
7.4.00.0060.00914.85
7.3.330.0030.00313.14
7.3.320.0020.00313.24
7.3.310.0070.00016.13
7.3.300.0040.00416.33
7.3.290.0050.00216.18
7.3.280.0080.00816.31
7.3.270.0090.00817.40
7.3.260.0160.00016.26
7.3.250.0060.01116.48
7.3.240.0100.00916.40
7.3.230.0090.00916.39
7.3.210.0100.01316.38
7.3.200.0000.01516.41
7.3.190.0150.00416.36
7.3.180.0140.00616.40
7.3.170.0030.01516.37
7.3.160.0100.00716.41
7.2.330.0060.01216.66
7.2.320.0100.01316.38
7.2.310.0080.00816.66
7.2.300.0070.01116.58
7.2.290.0040.01416.74
7.2.60.0040.01117.00
7.2.00.0040.00819.20
7.1.200.0040.00415.66
7.1.100.0000.01718.17
7.1.70.0080.01117.09
7.1.60.0090.01219.48
7.1.50.0100.01016.80
7.1.00.0070.07322.28
7.0.200.0660.01214.87
7.0.60.0030.04720.03
7.0.50.0070.07017.91
7.0.40.0070.05020.02
7.0.30.0200.08720.23
7.0.20.0400.07320.21
7.0.10.0170.07020.16
7.0.00.0130.03720.20
5.6.280.0000.04720.89
5.6.210.0030.08320.53
5.6.200.0100.03718.25
5.6.190.0070.05020.39
5.6.180.0200.07020.61
5.6.170.0230.06320.48
5.6.160.0070.08720.50
5.6.150.0100.05018.16
5.6.140.0170.05018.28
5.6.130.0070.04718.17
5.6.120.0100.03720.89
5.6.110.0100.08321.14
5.6.100.0000.09021.00
5.6.90.0100.04320.99
5.6.80.0170.07720.51
5.5.350.4330.03720.35
5.5.340.0030.05018.05
5.5.330.0100.07020.21
5.5.320.0170.04720.52
5.5.310.0270.08020.35
5.5.300.0070.03718.03
5.5.290.0070.09018.04
5.5.280.0070.08020.76
5.5.270.0070.08020.96
5.5.260.0130.06720.82
5.5.250.0070.09020.61
5.5.240.0730.05020.15

preferences:
47.39 ms | 401 KiB | 5 Q