3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { public function __construct() { var_dump(func_get_args()); } } class B extends A { function __construct() { // call the parent constructor with whatever parameters were provided call_user_func_array(array('parent', '__construct'), func_get_args()); // Additional actions that do not need direct access to the parameters echo __CLASS__; } } new B(1,2,3);

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.0090.00616.61
8.3.50.0120.00522.10
8.3.40.0110.00418.70
8.3.30.0140.00019.06
8.3.20.0040.00420.19
8.3.10.0080.00023.67
8.3.00.0060.00319.38
8.2.180.0090.00618.63
8.2.170.0040.01222.96
8.2.160.0030.01020.20
8.2.150.0050.00324.18
8.2.140.0080.00024.66
8.2.130.0090.00326.16
8.2.120.0070.00022.21
8.2.110.0040.00422.29
8.2.100.0000.01217.83
8.2.90.0000.00919.08
8.2.80.0000.00817.97
8.2.70.0080.00017.50
8.2.60.0030.00617.93
8.2.50.0040.00418.07
8.2.40.0040.00418.22
8.2.30.0040.00418.00
8.2.20.0000.00717.49
8.2.10.0000.00718.08
8.2.00.0030.00617.66
8.1.280.0090.00625.92
8.1.270.0090.00022.00
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0080.00023.84
8.1.230.0110.00019.21
8.1.220.0090.00017.74
8.1.210.0030.00618.77
8.1.200.0080.00317.38
8.1.190.0060.00317.27
8.1.180.0080.00018.10
8.1.170.0040.00418.67
8.1.160.0040.00422.02
8.1.150.0040.00418.53
8.1.140.0040.00417.38
8.1.130.0030.00317.79
8.1.120.0050.00217.38
8.1.110.0000.00817.26
8.1.100.0000.00817.34
8.1.90.0000.00717.39
8.1.80.0080.00017.40
8.1.70.0030.00317.36
8.1.60.0000.00817.48
8.1.50.0000.00817.35
8.1.40.0000.00817.34
8.1.30.0050.00317.38
8.1.20.0040.00417.57
8.1.10.0050.00217.38
8.1.00.0000.00817.43
8.0.300.0050.00218.77
8.0.290.0000.00717.16
8.0.280.0030.00318.44
8.0.270.0000.00717.26
8.0.260.0000.00716.72
8.0.250.0000.00616.91
8.0.240.0040.00417.00
8.0.230.0050.00216.93
8.0.220.0040.00416.76
8.0.210.0030.00316.86
8.0.200.0070.00016.98
8.0.190.0040.00417.00
8.0.180.0000.00716.86
8.0.170.0000.00816.90
8.0.160.0050.00216.86
8.0.150.0000.00816.88
8.0.140.0040.00416.85
8.0.130.0030.00313.29
8.0.120.0000.00816.89
8.0.110.0080.00016.72
8.0.100.0040.00416.79
8.0.90.0030.00316.87
8.0.80.0100.01316.77
8.0.70.0070.00016.75
8.0.60.0040.00416.86
8.0.50.0000.00716.86
8.0.30.0100.01117.04
8.0.20.0060.01217.40
8.0.10.0000.00716.84
8.0.00.0090.00916.79
7.4.330.0050.00015.14
7.4.320.0070.00016.49
7.4.300.0000.00616.52
7.4.290.0050.00216.48
7.4.280.0070.00016.59
7.4.270.0040.00416.48
7.4.260.0000.01016.59
7.4.250.0050.00316.48
7.4.240.0010.00616.54
7.4.230.0040.00416.67
7.4.220.0100.01016.59
7.4.210.0080.00816.59
7.4.200.0030.00516.48
7.4.190.0050.00216.72
7.4.160.0040.01216.37
7.4.150.0100.01017.40
7.4.140.0050.01217.86
7.4.130.0090.00916.38
7.4.120.0110.00516.38
7.4.110.0030.01416.49
7.4.100.0150.00916.64
7.4.90.0100.00716.68
7.4.80.0060.01219.39
7.4.70.0090.00616.46
7.4.60.0080.00816.28
7.4.50.0030.00616.44
7.4.40.0050.00722.77
7.4.30.0060.00916.38
7.4.00.0090.00914.96
7.3.330.0000.00513.18
7.3.320.0000.00512.99
7.3.310.0030.00516.10
7.3.300.0030.00316.23
7.3.290.0100.00516.24
7.3.280.0060.01016.18
7.3.270.0070.01117.40
7.3.260.0060.01216.36
7.3.250.0130.00616.43
7.3.240.0100.01316.36
7.3.230.0100.00716.47
7.3.210.0170.00016.36
7.3.200.0100.01019.39
7.3.190.0060.01616.26
7.3.180.0100.00616.50
7.3.170.0130.00316.27
7.3.160.0130.00316.56
7.3.120.0060.01114.88
7.3.110.0030.01414.51
7.3.100.0030.01514.58
7.3.90.0040.00814.65
7.3.80.0100.00714.88
7.3.70.0040.00714.45
7.3.60.0070.00714.62
7.3.50.0030.00614.75
7.3.40.0060.00314.79
7.3.30.0060.00614.69
7.3.20.0060.00616.34
7.3.10.0030.01116.66
7.3.00.0090.00616.50
7.2.330.0130.00316.25
7.2.320.0120.00416.58
7.2.310.0060.01716.44
7.2.300.0120.00316.21
7.2.290.0060.01016.70
7.2.250.0090.01015.10
7.2.240.0100.00714.77
7.2.230.0070.00714.91
7.2.220.0040.01215.12
7.2.210.0090.00915.10
7.2.200.0100.00315.11
7.2.190.0070.01014.73
7.2.180.0090.00615.09
7.2.170.0070.00714.93
7.2.160.0000.00914.75
7.2.150.0080.00816.81
7.2.140.0090.00916.72
7.2.130.0070.01016.50
7.2.120.0060.01316.58
7.2.110.0030.01316.91
7.2.100.0060.00916.87
7.2.90.0090.00616.67
7.2.80.0000.01616.91
7.2.70.0100.00616.80
7.2.60.0000.01417.02
7.2.50.0030.01216.78
7.2.40.0090.00616.64
7.2.30.0070.00716.96
7.2.20.0040.01416.68
7.2.10.0060.00616.93
7.2.00.0030.00616.53
7.1.330.0070.01015.51
7.1.320.0070.01015.91
7.1.310.0070.00715.65
7.1.300.0120.00615.89
7.1.290.0100.00315.89
7.1.280.0030.01015.54
7.1.270.0040.01015.77
7.1.260.0070.01015.71
7.1.250.0030.01215.49
7.1.240.0000.01815.59
7.1.230.0030.01015.50
7.1.220.0030.00915.75
7.1.210.0030.00715.66
7.1.200.0080.00515.74
7.1.190.0040.00815.77
7.1.180.0000.01415.75
7.1.170.0080.00815.70
7.1.160.0030.00715.83
7.1.150.0070.00715.32
7.1.140.0030.01115.64
7.1.130.0090.00615.55
7.1.120.0070.00415.61
7.1.110.0000.01215.65
7.1.100.0000.00815.38
7.1.90.0040.00715.46
7.1.80.0060.01015.86
7.1.70.0050.00416.36
7.1.60.0050.01217.59
7.1.50.0050.01216.10
7.1.40.0000.01415.79
7.1.30.0060.00915.75
7.1.20.0090.00915.38
7.1.10.0040.01415.34
7.1.00.0040.04118.92
7.0.330.0060.00615.30
7.0.320.0040.00815.45
7.0.310.0140.00015.09
7.0.300.0070.00715.29
7.0.290.0090.00315.28
7.0.280.0100.00015.18
7.0.270.0060.00315.38
7.0.260.0000.01015.20
7.0.250.0060.00615.34
7.0.240.0040.00715.45
7.0.230.0030.01215.13
7.0.220.0000.01515.43
7.0.210.0080.00015.32
7.0.200.0030.00715.80
7.0.190.0100.00315.45
7.0.180.0110.00015.11
7.0.170.0030.01415.21
7.0.160.0110.00315.17
7.0.150.0030.01415.06
7.0.140.0050.04018.59
7.0.130.0090.00315.25
7.0.120.0030.01415.37
7.0.110.0060.00615.26
7.0.100.0030.00815.38
7.0.90.0030.01015.07
7.0.80.0250.02717.63
7.0.70.0180.02317.65
7.0.60.0220.03917.62
7.0.50.0360.03617.68
7.0.40.0050.04716.65
7.0.30.0050.04316.78
7.0.20.0050.04816.69
7.0.10.0070.04616.66
7.0.00.0100.02316.69
5.6.400.0090.00613.89
5.6.390.0100.00314.13
5.6.380.0090.00014.28
5.6.370.0070.00714.47
5.6.360.0070.00714.26
5.6.350.0030.00714.50
5.6.340.0070.00414.45
5.6.330.0000.01214.15
5.6.320.0040.00714.54
5.6.310.0030.00714.25
5.6.300.0130.00313.90
5.6.290.0120.00013.90
5.6.280.0070.04017.43
5.6.270.0060.01214.04
5.6.260.0060.00614.51
5.6.250.0070.00714.33
5.6.240.0100.00714.50
5.6.230.0050.02817.32
5.6.220.0030.04617.45
5.6.210.0060.03117.35
5.6.200.0060.04817.63
5.6.190.0030.03017.56
5.6.180.0080.02917.58
5.6.170.0140.03917.80
5.6.160.0040.02817.72
5.6.150.0080.04217.65
5.6.140.0050.04717.82
5.6.130.0080.03417.52
5.6.120.0020.03717.77
5.6.110.0100.04117.76
5.6.100.0100.04217.81
5.6.90.0050.02817.64
5.6.80.0030.04217.31
5.6.70.0020.04617.28
5.6.60.0070.04217.31
5.6.50.0030.04817.34
5.6.40.0080.02817.27
5.6.30.0090.03617.33
5.6.20.0040.03017.34
5.6.10.0080.04317.25
5.6.00.0070.03717.21
5.5.380.0090.00614.21
5.5.370.0110.03317.43
5.5.360.0090.02517.29
5.5.350.0050.04617.34
5.5.340.0070.04217.59
5.5.330.0030.04517.61
5.5.320.0070.03317.50
5.5.310.0100.04517.36
5.5.300.0030.03917.57
5.5.290.0110.04317.49
5.5.280.0080.04217.51
5.5.270.0050.04217.49
5.5.260.0070.04317.41
5.5.250.0060.03817.49
5.5.240.0080.04017.13
5.5.230.0050.04017.20
5.5.220.0070.04017.14
5.5.210.0100.03917.20
5.5.200.0070.02017.20
5.5.190.0040.03217.16
5.5.180.0060.04117.17
5.5.170.0060.00314.15
5.5.160.0050.03017.23
5.5.150.0070.04017.17
5.5.140.0070.04317.19
5.5.130.0070.04316.95
5.5.120.0070.04217.24
5.5.110.0150.03717.08
5.5.100.0050.04317.11
5.5.90.0090.03317.08
5.5.80.0080.03717.22
5.5.70.0080.03817.04
5.5.60.0080.03617.11
5.5.50.0080.03617.10
5.5.40.0090.03716.99
5.5.30.0070.04417.04
5.5.20.0110.03617.09
5.5.10.0100.03817.19
5.5.00.0050.04717.00
5.4.450.0080.03916.25
5.4.440.0030.04516.29
5.4.430.0080.03316.20
5.4.420.0070.04216.24
5.4.410.0120.03416.13
5.4.400.0040.04316.08
5.4.390.0050.03016.09
5.4.380.0050.02816.16
5.4.370.0090.04016.04
5.4.360.0080.02816.04
5.4.350.0030.04316.16
5.4.340.0030.04216.14
5.4.330.0040.00413.13
5.4.320.0050.04116.14
5.4.310.0070.04016.09
5.4.300.0080.02516.15
5.4.290.0080.02616.18
5.4.280.0070.04316.01
5.4.270.0030.04216.16
5.4.260.0030.04316.00
5.4.250.0020.04016.12
5.4.240.0040.04016.01
5.4.230.0080.03716.07
5.4.220.0110.03816.08
5.4.210.0030.02316.14
5.4.200.0080.03716.09
5.4.190.0070.03916.07
5.4.180.0080.03316.07
5.4.170.0050.02216.13
5.4.160.0070.04216.07
5.4.150.0030.04516.07
5.4.140.0050.02814.79
5.4.130.0050.02314.77
5.4.120.0070.03714.77
5.4.110.0070.04014.78
5.4.100.0000.04214.79
5.4.90.0050.02014.76
5.4.80.0030.04214.84
5.4.70.0100.03614.82
5.4.60.0070.03614.79
5.4.50.0090.03414.72
5.4.40.0080.03614.75
5.4.30.0050.03914.80
5.4.20.0050.03014.71
5.4.10.0100.01714.79
5.4.00.0060.03714.49
5.3.290.0030.04013.98
5.3.280.0060.02813.98
5.3.270.0090.02413.98
5.3.260.0020.04413.98
5.3.250.0070.04013.98
5.3.240.0060.02813.98
5.3.230.0030.02813.98
5.3.220.0050.04213.98
5.3.210.0060.03813.98
5.3.200.0050.03913.98
5.3.190.0030.04213.98
5.3.180.0070.04113.98
5.3.170.0030.02513.98
5.3.160.0070.03313.98
5.3.150.0070.02313.98
5.3.140.0050.02713.98
5.3.130.0050.03313.98
5.3.120.0050.04213.98
5.3.110.0050.03813.98
5.3.100.0040.04013.98
5.3.90.0030.02713.98
5.3.80.0080.04513.98
5.3.70.0050.03613.98
5.3.60.0060.03613.98
5.3.50.0070.03813.98
5.3.40.0020.04613.98
5.3.30.0080.03813.98
5.3.20.0060.03113.98
5.3.10.0050.02913.98
5.3.00.0080.03313.98
5.2.170.0100.06014.82
5.2.160.0070.03714.82
5.2.150.0030.05314.82
5.2.140.0030.05714.82
5.2.130.0030.06014.82
5.2.120.0070.05714.82
5.2.110.0000.03314.82
5.2.100.0070.05014.82
5.2.90.0070.05314.82
5.2.80.0000.03714.82
5.2.70.0100.05314.82
5.2.60.0070.05314.82
5.2.50.0130.05014.82
5.2.40.0000.06714.82
5.2.30.0070.04714.82
5.2.20.0030.04714.82
5.2.10.0030.06014.82
5.2.00.0070.06014.82
5.1.60.0070.04714.82
5.1.50.0030.05714.82
5.1.40.0070.05014.82
5.1.30.0000.05014.82
5.1.20.0100.03314.82
5.1.10.0000.03014.82
5.1.00.0030.04314.82
5.0.50.0030.04014.82
5.0.40.0000.05014.82
5.0.30.0000.05314.82
5.0.20.0030.04014.82
5.0.10.0000.03014.82
5.0.00.0100.05314.82
4.4.90.0000.04714.82
4.4.80.0070.01314.82
4.4.70.0070.03014.82
4.4.60.0000.02314.82
4.4.50.0000.03714.82
4.4.40.0000.05314.82
4.4.30.0000.03014.82
4.4.20.0070.03014.82
4.4.10.0100.03014.82
4.4.00.0000.05014.82
4.3.110.0030.02714.82
4.3.100.0000.02314.82
4.3.90.0000.02014.82
4.3.80.0030.03314.82
4.3.70.0000.01714.82
4.3.60.0030.01714.82
4.3.50.0000.01714.82
4.3.40.0000.03014.82
4.3.30.0100.02314.82
4.3.20.0000.02714.82
4.3.10.0030.02714.82
4.3.00.0000.02314.82

preferences:
59.77 ms | 400 KiB | 5 Q