3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { public function test(\StdClass $a) {} } class B extends A { public function test(\StdClass &$a) {} }

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.5.10.0150.00316.63
8.5.00.0160.00519.95
8.4.150.0020.00014.05
8.4.140.0170.01017.54
8.4.130.0030.00617.77
8.4.120.0060.00520.36
8.4.110.0080.00718.52
8.4.100.0140.00717.57
8.4.90.0090.01120.68
8.4.80.0130.00519.17
8.4.70.0120.01018.86
8.4.60.0150.00520.71
8.4.50.0080.00817.91
8.4.40.0030.01617.49
8.4.30.0130.00720.79
8.4.20.0070.01419.65
8.4.10.0060.00919.76
8.3.280.0030.00014.05
8.3.270.0120.00716.41
8.3.260.0030.00516.86
8.3.250.0070.01118.87
8.3.240.0100.01016.67
8.3.230.0120.00716.45
8.3.220.0030.00418.68
8.3.210.0050.00416.49
8.3.200.0060.00216.68
8.3.190.0090.00916.93
8.3.180.0110.00816.47
8.3.170.0110.00718.88
8.3.160.0090.00916.47
8.3.150.0090.00919.10
8.3.140.0140.00516.43
8.3.130.0060.00318.37
8.3.120.0080.00819.10
8.3.110.0090.00620.94
8.3.100.0080.00316.55
8.3.90.0120.00626.77
8.3.80.0060.00319.36
8.3.70.0110.00716.74
8.3.60.0110.00716.61
8.3.50.0080.00924.51
8.3.40.0030.01418.70
8.3.30.0090.00618.57
8.3.20.0000.00824.18
8.3.10.0000.00724.66
8.3.00.0040.00426.16
8.2.290.0090.00418.99
8.2.280.0050.00418.13
8.2.270.0040.00417.22
8.2.260.0040.00418.78
8.2.250.0080.00016.56
8.2.240.0110.00718.11
8.2.230.0080.00022.58
8.2.220.0040.00724.06
8.2.210.0060.00926.77
8.2.200.0040.00418.88
8.2.190.0070.00716.58
8.2.180.0070.00725.92
8.2.170.0070.01418.79
8.2.160.0080.00622.96
8.2.150.0060.00325.66
8.2.140.0050.00324.66
8.2.130.0060.00326.16
8.2.120.0040.00426.35
8.2.110.0040.00421.04
8.2.100.0120.00017.78
8.2.90.0060.00317.78
8.2.80.0050.00317.97
8.2.70.0040.00417.50
8.2.60.0080.00017.80
8.2.50.0040.00418.05
8.2.40.0030.00519.82
8.2.30.0000.00717.83
8.2.20.0040.00417.80
8.2.10.0040.00419.11
8.2.00.0050.00219.17
8.1.330.0130.00715.98
8.1.320.0080.00117.71
8.1.310.0060.00916.22
8.1.300.0090.00918.50
8.1.290.0000.00930.84
8.1.280.0160.00325.92
8.1.270.0040.00423.99
8.1.260.0040.00428.09
8.1.250.0080.00028.09
8.1.240.0060.00620.52
8.1.230.0080.00420.98
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0060.00317.22
8.1.190.0030.00617.10
8.1.180.0000.00918.10
8.1.170.0030.00618.85
8.1.160.0030.00618.76
8.1.150.0070.00018.80
8.1.140.0060.00318.75
8.1.130.0070.00020.05
8.1.120.0000.00717.32
8.1.110.0000.00717.29
8.1.100.0000.00817.33
8.1.90.0040.00417.26
8.1.80.0000.01017.35
8.1.70.0050.00317.23
8.1.60.0030.00717.39
8.1.50.0040.00417.38
8.1.40.0040.00417.34
8.1.30.0000.00717.50
8.1.20.0000.00817.50
8.1.10.0040.00417.26
8.1.00.0080.00417.31
8.0.300.0030.00319.90
8.0.290.0030.00616.75
8.0.280.0030.00318.32
8.0.270.0030.00317.84
8.0.260.0060.00018.57
8.0.250.0030.00516.78
8.0.240.0030.00316.88
8.0.230.0040.00416.95
8.0.220.0000.00716.70
8.0.210.0040.00416.84
8.0.200.0000.00616.80
8.0.190.0030.00516.77
8.0.180.0030.00516.87
8.0.170.0000.00916.84
8.0.160.0040.00416.77
8.0.150.0000.00716.75
8.0.140.0070.00016.75
8.0.130.0030.00313.24
8.0.120.0040.00416.68
8.0.110.0000.00716.65
8.0.100.0070.00016.86
8.0.90.0030.00316.88
8.0.80.0070.01016.86
8.0.70.0000.00716.67
8.0.60.0040.00416.83
8.0.50.0000.00716.70
8.0.30.0040.01217.01
8.0.20.0160.00516.69
8.0.10.0070.00017.06
8.0.00.0030.01416.72
7.4.330.0030.00315.55
7.4.320.0030.00316.37
7.4.300.0060.00016.49
7.4.290.0030.00516.39
7.4.280.0040.00316.37
7.4.270.0040.00316.52
7.4.260.0000.00613.14
7.4.250.0070.00016.34
7.4.240.0000.00916.44
7.4.230.0040.00416.50
7.4.220.0030.00316.37
7.4.210.0080.01216.29
7.4.200.0020.00516.40
7.4.130.0070.01016.20
7.4.120.0040.01916.42
7.4.110.0130.00316.21
7.4.100.0060.01016.33
7.4.90.0060.01116.25
7.4.80.0100.00716.28
7.4.70.0170.00316.55
7.4.60.0040.01516.52
7.4.50.0100.00716.23
7.4.40.0110.00716.37
7.4.30.0030.01416.08
7.4.20.0060.00916.30
7.4.10.0110.00516.17
7.4.00.0070.01016.30
7.3.330.0070.00016.12
7.3.320.0030.00313.05
7.3.310.0070.00016.25
7.3.300.0030.00316.31
7.3.290.0060.00816.24
7.3.260.0120.00616.53
7.3.250.0090.00916.36
7.3.240.0100.00716.37
7.3.230.0080.00816.37
7.3.220.0100.00616.17
7.3.210.0070.01016.27
7.3.200.0030.01616.27
7.3.190.0070.01016.34
7.3.180.0060.01016.27
7.3.170.0080.00816.30
7.3.160.0030.01416.08
7.3.150.0000.01716.36
7.3.140.0040.01216.15
7.3.130.0080.00816.30
7.3.120.0080.00816.23
7.3.110.0140.00316.20
7.3.100.0130.00316.16
7.3.90.0150.00416.36
7.3.80.0100.00716.09
7.3.70.0070.01016.32
7.3.60.0130.00316.25
7.3.50.0080.00816.16
7.3.40.0100.01016.15
7.3.30.0100.00716.32
7.3.20.0100.01016.27
7.3.10.0070.01016.21
7.3.00.0100.00716.14

preferences:
183.2 ms | 403 KiB | 5 Q