3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { protected function bar() { var_dump(func_get_args()); } public function __call($method, $args) { $this->bar(...array_unshift($args, $method)); } } (new Foo)->derp('this','is','an','example','of','variadics');

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.0160.00318.68
8.3.30.0100.00319.09
8.3.20.0070.00020.20
8.3.10.0000.00920.48
8.3.00.0030.00519.38
8.2.170.0140.00022.96
8.2.160.0030.01020.47
8.2.150.0040.00424.18
8.2.140.0120.00324.66
8.2.130.0070.00026.16
8.2.120.0030.00520.47
8.2.110.0060.00619.36
8.2.100.0090.00317.77
8.2.90.0000.00818.03
8.2.80.0080.00017.97
8.2.70.0030.00617.75
8.2.60.0030.00617.93
8.2.50.0080.00018.07
8.2.40.0080.00018.22
8.2.30.0000.00718.00
8.2.20.0070.00017.72
8.2.10.0040.00417.98
8.2.00.0050.00217.59
8.1.270.0070.00322.22
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0030.00622.56
8.1.230.0080.00420.85
8.1.220.0050.00317.74
8.1.210.0060.00318.77
8.1.200.0060.00317.23
8.1.190.0000.00817.35
8.1.180.0040.00418.10
8.1.170.0040.00418.38
8.1.160.0040.00421.85
8.1.150.0040.00418.71
8.1.140.0030.00517.20
8.1.130.0030.00317.76
8.1.120.0000.00717.35
8.1.110.0000.00717.21
8.1.100.0030.00317.30
8.1.90.0040.00417.18
8.1.80.0000.00817.22
8.1.70.0000.00717.29
8.1.60.0040.00417.57
8.1.50.0040.00417.53
8.1.40.0040.00417.40
8.1.30.0030.00517.46
8.1.20.0070.00017.58
8.1.10.0040.00417.49
8.1.00.0040.00417.45
8.0.300.0060.00319.89
8.0.290.0040.00416.58
8.0.280.0070.00018.43
8.0.270.0030.00317.19
8.0.260.0000.00718.39
8.0.250.0070.00016.98
8.0.240.0030.00316.94
8.0.230.0000.00716.83
8.0.220.0030.00316.91
8.0.210.0030.00316.87
8.0.200.0000.00716.84
8.0.190.0050.00216.96
8.0.180.0040.00416.81
8.0.170.0030.00616.98
8.0.160.0050.00316.94
8.0.150.0030.00316.80
8.0.140.0040.00416.80
8.0.130.0000.00613.26
8.0.120.0080.00016.89
8.0.110.0000.00716.82
8.0.100.0030.00316.90
8.0.90.0070.00016.87
8.0.80.0090.01316.88
8.0.70.0050.00316.91
8.0.60.0000.00816.77
8.0.50.0040.00416.81
8.0.30.0110.01017.18
8.0.20.0140.00617.40
8.0.10.0040.00416.99
8.0.00.0100.01216.73
7.4.330.0030.00315.15
7.4.320.0030.00316.64
7.4.300.0000.00716.69
7.4.290.0070.00016.61
7.4.280.0040.00416.41
7.4.270.0030.00316.59
7.4.260.0000.01016.50
7.4.250.0030.00316.59
7.4.240.0050.00216.59
7.4.230.0000.00716.39
7.4.220.0130.01316.42
7.4.210.0000.01516.45
7.4.200.0040.00416.53
7.4.160.0060.00916.37
7.4.150.0060.01217.40
7.4.140.0140.00517.86
7.4.130.0100.00816.56
7.4.120.0100.01016.65
7.4.110.0140.00316.53
7.4.100.0170.00316.52
7.4.90.0100.00716.45
7.4.80.0170.00619.39
7.4.70.0090.01016.66
7.4.60.0070.01116.34
7.4.50.0050.00316.57
7.4.40.0040.01416.57
7.4.30.0040.01216.53
7.4.10.0130.00615.06
7.4.00.0110.00615.14
7.3.330.0040.00313.31
7.3.320.0040.00313.28
7.3.310.0030.00316.39
7.3.300.0030.00316.16
7.3.290.0100.01016.28
7.3.280.0040.01416.30
7.3.270.0060.01217.40
7.3.260.0070.01516.27
7.3.250.0080.00916.49
7.3.240.0130.00916.51
7.3.230.0060.01016.39
7.3.210.0070.01016.32
7.3.200.0000.01719.39
7.3.190.0090.00816.34
7.3.180.0100.00616.37
7.3.170.0130.00616.32
7.3.160.0060.00916.28
7.3.130.0070.01114.76
7.3.120.0090.00614.85
7.3.110.0000.01914.80
7.3.100.0060.00614.79
7.3.90.0090.00014.80
7.3.80.0090.00314.74
7.3.70.0100.00314.80
7.3.60.0120.00314.84
7.3.50.0030.01214.70
7.3.40.0100.00314.87
7.3.30.0030.01214.90
7.3.20.0100.00716.73
7.3.10.0030.01216.68
7.3.00.0030.00916.75
7.2.330.0060.01116.55
7.2.320.0150.00316.50
7.2.310.0060.01616.16
7.2.300.0090.01416.63
7.2.290.0060.01916.60
7.2.260.0030.01514.92
7.2.250.0060.00614.82
7.2.240.0060.00914.97
7.2.230.0070.00714.88
7.2.220.0030.01415.01
7.2.210.0070.00315.00
7.2.200.0110.00314.95
7.2.190.0000.01714.95
7.2.180.0040.00914.77
7.2.170.0040.01215.02
7.2.160.0000.01514.83
7.2.150.0030.01516.98
7.2.140.0090.00616.85
7.2.130.0080.00816.75
7.2.120.0040.01216.87
7.2.110.0090.00916.93
7.2.100.0070.01016.64
7.2.90.0090.00616.83
7.2.80.0100.00716.72
7.2.70.0130.00316.89
7.2.60.0060.00616.81
7.2.50.0060.00616.85
7.2.40.0030.01316.74
7.2.30.0100.00716.67
7.2.20.0040.01116.88
7.2.10.0100.00316.62
7.2.00.0070.01016.66
7.1.330.0090.00615.71
7.1.320.0120.00315.71
7.1.310.0060.00615.72
7.1.300.0140.00015.71
7.1.290.0090.00615.71
7.1.280.0070.00815.75
7.1.270.0060.00315.47
7.1.260.0030.01015.72
7.1.250.0070.00715.73
7.1.240.0070.01015.85
7.1.230.0080.00415.66
7.1.220.0060.01115.70
7.1.210.0030.01215.75
7.1.200.0060.00915.70
7.1.190.0000.01115.48
7.1.180.0040.01115.73
7.1.170.0060.00615.69
7.1.160.0120.00315.63
7.1.150.0060.01015.61
7.1.140.0040.00715.83
7.1.130.0070.00715.69
7.1.120.0040.00915.71
7.1.110.0000.01715.66
7.1.100.0030.01016.93
7.1.90.0110.00415.83
7.1.80.0000.01215.78
7.1.70.0030.00716.54
7.1.60.0100.00316.38
7.1.50.0070.01016.28
7.1.40.0120.00315.77
7.1.30.0030.00715.80
7.1.20.0000.01215.80
7.1.10.0000.01315.77
7.1.00.0100.03818.93
7.0.330.0000.00915.40
7.0.320.0000.00815.13
7.0.310.0080.00415.32
7.0.300.0060.00715.04
7.0.290.0110.00415.26
7.0.280.0080.00015.39
7.0.270.0000.01215.30
7.0.260.0070.00715.36
7.0.250.0070.01015.38
7.0.240.0080.00415.41
7.0.230.0110.00415.39
7.0.220.0040.00815.42
7.0.210.0070.00315.31
7.0.200.0040.01116.02
7.0.190.0040.00815.46
7.0.180.0100.00315.47
7.0.170.0040.01215.43
7.0.160.0030.00715.40
7.0.150.0080.00015.40
7.0.140.0040.03718.62
7.0.130.0090.00915.42
7.0.120.0070.00315.14
7.0.110.0060.00315.11
7.0.100.0030.00915.52
7.0.90.0040.00815.40
7.0.80.0040.00815.38
7.0.70.1750.02317.68
7.0.60.0020.03617.71
7.0.50.0060.02216.65
7.0.40.0100.03516.89
7.0.30.0260.02916.79
7.0.20.0220.03516.85
7.0.10.0070.02816.84
7.0.00.0030.04816.80
5.6.400.0040.00714.19
5.6.390.0120.00314.51
5.6.380.0030.00714.28
5.6.370.0030.01014.32
5.6.360.0040.00814.41
5.6.350.0080.00414.11
5.6.340.0030.00614.25
5.6.330.0120.00314.44
5.6.320.0030.00913.98
5.6.310.0000.01314.25
5.6.300.0060.00614.00
5.6.290.0030.01014.07
5.6.280.0100.03517.63
5.6.270.0100.00314.30
5.6.260.0100.00314.23
5.6.250.0060.00614.35
5.6.240.0030.00914.34
5.6.230.0060.00914.34
5.6.220.0060.00314.11
5.6.210.0110.04317.43
5.6.200.0060.04816.42
5.6.190.0080.02017.58
5.6.180.0150.03717.50
5.6.170.0200.03817.49
5.6.160.0070.04217.42
5.6.150.0110.04016.32
5.6.140.0090.04616.11
5.6.130.0070.04116.22
5.6.120.0050.04517.70
5.6.110.0110.04117.57
5.6.100.0060.04117.63
5.6.90.0080.04517.86
5.6.80.0050.03917.30
5.6.70.0050.03517.22
5.6.60.0100.00314.05
5.6.50.0100.00314.31
5.6.40.0000.01114.24
5.6.30.0040.01114.02
5.6.20.0090.00914.16
5.6.10.0030.01014.11
5.6.00.0060.00614.17
5.5.380.0100.00314.18
5.5.370.0070.00714.37
5.5.360.0030.01014.41
5.5.350.0040.04417.29
5.5.340.0070.02315.87
5.5.330.0030.02817.05
5.5.320.0030.04717.10
5.5.310.0100.02617.13
5.5.300.0050.02416.04
5.5.290.0120.03515.90
5.5.280.0050.04517.44
5.5.270.0070.02417.51
5.5.260.0070.04417.34
5.5.250.0120.04017.34
5.5.240.0070.02217.00
5.5.230.0030.01114.01
5.5.220.0100.00313.91
5.5.210.0030.00614.09
5.5.200.0070.00614.02
5.5.190.0090.00914.14
5.5.180.0090.00914.18
5.5.170.0030.01213.67
5.5.160.0070.00713.74
5.5.150.0060.00814.16
5.5.140.0060.00314.21
5.5.130.0060.00613.88
5.5.120.0030.01014.27
5.5.110.0040.00714.10
5.5.100.0100.00713.59
5.5.90.0030.01214.04
5.5.80.0070.00713.79
5.5.70.0060.01113.81
5.5.60.0030.00613.96
5.5.50.0110.00413.70
5.5.40.0030.01013.85
5.5.30.0030.00913.88
5.5.20.0000.01014.04
5.5.10.0100.00713.96
5.5.00.0060.00913.72
5.4.450.0170.02016.02
5.4.440.0200.02616.05
5.4.430.0230.02515.97
5.4.420.0330.00315.95
5.4.410.0340.00215.93
5.4.400.0330.00515.81
5.4.390.0330.00515.83
5.4.380.0330.00315.85
5.4.370.0310.00315.80
5.4.360.0300.00515.78
5.4.350.0370.00315.76
5.4.340.0430.00515.89
5.4.330.0060.00612.54
5.4.320.0060.02112.53
5.4.310.0040.02512.52
5.4.300.0040.02612.53
5.4.290.0080.02012.53
5.4.280.0060.02012.47
5.4.270.0040.02612.47
5.4.260.0040.02512.47
5.4.250.0070.02312.47
5.4.240.0040.02412.47
5.4.230.0070.02412.47
5.4.220.0050.02812.47
5.4.210.0080.02312.47
5.4.200.0070.02112.47
5.4.190.0040.02212.47
5.4.180.0030.02412.47
5.4.170.0050.02412.47
5.4.160.0070.02212.47
5.4.150.0060.02012.47
5.4.140.0030.02312.31
5.4.130.0040.02212.30
5.4.120.0070.01912.29
5.4.110.0090.01812.28
5.4.100.0070.02012.29
5.4.90.0050.02412.29
5.4.80.0080.02012.29
5.4.70.0060.02412.29
5.4.60.0050.02112.28
5.4.50.0050.02112.28
5.4.40.0040.02112.28
5.4.30.0050.02012.28
5.4.20.0070.02212.27
5.4.10.0050.02112.27
5.4.00.0020.02412.02
5.3.290.0060.04112.80
5.3.280.0080.04212.71
5.3.270.0110.04412.73
5.3.260.0060.03912.71
5.3.250.0100.03412.72
5.3.240.0120.03512.72
5.3.230.0070.04412.71
5.3.220.0030.04112.68
5.3.210.0080.04612.68
5.3.200.0080.04312.68
5.3.190.0060.04012.68
5.3.180.0060.03912.67
5.3.170.0040.03912.67
5.3.160.0100.03712.67
5.3.150.0040.04012.67
5.3.140.0090.04312.66
5.3.130.0040.04212.66
5.3.120.0110.03712.66
5.3.110.0070.03812.66
5.3.100.0060.04312.13
5.3.90.0040.04112.11
5.3.80.0030.04512.10
5.3.70.0070.03612.09
5.3.60.0070.03612.09
5.3.50.0060.03712.03
5.3.40.0030.04012.03
5.3.30.0050.03711.99
5.3.20.0060.03811.77
5.3.10.0050.03611.73
5.3.00.0080.03911.72
5.2.170.0030.0389.23
5.2.160.0070.0289.22
5.2.150.0060.0329.22
5.2.140.0050.0329.22
5.2.130.0040.0359.18
5.2.120.0030.0319.18
5.2.110.0040.0329.19
5.2.100.0080.0339.18
5.2.90.0030.0339.18
5.2.80.0050.0319.18
5.2.70.0050.0329.18
5.2.60.0050.0369.13
5.2.50.0060.0369.10
5.2.40.0070.0359.07
5.2.30.0030.0319.05
5.2.20.0040.0299.04
5.2.10.0030.0298.95
5.2.00.0020.0338.82
5.1.60.0070.0328.09
5.1.50.0020.0278.09
5.1.40.0060.0348.07
5.1.30.0060.0268.42
5.1.20.0040.0278.45
5.1.10.0070.0248.16
5.1.00.0040.0278.17
5.0.50.0060.0226.65
5.0.40.0040.0196.50
5.0.30.0040.0326.32
5.0.20.0030.0266.28
5.0.10.0030.0276.26
5.0.00.0060.0306.25
4.4.90.0030.0224.78
4.4.80.0020.0174.76
4.4.70.0030.0164.75
4.4.60.0020.0224.75
4.4.50.0030.0154.77
4.4.40.0030.0264.71
4.4.30.0020.0194.76
4.4.20.0030.0154.85
4.4.10.0010.0194.85
4.4.00.0010.0264.76
4.3.110.0050.0144.67
4.3.100.0030.0164.66
4.3.90.0040.0134.64
4.3.80.0060.0284.59
4.3.70.0020.0224.63
4.3.60.0050.0124.63
4.3.50.0040.0174.63
4.3.40.0020.0254.54
4.3.30.0020.0183.30
4.3.20.0010.0183.28
4.3.10.0030.0183.23
4.3.00.0030.01713.59

preferences:
48.15 ms | 400 KiB | 5 Q