3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface FooInterface { public function test(\StdClass $objec); } class Foo implements FooInterface { public function test(\StdClass $objec, array $array = null) { } } class Bar extends Foo { public function test() { echo 'yes'; } } $bar = new Foo(); $bar->test(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.0120.00616.75
8.3.50.0260.00621.20
8.3.40.0070.01418.61
8.3.30.0070.00718.71
8.3.20.0110.00420.20
8.3.10.0000.00823.53
8.3.00.0040.00419.44
8.2.180.0140.00318.16
8.2.170.0140.00422.96
8.2.160.0060.00619.16
8.2.150.0080.00024.18
8.2.140.0160.00324.66
8.2.130.0040.00426.16
8.2.120.0040.00417.50
8.2.110.0060.00322.27
8.2.100.0070.00417.72
8.2.90.0060.00317.75
8.2.80.0040.00418.78
8.2.70.0030.00617.93
8.2.60.0050.00319.53
8.2.50.0090.00018.10
8.2.40.0000.00720.59
8.2.30.0000.00719.80
8.2.20.0000.00817.54
8.2.10.0070.00017.98
8.2.00.0060.00317.94
8.1.280.0120.00925.92
8.1.270.0040.00420.20
8.1.260.0080.00026.35
8.1.250.0070.00028.09
8.1.240.0090.00018.70
8.1.230.0030.00821.04
8.1.220.0050.00317.74
8.1.210.0080.00018.77
8.1.200.0090.00017.23
8.1.190.0050.00517.23
8.1.180.0040.00418.10
8.1.170.0030.00518.59
8.1.160.0000.00722.14
8.1.150.0070.00018.86
8.1.140.0000.00817.39
8.1.130.0030.00317.65
8.1.120.0000.00717.41
8.1.110.0000.00717.41
8.1.100.0000.00817.29
8.1.90.0000.00717.38
8.1.80.0000.00717.36
8.1.70.0030.00317.45
8.1.60.0050.00217.54
8.1.50.0000.00817.47
8.1.40.0060.00317.49
8.1.30.0050.00317.61
8.1.20.0070.00017.56
8.1.10.0000.00817.23
8.1.00.0030.00617.34
8.0.300.0040.00418.77
8.0.290.0040.00416.63
8.0.280.0000.00718.28
8.0.270.0000.00717.09
8.0.260.0000.00717.21
8.0.250.0000.00716.90
8.0.240.0040.00416.93
8.0.230.0030.00316.98
8.0.220.0030.00416.83
8.0.210.0030.00516.90
8.0.200.0030.00317.02
8.0.190.0070.00016.86
8.0.180.0050.00316.88
8.0.170.0080.00016.91
8.0.160.0000.00716.98
8.0.150.0000.00716.91
8.0.140.0040.00416.79
8.0.130.0030.00313.32
8.0.120.0050.00316.87
8.0.110.0040.00416.91
8.0.100.0040.00416.79
8.0.90.0000.00816.73
8.0.80.0090.00916.89
8.0.70.0040.00416.69
8.0.60.0000.00716.90
8.0.50.0040.00416.96
8.0.30.0080.01216.96
8.0.20.0070.01117.40
8.0.10.0040.00416.99
8.0.00.0100.00916.69
7.4.330.0000.00515.08
7.4.320.0030.00316.41
7.4.300.0070.00016.52
7.4.290.0030.00316.45
7.4.280.0040.00416.29
7.4.270.0070.00016.57
7.4.260.0030.00316.54
7.4.250.0000.01016.55
7.4.240.0020.00516.51
7.4.230.0070.00016.52
7.4.220.0070.01316.58
7.4.210.0100.00716.55
7.4.200.0040.00416.62
7.4.160.0070.01016.53
7.4.150.0090.00917.40
7.4.140.0140.00917.86
7.4.130.0060.01216.39
7.4.120.0080.00916.48
7.4.110.0100.00716.41
7.4.100.0070.01716.27
7.4.90.0100.00716.47
7.4.80.0140.00319.39
7.4.70.0080.01016.33
7.4.60.0080.00816.56
7.4.50.0040.00416.69
7.4.40.0140.00316.30
7.4.30.0070.01316.43
7.4.00.0080.00614.88
7.3.330.0000.00613.29
7.3.320.0060.00013.30
7.3.310.0040.00416.20
7.3.300.0070.00016.33
7.3.290.0050.01116.28
7.3.280.0080.00916.29
7.3.270.0140.00417.40
7.3.260.0110.00716.46
7.3.250.0070.01116.30
7.3.240.0080.00816.35
7.3.230.0090.01316.39
7.3.210.0130.00316.23
7.3.200.0060.00916.43
7.3.190.0100.00716.53
7.3.180.0040.01116.33
7.3.170.0100.00716.43
7.3.160.0080.00816.57
7.3.120.0060.00614.80
7.3.110.0000.01514.77
7.3.100.0040.01114.81
7.3.90.0000.01014.86
7.3.80.0060.00614.90
7.3.70.0060.00914.53
7.3.60.0090.00314.59
7.3.50.0040.00814.75
7.3.40.0090.00314.80
7.3.30.0040.00714.53
7.3.20.0060.00616.45
7.3.10.0080.00316.53
7.3.00.0240.00516.50
7.2.330.0120.00616.47
7.2.320.0160.00616.38
7.2.310.0090.00916.54
7.2.300.0120.00416.36
7.2.290.0090.00916.43
7.2.250.0100.00414.90
7.2.240.0080.00814.94
7.2.230.0090.00615.02
7.2.220.0040.01115.04
7.2.210.0090.00614.80
7.2.200.0000.00915.05
7.2.190.0030.01214.70
7.2.180.0000.01114.86
7.2.170.0110.00314.93
7.2.130.0000.01116.87
7.2.120.0060.00616.94
7.2.110.0030.00716.58
7.2.100.0070.00716.70
7.2.90.0060.01016.75
7.2.80.0000.00816.75
7.2.70.0030.00616.78
7.2.60.0000.01316.84
7.2.50.0000.00916.54
7.2.40.0060.00316.55
7.2.30.0030.00616.62
7.2.20.0070.00416.60
7.2.10.0040.00816.79
7.2.00.0040.00918.04
7.1.330.0040.00715.65
7.1.320.0040.00715.55
7.1.310.0070.00715.77
7.1.300.0030.00915.65
7.1.290.0070.00715.61
7.1.280.0100.00315.64
7.1.270.0110.00415.48
7.1.260.0030.01315.81
7.1.250.0100.00315.51
7.1.200.0000.01515.65
7.1.100.0030.00917.77
7.1.70.0110.00317.06
7.1.60.0090.01220.03
7.1.50.0090.01616.46
7.1.00.0030.07722.43
7.0.200.0050.00216.37
7.0.60.0130.05719.99
7.0.50.0070.08317.84
7.0.40.0070.06020.23
7.0.30.0200.04320.17
7.0.20.0200.05020.33
7.0.10.0130.03720.23
7.0.00.0070.07320.15
5.6.280.0000.05320.93
5.6.210.0200.06720.60
5.6.200.0170.03018.20
5.6.190.0100.03720.41
5.6.180.0400.07320.55
5.6.170.0330.06020.47
5.6.160.0130.06320.55
5.6.150.0030.07018.18
5.6.140.0070.06718.18
5.6.130.0070.06718.13
5.6.120.0100.07721.02
5.6.110.0030.07320.96
5.6.100.0070.04721.14
5.6.90.0030.07320.97
5.6.80.0130.06720.43
5.5.350.4170.04320.41
5.5.340.0130.07717.98
5.5.330.0170.08020.19
5.5.320.0300.07320.36
5.5.310.0330.07320.36
5.5.300.0100.06718.08
5.5.290.0030.04017.95
5.5.280.0030.04020.89
5.5.270.0030.04020.73
5.5.260.0070.08320.76
5.5.250.0070.05720.59
5.5.240.0130.02720.24
5.4.450.0670.07019.39
5.4.440.0770.05019.69
5.4.430.0700.06319.19
5.4.420.0670.06719.69
5.4.410.0730.06319.04
5.4.400.0600.05319.37
5.4.390.0800.06319.01
5.4.380.0770.06319.27
5.4.370.0630.05718.86
5.4.360.0830.07719.13
5.4.350.0700.06019.25
5.4.340.0700.06019.25
5.4.320.0730.06018.84
5.4.310.0670.07318.87
5.4.300.0570.05719.30
5.4.290.0870.05019.25
5.4.280.0770.06719.27
5.4.270.0670.05718.86
5.4.260.0770.06019.12
5.4.250.0630.05319.20
5.4.240.0600.05319.07
5.4.230.0830.07019.36
5.4.220.0630.06319.36
5.4.210.0970.06319.36
5.4.200.0930.05319.30
5.4.190.0800.06018.97
5.4.180.0600.06019.00
5.4.170.0630.05019.14
5.4.160.0630.04718.82
5.4.150.0570.06319.26
5.4.140.0670.05716.44
5.4.130.0500.06316.46
5.4.120.0630.05316.37
5.4.110.0730.05316.57
5.4.100.0700.04016.70
5.4.90.0600.05316.67
5.4.80.0600.04716.61
5.4.70.0200.07016.44
5.4.60.0270.05016.49
5.4.50.0230.07016.56
5.4.40.0400.05716.53
5.4.30.0000.03316.33
5.4.20.0300.06716.25
5.4.10.0400.06316.53

preferences:
48.19 ms | 401 KiB | 5 Q