3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface FooInterface { public function bar(\StdClass $objec); } class Foo { public function bar(\StdClass $objec) { } } class Bar extends Foo { public function bar(\StdClass $object) { echo 'yes'; } } $bar = new Bar();

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.63
8.3.50.0160.00321.12
8.3.40.0140.00718.76
8.3.30.0100.00718.72
8.3.20.0070.00720.33
8.3.10.0080.00023.54
8.3.00.0050.00319.67
8.2.180.0190.00316.38
8.2.170.0040.01122.96
8.2.160.0170.00320.27
8.2.150.0080.00024.18
8.2.140.0110.00424.66
8.2.130.0040.00426.16
8.2.120.0090.00017.50
8.2.110.0030.00622.11
8.2.100.0060.00617.50
8.2.90.0000.01019.23
8.2.80.0030.00517.97
8.2.70.0000.00817.50
8.2.60.0040.00517.91
8.2.50.0000.00818.07
8.2.40.0060.00319.52
8.2.30.0060.00319.83
8.2.20.0050.00317.61
8.2.10.0000.00818.04
8.2.00.0000.00718.00
8.1.280.0030.01725.92
8.1.270.0090.00920.24
8.1.260.0100.00326.35
8.1.250.0070.00028.09
8.1.240.0070.00322.47
8.1.230.0090.00317.42
8.1.220.0030.00517.74
8.1.210.0060.00318.77
8.1.200.0060.00317.23
8.1.190.0000.00817.13
8.1.180.0040.00418.10
8.1.170.0040.00418.54
8.1.160.0000.00721.86
8.1.150.0050.00218.86
8.1.140.0000.00817.31
8.1.130.0000.00717.68
8.1.120.0000.00717.29
8.1.110.0080.00017.37
8.1.100.0000.00817.38
8.1.90.0040.00417.38
8.1.80.0040.00417.27
8.1.70.0000.00817.34
8.1.60.0000.00817.57
8.1.50.0090.00017.44
8.1.40.0040.00417.41
8.1.30.0050.00317.65
8.1.20.0040.00417.52
8.1.10.0000.00817.51
8.1.00.0040.00417.32
8.0.300.0030.00718.77
8.0.290.0070.00016.75
8.0.280.0030.00318.39
8.0.270.0070.00017.19
8.0.260.0000.00717.24
8.0.250.0000.00716.89
8.0.240.0060.00016.86
8.0.230.0040.00416.85
8.0.220.0000.00616.66
8.0.210.0040.00416.70
8.0.200.0000.00716.81
8.0.190.0070.00016.88
8.0.180.0000.00716.73
8.0.170.0040.00416.80
8.0.160.0070.00016.82
8.0.150.0000.00716.77
8.0.140.0000.00816.69
8.0.130.0000.00613.21
8.0.120.0000.00816.81
8.0.110.0040.00416.83
8.0.100.0050.00216.64
8.0.90.0070.00016.70
8.0.80.0090.00616.77
8.0.70.0000.00716.83
8.0.60.0050.00216.80
8.0.50.0000.00716.84
8.0.30.0150.00516.94
8.0.20.0060.01317.40
8.0.10.0000.00717.00
8.0.00.0130.00416.58
7.4.330.0030.00315.08
7.4.320.0030.00316.43
7.4.300.0000.00616.57
7.4.290.0060.00016.43
7.4.280.0000.00716.43
7.4.270.0070.00016.46
7.4.260.0030.00316.43
7.4.250.0040.00416.38
7.4.240.0020.00516.53
7.4.230.0020.00516.33
7.4.220.0090.00916.61
7.4.210.0090.00616.39
7.4.200.0030.00316.60
7.4.160.0150.00316.30
7.4.150.0090.00917.40
7.4.140.0200.00217.86
7.4.130.0090.01116.44
7.4.120.0080.00816.59
7.4.110.0060.01616.30
7.4.100.0090.00916.45
7.4.90.0140.00316.30
7.4.80.0090.00919.39
7.4.70.0090.00916.44
7.4.60.0100.00716.39
7.4.50.0030.00516.40
7.4.40.0110.01116.69
7.4.30.0170.00616.41
7.4.00.0070.01014.90
7.3.330.0030.00313.33
7.3.320.0000.00513.32
7.3.310.0030.00316.45
7.3.300.0030.00316.38
7.3.290.0120.00516.32
7.3.280.0090.00716.34
7.3.270.0100.00717.40
7.3.260.0090.01416.37
7.3.250.0050.01216.44
7.3.240.0030.01416.54
7.3.230.0090.00916.39
7.3.210.0030.01416.47
7.3.200.0120.00616.49
7.3.190.0060.00916.58
7.3.180.0040.01116.32
7.3.170.0170.00616.27
7.3.160.0060.01316.31
7.3.120.0080.00914.86
7.3.110.0090.00714.68
7.3.100.0030.01414.74
7.3.90.0080.00614.83
7.3.80.0070.00714.92
7.3.70.0060.00414.86
7.3.60.0020.01114.72
7.3.50.0060.00514.56
7.3.40.0070.00914.79
7.3.30.0070.00514.68
7.3.20.0040.00716.50
7.3.10.0060.00816.49
7.3.00.0070.00816.71
7.2.330.0120.00916.55
7.2.320.0090.01216.51
7.2.310.0100.01316.71
7.2.300.0090.00616.45
7.2.290.0080.00816.52
7.2.250.0080.01014.69
7.2.240.0080.01115.11
7.2.230.0080.00714.72
7.2.220.0050.00914.81
7.2.210.0080.00414.81
7.2.200.0020.00914.85
7.2.190.0040.01014.79
7.2.180.0040.00914.84
7.2.170.0080.00514.78
7.2.160.0080.00814.66
7.2.150.0040.01416.71
7.2.140.0030.01316.84
7.2.130.0080.00316.77
7.2.120.0110.00416.50
7.2.110.0040.01116.59
7.2.100.0070.00716.87
7.2.90.0040.00816.80
7.2.80.0050.00516.84
7.2.70.0120.00416.77
7.2.60.0060.00716.87
7.2.50.0030.00616.62
7.2.40.0110.00716.83
7.2.30.0100.00716.91
7.2.20.0030.01316.90
7.2.10.0080.00416.87
7.2.00.0000.00916.79
7.1.330.0050.01015.54
7.1.320.0070.00515.62
7.1.310.0030.01015.41
7.1.300.0030.01115.53
7.1.290.0050.00715.60
7.1.280.0050.01015.51
7.1.270.0010.01015.57
7.1.260.0070.00515.51
7.1.250.0000.01115.67
7.1.240.0100.00715.50
7.1.230.0080.00415.71
7.1.220.0060.00915.45
7.1.210.0060.00915.50
7.1.200.0070.00515.51
7.1.190.0030.00915.61
7.1.180.0090.00015.50
7.1.170.0000.01015.73
7.1.160.0060.00615.71
7.1.150.0030.00715.54
7.1.140.0000.01515.50
7.1.130.0000.01215.50
7.1.120.0000.01515.73
7.1.110.0040.01115.35
7.1.100.0070.00715.75
7.1.90.0040.00715.53
7.1.80.0000.00915.74
7.1.70.0030.00716.50
7.1.60.0050.01117.75
7.1.50.0060.00816.07
7.1.40.0030.01015.49
7.1.30.0000.01015.62
7.1.20.0030.00615.68
7.1.10.0130.00315.74
7.1.00.0070.04219.02
7.0.330.0040.00815.42
7.0.320.0090.00614.98
7.0.310.0060.00615.12
7.0.300.0100.00315.42
7.0.290.0080.00015.43
7.0.280.0090.00315.29
7.0.270.0000.00815.02
7.0.260.0060.00615.16
7.0.250.0030.01315.32
7.0.240.0040.01115.45
7.0.230.0090.00615.35
7.0.220.0100.00315.10
7.0.210.0060.00615.45
7.0.200.0070.00515.89
7.0.190.0030.01315.12
7.0.180.0060.00915.42
7.0.170.0030.01215.24
7.0.160.0030.00615.38
7.0.150.0060.00915.42
7.0.140.0040.00915.42
7.0.130.0000.01515.34
7.0.120.0070.00715.34
7.0.110.0080.00415.14
7.0.100.0200.04217.70
7.0.90.0160.04217.64
7.0.80.0180.03817.62
7.0.70.0190.02617.71
7.0.60.0130.04417.66
7.0.50.0180.04317.84
7.0.40.0050.04816.70
7.0.30.0050.03516.71
7.0.20.0050.02816.73
7.0.10.0060.02316.81
7.0.00.0030.02516.70
5.6.400.0100.00314.34
5.6.390.0110.00714.35
5.6.380.0000.01214.04
5.6.370.0030.01014.17
5.6.360.0070.00714.34
5.6.350.0100.00314.24
5.6.340.0000.01314.51
5.6.330.0090.00014.27
5.6.320.0060.00314.25
5.6.310.0000.01114.38
5.6.300.0120.00414.34
5.6.290.0120.00014.36
5.6.280.0020.02217.76
5.6.270.0060.00614.05
5.6.260.0060.00614.37
5.6.250.0100.04217.34
5.6.240.0050.04617.32
5.6.230.0100.04317.47
5.6.220.0080.04517.44
5.6.210.0080.04317.44
5.6.200.0100.03317.66
5.6.190.0050.04717.51
5.6.180.0100.03917.59
5.6.170.0100.02017.67
5.6.160.0040.02217.85
5.6.150.0070.02217.47
5.6.140.0020.02717.57
5.6.130.0110.01817.61
5.6.120.0050.02317.48
5.6.110.0070.03417.53
5.6.100.0050.02517.63
5.6.90.0080.04217.61
5.6.80.0050.02317.27
5.6.70.0070.02517.31
5.6.60.0030.02717.43
5.6.50.0030.02517.37
5.6.40.0050.02517.38
5.6.30.0060.02117.34
5.6.20.0020.02817.27
5.6.10.0020.02617.23
5.6.00.0030.02417.30
5.5.380.0110.03917.27
5.5.370.0070.04517.49
5.5.360.0060.04517.34
5.5.350.0050.04817.30
5.5.340.0100.04017.41
5.5.330.0070.04317.57
5.5.320.0070.04817.56
5.5.310.0070.02317.56
5.5.300.0070.02117.46
5.5.290.0100.02117.49
5.5.280.0020.02817.48
5.5.270.0080.03717.61
5.5.260.0050.02817.61
5.5.250.0070.04417.35
5.5.240.0060.04017.22
5.5.230.0020.04417.21
5.5.220.0020.02517.15
5.5.210.0060.02217.13
5.5.200.0030.02717.19
5.5.190.0030.02317.19
5.5.180.0080.02117.11
5.5.170.0070.00713.95
5.5.160.0050.02317.06
5.5.150.0020.02417.03
5.5.140.0060.02317.25
5.5.130.0070.02217.27
5.5.120.0060.02617.14
5.5.110.0070.01917.11
5.5.100.0020.03217.25
5.5.90.0040.02117.07
5.5.80.0030.02517.17
5.5.70.0000.02717.17
5.5.60.0050.02417.20
5.5.50.0090.02116.98
5.5.40.0030.02516.98
5.5.30.0190.03217.29
5.5.20.0050.04417.02
5.5.10.0050.02717.04
5.5.00.0050.04516.90
5.4.450.0050.01815.07
5.4.440.0020.02515.19
5.4.430.0000.02715.17
5.4.420.0050.04015.05
5.4.410.0070.02015.07
5.4.400.0050.04215.15
5.4.390.0050.03714.86
5.4.380.0030.02014.90
5.4.370.0030.02514.73
5.4.360.0030.02514.91
5.4.350.0030.02214.83
5.4.340.0020.02714.92
5.4.330.0090.00010.86
5.4.320.0020.02215.06
5.4.310.0030.02015.04
5.4.300.0020.02214.98
5.4.290.0030.02415.01
5.4.280.0050.02314.91
5.4.270.0080.01714.99
5.4.260.0030.02715.00
5.4.250.0050.02014.85
5.4.240.0060.01814.88
5.4.230.0040.02215.03
5.4.220.0050.02214.78
5.4.210.0020.02715.04
5.4.200.0050.02014.83
5.4.190.0050.03514.88
5.4.180.0070.04014.79
5.4.170.0100.03715.00
5.4.160.0000.03215.00
5.4.150.0020.04514.92
5.4.140.0070.03513.72
5.4.130.0080.03513.64
5.4.120.0080.03613.62
5.4.110.0030.02613.70
5.4.100.0070.03713.70
5.4.90.0020.02513.60
5.4.80.0070.03713.58
5.4.70.0030.03313.55
5.4.60.0050.03813.69
5.4.50.0090.03613.53
5.4.40.0050.02513.58
5.4.30.0100.03813.53
5.4.20.0080.03913.64
5.4.10.0050.04113.50
5.4.00.0090.02913.30

preferences:
57.77 ms | 401 KiB | 5 Q