3v4l.org

run code in 300+ PHP versions simultaneously
<?php class a { public function api() { } } class b extends a { public function api() { $argv = func_get_args(); return call_user_func_array( array( "parent", "api" ) , $argv ); } } $b = new b(); $b->api();

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.40.0070.00718.60
8.3.30.0110.00318.79
8.3.20.0100.00620.15
8.3.10.0050.00322.11
8.3.00.0030.00522.58
8.2.170.0110.00422.96
8.2.160.0120.00419.04
8.2.150.0090.00624.18
8.2.140.0050.00324.66
8.2.130.0030.00526.16
8.2.120.0110.00719.77
8.2.110.0030.00720.94
8.2.100.0090.00317.78
8.2.90.0000.00919.25
8.2.80.0080.00017.97
8.2.70.0040.00417.63
8.2.60.0000.00817.93
8.2.50.0050.00318.07
8.2.40.0080.00018.16
8.2.30.0040.00418.03
8.2.20.0040.00417.52
8.2.10.0000.00717.73
8.2.00.0060.00617.58
8.1.270.0070.00322.19
8.1.260.0080.00026.35
8.1.250.0000.00828.09
8.1.240.0080.00822.69
8.1.230.0040.00719.09
8.1.220.0040.00417.74
8.1.210.0030.00618.77
8.1.200.0090.00017.23
8.1.190.0040.00417.54
8.1.180.0060.00318.10
8.1.170.0040.00418.59
8.1.160.0000.00722.13
8.1.150.0000.00718.54
8.1.140.0040.00417.42
8.1.130.0030.00317.88
8.1.120.0000.00717.43
8.1.110.0040.00417.41
8.1.100.0030.00517.48
8.1.90.0000.00717.44
8.1.80.0040.00417.40
8.1.70.0040.00417.33
8.1.60.0000.00717.46
8.1.50.0040.00417.44
8.1.40.0030.00517.50
8.1.30.0050.00217.61
8.1.20.0030.00617.54
8.1.10.0040.00417.51
8.1.00.0040.00417.36
8.0.300.0030.00318.77
8.0.290.0000.00717.18
8.0.280.0000.00718.43
8.0.270.0080.00017.11
8.0.260.0000.00716.82
8.0.250.0050.00316.91
8.0.240.0060.00616.84
8.0.230.0000.00716.86
8.0.220.0030.00316.79
8.0.210.0000.00816.87
8.0.200.0040.00416.93
8.0.190.0030.00316.93
8.0.180.0000.00816.83
8.0.170.0060.00316.89
8.0.160.0080.00016.80
8.0.150.0030.00316.86
8.0.140.0030.00616.66
8.0.130.0060.00013.30
8.0.120.0000.00716.90
8.0.110.0000.00716.81
8.0.100.0000.00716.66
8.0.90.0000.00716.93
8.0.80.0120.00916.87
8.0.70.0040.00416.93
8.0.60.0040.00416.82
8.0.50.0000.00716.74
8.0.30.0100.01117.09
8.0.20.0140.00517.40
8.0.10.0000.00716.94
8.0.00.0100.00716.78
7.4.330.0050.00015.00
7.4.320.0030.00316.59
7.4.300.0070.00016.58
7.4.290.0050.00316.63
7.4.280.0070.00016.63
7.4.270.0070.00016.38
7.4.260.0040.00416.57
7.4.250.0000.00816.55
7.4.240.0020.00516.53
7.4.230.0030.00316.33
7.4.220.0070.01816.45
7.4.210.0090.00716.52
7.4.200.0070.00016.57
7.4.190.0000.00716.39
7.4.160.0090.00616.38
7.4.150.0060.01217.40
7.4.140.0100.00717.86
7.4.130.0070.01116.35
7.4.120.0090.01016.38
7.4.110.0160.00316.57
7.4.100.0060.01116.38
7.4.90.0030.01616.53
7.4.80.0000.02219.39
7.4.70.0120.00916.35
7.4.60.0160.00616.45
7.4.50.0040.00416.48
7.4.40.0030.00922.77
7.4.30.0130.00316.64
7.4.00.0030.01315.04
7.3.330.0050.00013.02
7.3.320.0000.00713.21
7.3.310.0000.00716.14
7.3.300.0060.00316.29
7.3.290.0060.00616.18
7.3.280.0090.00616.23
7.3.270.0090.00917.40
7.3.260.0110.01216.50
7.3.250.0140.00816.26
7.3.240.0080.00816.42
7.3.230.0070.01116.51
7.3.210.0080.00816.35
7.3.200.0120.00616.57
7.3.190.0150.00916.43
7.3.180.0070.01016.16
7.3.170.0160.00016.30
7.3.160.0120.00316.54
7.3.120.0090.00814.66
7.3.110.0060.01315.02
7.3.100.0070.01014.91
7.3.90.0070.00714.77
7.3.80.0030.00914.47
7.3.70.0040.00414.46
7.3.60.0060.00614.49
7.3.50.0040.00414.73
7.3.40.0040.00814.74
7.3.30.0060.00614.70
7.3.20.0040.00816.77
7.3.10.0070.00416.61
7.3.00.0070.00716.54
7.2.330.0090.01216.54
7.2.320.0000.01916.55
7.2.310.0130.00316.77
7.2.300.0110.00416.62
7.2.290.0100.01016.38
7.2.250.0120.00415.12
7.2.240.0060.01314.72
7.2.230.0000.01514.70
7.2.220.0060.01015.10
7.2.210.0100.00715.08
7.2.200.0060.00615.06
7.2.190.0100.00315.02
7.2.180.0040.00414.93
7.2.170.0000.01614.97
7.2.160.0090.00314.94
7.2.150.0060.00316.77
7.2.140.0090.00316.98
7.2.130.0030.00916.79
7.2.120.0000.00916.98
7.2.110.0040.01116.87
7.2.100.0070.00716.64
7.2.90.0040.00716.77
7.2.80.0070.00716.91
7.2.70.0060.00916.88
7.2.60.0040.00816.88
7.2.50.0090.00916.64
7.2.40.0060.00916.92
7.2.30.0060.00616.91
7.2.20.0100.00716.84
7.2.10.0040.01116.90
7.2.00.0070.00918.12
7.1.330.0040.01215.67
7.1.320.0030.01015.89
7.1.310.0090.00615.66
7.1.300.0060.00615.77
7.1.290.0090.00015.61
7.1.280.0000.01715.69
7.1.270.0030.00615.73
7.1.260.0040.00715.57
7.1.250.0040.01115.71
7.1.240.0000.01315.39
7.1.230.0070.00715.80
7.1.220.0000.00915.74
7.1.210.0070.00715.73
7.1.200.0080.00315.73
7.1.190.0090.00615.66
7.1.180.0090.00915.64
7.1.170.0100.00715.63
7.1.160.0100.00015.70
7.1.150.0060.00915.72
7.1.140.0090.00615.72
7.1.130.0040.00815.70
7.1.120.0100.00315.72
7.1.110.0110.00615.53
7.1.100.0560.00615.79
7.1.90.0090.00315.72
7.1.80.0000.01015.84
7.1.70.0000.01216.33
7.1.60.0050.01117.84
7.1.50.0050.01216.11
7.1.40.0030.00715.67
7.1.30.0050.00515.77
7.1.20.0130.00315.46
7.1.10.0070.00715.55
7.1.00.0050.02219.10
7.0.330.0040.00715.48
7.0.320.0040.01115.23
7.0.310.0030.01015.27
7.0.300.0080.00615.27
7.0.290.0050.00815.34
7.0.280.0070.01015.34
7.0.270.0060.00615.24
7.0.260.0070.00715.11
7.0.250.0030.01315.42
7.0.240.0060.00915.18
7.0.230.0000.01215.23
7.0.220.0090.00315.31
7.0.210.0030.01015.43
7.0.200.0020.01016.02
7.0.190.0040.00715.29
7.0.180.0000.00815.07
7.0.170.0060.00915.11
7.0.160.0040.00415.32
7.0.150.0000.01015.49
7.0.140.0060.03818.55
7.0.130.0070.00415.26
7.0.120.0060.00314.99
7.0.110.0070.00715.21
7.0.100.0070.00715.47
7.0.90.0070.00715.29
7.0.80.0060.00315.20
7.0.70.0030.01015.33
7.0.60.0030.03517.66
7.0.50.0070.04416.57
7.0.40.0040.02716.82
7.0.30.0210.03816.80
7.0.20.0220.03816.64
7.0.10.0130.04316.84
7.0.00.0010.03316.83
5.6.400.0120.00314.45
5.6.390.0070.00714.55
5.6.380.0130.00314.38
5.6.370.0060.00914.42
5.6.360.0040.01014.52
5.6.350.0030.00914.33
5.6.340.0040.01114.15
5.6.330.0080.00614.19
5.6.320.0000.01114.31
5.6.310.0130.00014.43
5.6.300.0040.00414.13
5.6.290.0090.00614.28
5.6.280.0050.04317.63
5.6.270.0000.01414.33
5.6.260.0040.00814.45
5.6.250.0000.00914.39
5.6.240.0070.00714.23
5.6.230.0070.00714.32
5.6.220.0000.00914.33
5.6.210.0050.04317.46
5.6.200.0050.03316.15
5.6.190.0070.04517.58
5.6.180.1660.02517.55
5.6.170.0230.04017.50
5.6.160.0060.04817.40
5.6.150.0080.04716.22
5.6.140.0020.03316.12
5.6.130.0070.04216.14
5.6.120.0090.04017.64
5.6.110.0050.02317.61
5.6.100.0070.03617.52
5.6.90.0100.04617.59
5.6.80.0050.04317.29
5.6.70.0200.03517.27
5.6.60.0060.00614.24
5.6.50.0070.00714.38
5.6.40.0090.00614.13
5.6.30.0110.00314.18
5.6.20.0070.00814.23
5.6.10.0040.01114.45
5.6.00.0060.00614.09
5.5.380.0000.01414.42
5.5.370.0000.01014.30
5.5.360.0030.01014.17
5.5.350.0050.02717.32
5.5.340.0050.03816.04
5.5.330.0110.04217.37
5.5.320.0130.02617.29
5.5.310.0200.03617.33
5.5.300.0050.03316.16
5.5.290.0070.03416.14
5.5.280.0100.02717.49
5.5.270.0100.03717.52
5.5.260.0050.04517.50
5.5.250.0060.03217.26
5.5.240.0070.04317.05
5.5.230.0000.01414.26
5.5.220.0030.01014.13
5.5.210.0130.00314.25
5.5.200.0040.00413.96
5.5.190.0120.00314.25
5.5.180.0070.01014.20
5.5.170.0030.01314.31
5.5.160.0070.00714.13
5.5.150.0110.00414.32
5.5.140.0000.01114.15
5.5.130.0040.01114.01
5.5.120.0040.01114.20
5.5.110.0060.00314.13
5.5.100.0000.01014.08
5.5.90.0040.00714.22
5.5.80.0040.01114.01
5.5.70.0030.01314.23
5.5.60.0030.01014.42
5.5.50.0030.01013.89
5.5.40.0000.01113.91
5.5.30.0080.00314.07
5.5.20.0000.01514.34
5.5.10.0090.00614.24
5.5.00.0100.00314.30
5.4.450.0430.02815.23
5.4.440.0390.03115.17
5.4.430.0140.03715.13
5.4.420.0150.02815.35
5.4.410.0100.03015.17
5.4.400.0190.02814.95
5.4.390.0530.03414.72
5.4.380.0150.03014.88
5.4.370.0100.02614.76
5.4.360.0080.03014.81
5.4.350.0120.02814.84
5.4.340.0110.02614.99
5.4.330.0030.00310.91
5.4.320.0030.03111.83
5.4.310.0050.02411.70
5.4.300.0070.02211.72
5.4.290.0050.02411.71
5.4.280.0060.02111.57
5.4.270.0060.02211.66
5.4.260.0080.02614.86
5.4.250.0100.02914.87
5.4.240.0090.02714.89
5.4.230.0020.03414.89
5.4.220.0100.03114.94
5.4.210.0100.02314.88
5.4.200.0090.02914.95
5.4.190.0110.02814.95
5.4.180.0100.03514.77
5.4.170.0050.03214.77
5.4.160.0110.02314.79
5.4.150.0100.03714.84
5.4.140.0120.03713.88
5.4.130.0030.03313.77
5.4.120.0050.03313.57
5.4.110.0100.03513.56
5.4.100.0060.03313.61
5.4.90.0050.03113.65
5.4.80.0030.03013.64
5.4.70.0100.02513.70
5.4.60.0090.03913.58
5.4.50.0070.02613.63
5.4.40.0070.03213.70
5.4.30.0090.02713.56
5.4.20.0050.02713.66
5.4.10.0030.03513.60
5.4.00.0070.03213.34
5.3.290.0070.02711.75
5.3.280.0110.02212.71
5.3.270.0110.02512.64
5.3.260.0070.04112.56
5.3.250.0070.02812.60
5.3.240.0040.03212.73
5.3.230.0050.03212.68
5.3.220.0030.03312.71
5.3.210.0100.02812.61
5.3.200.0030.03012.67
5.3.190.0050.03812.63
5.3.180.0070.02912.62
5.3.170.0120.02412.72
5.3.160.0080.04012.62
5.3.150.0100.02412.54
5.3.140.0030.03112.66
5.3.130.0100.03612.62
5.3.120.0050.03712.66
5.3.110.0120.02712.71
5.3.100.0080.03512.36
5.3.90.0070.03912.30
5.3.80.0080.02812.36
5.3.70.0080.03312.27
5.3.60.0070.02812.29
5.3.50.0050.02712.32
5.3.40.0070.03112.32
5.3.30.0080.02812.30
5.3.20.0010.03012.24
5.3.10.0030.03012.17
5.3.00.0080.03612.12
5.2.170.0070.04011.31
5.2.160.0070.04011.23
5.2.150.0070.04011.23
5.2.140.0030.04311.21
5.2.130.0070.04011.32
5.2.120.0030.05011.11
5.2.110.0070.05311.07
5.2.100.0070.04311.27
5.2.90.0100.03710.93
5.2.80.0000.05311.16
5.2.70.0030.04310.92
5.2.60.0100.04311.04
5.2.50.0130.03311.02
5.2.40.0030.04711.07
5.2.30.0100.04711.07
5.2.20.0030.06010.96
5.2.10.0000.04711.04
5.2.00.0000.04710.55
5.1.60.0000.03710.05
5.1.50.0070.04310.00
5.1.40.0000.04010.02
5.1.30.0170.04010.41
5.1.20.0070.03310.58
5.1.10.0070.03310.05
5.1.00.0030.03710.19
5.0.50.0030.0278.51
5.0.40.0070.0308.60
5.0.30.0230.06329.99
5.0.20.0130.04729.96
5.0.10.0230.04329.80
5.0.00.0100.10337.45
4.4.90.0000.0337.51
4.4.80.0030.0307.51
4.4.70.0070.0177.51
4.4.60.0100.0137.51
4.4.50.0070.0177.51
4.4.40.0000.0437.51
4.4.30.0070.0277.51
4.4.20.0030.0277.51
4.4.10.0000.0307.51
4.4.00.0070.0377.51
4.3.110.0100.0177.51
4.3.100.0000.0237.51
4.3.90.0030.0277.51
4.3.80.0030.0337.51
4.3.70.0030.0307.51
4.3.60.0030.0277.51
4.3.50.0030.0277.51
4.3.40.0070.0337.51
4.3.30.0030.0237.51
4.3.20.0030.0277.51
4.3.10.0030.0207.51
4.3.00.0000.0236.84

preferences:
44.24 ms | 400 KiB | 5 Q