3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public function bar() { } } class FooBar extends Foo { public function bar() { call_user_func_array('parent::bar', func_get_args()); } } $foobar = new FooBar; $foobar->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.0140.00718.43
8.3.50.0100.00721.98
8.3.40.0070.00718.59
8.3.30.0140.00018.85
8.3.20.0040.00420.27
8.3.10.0040.00421.83
8.3.00.0080.00022.41
8.2.180.0060.01016.63
8.2.170.0090.00622.96
8.2.160.0120.00320.49
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0090.00926.16
8.2.120.0060.00319.18
8.2.110.0060.00322.13
8.2.100.0040.00719.45
8.2.90.0000.00819.17
8.2.80.0040.00417.97
8.2.70.0040.00417.50
8.2.60.0040.00717.80
8.2.50.0080.00018.07
8.2.40.0030.00618.08
8.2.30.0040.00417.98
8.2.20.0000.00817.68
8.2.10.0080.00019.34
8.2.00.0030.00617.54
8.1.280.0110.00425.92
8.1.270.0070.01021.87
8.1.260.0030.00526.35
8.1.250.0040.00428.09
8.1.240.0040.00423.79
8.1.230.0040.00819.01
8.1.220.0040.00417.74
8.1.210.0000.00918.77
8.1.200.0060.00317.35
8.1.190.0000.00817.53
8.1.180.0000.00718.10
8.1.170.0040.00418.47
8.1.160.0000.00721.88
8.1.150.0070.00018.63
8.1.140.0000.00717.35
8.1.130.0000.00817.80
8.1.120.0040.00417.49
8.1.110.0000.00717.42
8.1.100.0000.00817.48
8.1.90.0040.00417.30
8.1.80.0070.00017.45
8.1.70.0040.00417.43
8.1.60.0060.00317.53
8.1.50.0060.00317.39
8.1.40.0040.00417.49
8.1.30.0000.00917.64
8.1.20.0000.00817.48
8.1.10.0040.00417.52
8.1.00.0040.00417.42
8.0.300.0000.00718.77
8.0.290.0000.00717.18
8.0.280.0040.00418.43
8.0.270.0030.00517.18
8.0.260.0030.00316.72
8.0.250.0100.00016.98
8.0.240.0030.00316.86
8.0.230.0000.00716.78
8.0.220.0070.00016.90
8.0.210.0030.00316.77
8.0.200.0000.00616.93
8.0.190.0000.00816.99
8.0.180.0060.00316.81
8.0.170.0000.00716.90
8.0.160.0040.00417.00
8.0.150.0030.00316.84
8.0.140.0040.00416.82
8.0.130.0040.00413.33
8.0.120.0000.00816.86
8.0.110.0040.00416.91
8.0.100.0030.00316.75
8.0.90.0000.00716.87
8.0.80.0100.00616.93
8.0.70.0070.00016.76
8.0.60.0040.00416.69
8.0.50.0000.00716.83
8.0.30.0110.00817.22
8.0.20.0160.00517.40
8.0.10.0000.00817.11
8.0.00.0070.01116.83
7.4.330.0030.00315.07
7.4.320.0000.00616.48
7.4.300.0060.00016.49
7.4.290.0030.00316.50
7.4.280.0000.00616.39
7.4.270.0000.00816.56
7.4.260.0030.00516.44
7.4.250.0040.00416.51
7.4.240.0020.00516.58
7.4.230.0000.00716.30
7.4.220.0100.00716.62
7.4.210.0060.00816.55
7.4.200.0000.00816.49
7.4.190.0080.00016.36
7.4.160.0120.00416.64
7.4.150.0090.00917.40
7.4.140.0110.00717.86
7.4.130.0120.00416.44
7.4.120.0110.00816.54
7.4.110.0070.01116.60
7.4.100.0130.00616.39
7.4.90.0100.00716.41
7.4.80.0100.01119.39
7.4.70.0100.00616.54
7.4.60.0130.00316.32
7.4.50.0000.00816.14
7.4.40.0050.00522.77
7.4.30.0100.00616.58
7.4.00.0100.00615.16
7.3.330.0030.00313.11
7.3.320.0020.00213.24
7.3.310.0030.00316.29
7.3.300.0000.00716.15
7.3.290.0070.01116.23
7.3.280.0090.00916.21
7.3.270.0060.01317.40
7.3.260.0120.00816.21
7.3.250.0120.00516.39
7.3.240.0060.01116.47
7.3.230.0100.01016.39
7.3.210.0100.00716.16
7.3.200.0060.00919.39
7.3.190.0130.00316.21
7.3.180.0060.00916.20
7.3.170.0110.00616.27
7.3.160.0060.00916.34
7.3.120.0090.00814.78
7.3.110.0090.00514.65
7.3.100.0100.00714.61
7.3.90.0070.00614.67
7.3.80.0130.00314.72
7.3.70.0070.00514.63
7.3.60.0050.01014.63
7.3.50.0000.01214.56
7.3.40.0020.01314.58
7.3.30.0060.00414.82
7.3.20.0100.00116.55
7.3.10.0040.00716.51
7.3.00.0070.00416.51
7.2.330.0060.01216.61
7.2.320.0090.01316.57
7.2.310.0100.00616.43
7.2.300.0090.01216.62
7.2.290.0090.00916.61
7.2.250.0070.01214.69
7.2.240.0050.01214.94
7.2.230.0070.00615.07
7.2.220.0050.01115.01
7.2.210.0100.00715.08
7.2.200.0050.00714.76
7.2.190.0070.00715.10
7.2.180.0050.01015.01
7.2.170.0010.01014.93
7.2.160.0040.01214.80
7.2.150.0070.01017.01
7.2.140.0070.00316.59
7.2.130.0030.01116.77
7.2.120.0060.00816.54
7.2.110.0090.00516.62
7.2.100.0040.00916.71
7.2.90.0070.01016.81
7.2.80.0070.00816.84
7.2.70.0100.00616.95
7.2.60.0140.00516.93
7.2.50.0080.00816.88
7.2.40.0070.00916.84
7.2.30.0110.00316.83
7.2.20.0100.00516.99
7.2.10.0110.00416.77
7.2.00.0060.00717.46
7.1.330.0070.00915.59
7.1.320.0070.00815.63
7.1.310.0030.00915.77
7.1.300.0030.01015.69
7.1.290.0020.00915.72
7.1.280.0080.00515.57
7.1.270.0030.01015.63
7.1.260.0070.00315.77
7.1.250.0050.00715.52
7.1.240.0080.00315.42
7.1.230.0070.00415.67
7.1.220.0080.00315.57
7.1.210.0030.00715.72
7.1.200.0040.01115.65
7.1.190.0000.01415.78
7.1.180.0000.01015.76
7.1.170.0000.01315.84
7.1.160.0030.01015.73
7.1.150.0090.00615.75
7.1.140.0030.01015.76
7.1.130.0040.01115.54
7.1.120.0070.01015.55
7.1.110.0060.00615.82
7.1.100.0100.00816.68
7.1.90.0070.00715.85
7.1.80.0110.00415.70
7.1.70.0090.00416.19
7.1.60.0050.01417.78
7.1.50.0030.01216.18
7.1.40.0090.00315.70
7.1.30.0110.00715.78
7.1.20.0030.01215.79
7.1.10.0040.01115.54
7.1.00.0050.04119.11
7.0.330.0000.01014.98
7.0.320.0080.00515.39
7.0.310.0060.01315.16
7.0.300.0090.00615.00
7.0.290.0070.00415.26
7.0.280.0030.01215.14
7.0.270.0070.01015.16
7.0.260.0110.00315.31
7.0.250.0070.00315.13
7.0.240.0030.00615.04
7.0.230.0030.01315.23
7.0.220.0130.00015.36
7.0.210.0080.00815.18
7.0.200.0030.00816.00
7.0.190.0000.00815.29
7.0.180.0070.00315.52
7.0.170.0040.01415.34
7.0.160.0000.01415.32
7.0.150.0030.00915.45
7.0.140.0050.03918.67
7.0.130.0060.00915.38
7.0.120.0130.00315.40
7.0.110.0020.02617.55
7.0.100.0030.03517.59
7.0.90.0090.01817.54
7.0.80.0060.02217.66
7.0.70.0130.01717.55
7.0.60.0060.02017.37
7.0.50.0080.02217.61
7.0.40.0080.01716.65
7.0.30.0060.02316.59
7.0.20.0080.04016.58
7.0.10.0080.02216.55
7.0.00.0030.02416.57
5.6.400.0080.00414.21
5.6.390.0060.00614.22
5.6.380.0080.00014.14
5.6.370.0030.01214.02
5.6.360.0080.00814.11
5.6.350.0000.01514.64
5.6.340.0030.00614.14
5.6.330.0060.00614.00
5.6.320.0040.01414.53
5.6.310.0000.01514.10
5.6.300.0110.00314.48
5.6.290.0060.00614.20
5.6.280.0010.04017.55
5.6.270.0000.01114.41
5.6.260.0050.02517.43
5.6.250.0030.02617.54
5.6.240.0070.04317.56
5.6.230.0070.02017.62
5.6.220.0020.02217.45
5.6.210.0050.02317.43
5.6.200.0040.02317.58
5.6.190.0020.02517.64
5.6.180.0080.04017.45
5.6.170.0110.02017.38
5.6.160.0080.03717.48
5.6.150.0090.03017.51
5.6.140.0080.02317.54
5.6.130.0040.03417.41
5.6.120.0020.02417.65
5.6.110.0050.03317.48
5.6.100.0050.02917.38
5.6.90.0060.02617.43
5.6.80.0070.02817.13
5.6.70.0050.02417.08
5.6.60.0030.02517.22
5.6.50.0050.02716.94
5.6.40.0040.03317.03
5.6.30.0060.02117.15
5.6.20.0080.02017.08
5.6.10.0090.01317.02
5.6.00.0060.01817.03
5.5.380.0050.03516.00
5.5.370.0030.02315.71
5.5.360.0000.03016.12
5.5.350.0070.03115.97
5.5.340.0070.04016.08
5.5.330.0030.02616.31
5.5.320.0050.02316.07
5.5.310.0050.02716.06
5.5.300.0030.02816.13
5.5.290.0020.02516.03
5.5.280.0050.02316.25
5.5.270.0070.02815.97
5.5.260.0060.02116.16
5.5.250.0080.02015.98
5.5.240.0050.03015.89
5.5.230.0090.01915.76
5.5.220.0050.02815.69
5.5.210.0100.01715.65
5.5.200.0070.02915.86
5.5.190.0030.02515.78
5.5.180.0050.02315.80
5.5.170.0110.00413.98
5.5.160.0040.02315.76
5.5.150.0030.02215.68
5.5.140.0050.03015.80
5.5.130.0030.04315.87
5.5.120.0080.02815.91
5.5.110.0050.02215.68
5.5.100.0110.03915.72
5.5.90.0060.04015.69
5.5.80.0070.01915.75
5.5.70.0060.03815.66
5.5.60.0050.02315.68
5.5.50.0030.02315.75
5.5.40.0030.02115.88
5.5.30.0050.02315.82
5.5.20.0030.02515.65
5.5.10.0060.02915.62
5.5.00.0120.01515.75
5.4.450.0030.02315.31
5.4.440.0040.01915.21
5.4.430.0050.02215.27
5.4.420.0020.03515.24
5.4.410.0020.03015.14
5.4.400.0060.04015.00
5.4.390.0030.02515.07
5.4.380.0000.02615.12
5.4.370.0090.02515.07
5.4.360.0060.02015.07
5.4.350.0050.02515.02
5.4.340.0040.02215.09
5.4.330.0060.00610.76
5.4.320.0030.02315.12
5.4.310.0070.03315.08
5.4.300.0040.01915.03
5.4.290.0050.02015.01
5.4.280.0000.02114.96
5.4.270.0040.01815.05
5.4.260.0030.02315.11
5.4.250.0000.02314.92
5.4.240.0050.01815.02
5.4.230.0050.02414.91
5.4.220.0060.03615.02
5.4.210.0020.02114.91
5.4.200.0020.03314.97
5.4.190.0120.02215.01
5.4.180.0050.03014.79
5.4.170.0030.02015.12
5.4.160.0070.01815.06
5.4.150.0050.02515.04
5.4.140.0040.02613.62
5.4.130.0080.03313.71
5.4.120.0060.03813.80
5.4.110.0050.02113.78
5.4.100.0020.03213.74
5.4.90.0030.01813.88
5.4.80.0050.02013.66
5.4.70.0070.01513.65
5.4.60.0100.01313.73
5.4.50.0050.02213.78
5.4.40.0030.02013.54
5.4.30.0020.02113.76
5.4.20.0090.02613.73
5.4.10.0030.02213.67
5.4.00.0050.02713.39
5.3.290.0000.02412.76
5.3.280.0060.03012.58
5.3.270.0080.02712.61
5.3.260.0030.02512.62
5.3.250.0030.02612.60
5.3.240.0000.02512.44
5.3.230.0020.03012.43
5.3.220.0030.02012.52
5.3.210.0100.03312.54
5.3.200.0040.03212.59
5.3.190.0000.02312.49
5.3.180.0060.01812.67
5.3.170.0020.02012.62
5.3.160.0020.01812.61
5.3.150.0070.01512.63
5.3.140.0070.04312.56
5.3.130.0030.02012.56
5.3.120.0030.01912.41
5.3.110.0100.02512.58
5.3.100.0040.02212.24
5.3.90.0020.02212.40
5.3.80.0020.02512.21
5.3.70.0030.02112.40
5.3.60.0050.02612.34
5.3.50.0020.02012.25
5.3.40.0050.04112.13
5.3.30.0040.02012.28
5.3.20.0030.02012.00
5.3.10.0020.01812.02
5.3.00.0020.02112.08
5.2.170.0000.03312.52
5.2.160.0070.02312.52
5.2.150.0000.03012.52
5.2.140.0000.03012.52
5.2.130.0030.03012.52
5.2.120.0000.03012.52
5.2.110.0000.02712.52
5.2.100.0030.02312.52
5.2.90.0070.03312.52
5.2.80.0000.03012.52
5.2.70.0000.03012.52
5.2.60.0000.02712.52
5.2.50.0100.02012.52
5.2.40.0100.02012.52
5.2.30.0000.03312.52
5.2.20.0070.02312.52
5.2.10.0070.02312.52
5.2.00.0000.02712.52
5.1.60.0000.02012.52
5.1.50.0030.02012.52
5.1.40.0000.02012.52
5.1.30.0000.02312.52
5.1.20.0030.02312.52
5.1.10.0030.02012.52
5.1.00.0030.02312.52
5.0.50.0030.01712.52
5.0.40.0030.01312.52
5.0.30.0000.03012.52
5.0.20.0030.01712.52
5.0.10.0030.01712.52
5.0.00.0000.03012.52
4.4.90.0000.01312.52
4.4.80.0000.01312.52
4.4.70.0070.01012.52
4.4.60.0000.01312.52
4.4.50.0070.00712.52
4.4.40.0000.03312.52
4.4.30.0000.01312.52
4.4.20.0000.01312.52
4.4.10.0000.02012.52
4.4.00.0000.02312.52
4.3.110.0000.01312.52
4.3.100.0000.01312.52
4.3.90.0000.01312.52
4.3.80.0000.02012.52
4.3.70.0030.02012.52
4.3.60.0000.01312.52
4.3.50.0030.01012.52
4.3.40.0030.02012.52
4.3.30.0030.02312.52
4.3.20.0030.01312.52
4.3.10.0070.01012.52
4.3.00.0000.01312.52

preferences:
36.95 ms | 401 KiB | 5 Q