3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set('allow_call_time_pass_reference','Off'); class Foo{public function bar($a,&$b,$c){return func_get_args();}} $foo=new Foo(); $aa='A'; $bb='B'; $cc='C'; call_user_func_array(array($foo,'bar'),array($aa,&$bb,$cc));

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.0130.00718.18
8.3.50.0120.00922.12
8.3.40.0100.01018.85
8.3.30.0110.00418.77
8.3.20.0070.00020.16
8.3.10.0040.00423.53
8.3.00.0000.00719.02
8.2.180.0170.00316.63
8.2.170.0120.00322.96
8.2.160.0100.00320.29
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0030.00719.47
8.2.110.0030.00720.28
8.2.100.0090.00317.97
8.2.90.0000.01117.75
8.2.80.0000.00817.97
8.2.70.0030.00617.93
8.2.60.0060.00318.12
8.2.50.0040.00418.10
8.2.40.0050.00219.38
8.2.30.0030.00419.25
8.2.20.0040.00417.56
8.2.10.0040.00418.12
8.2.00.0040.00417.61
8.1.280.0140.00325.92
8.1.270.0080.00018.76
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0040.00423.85
8.1.230.0060.00619.01
8.1.220.0040.00417.74
8.1.210.0030.00518.77
8.1.200.0060.00317.35
8.1.190.0100.00017.23
8.1.180.0040.00418.10
8.1.170.0040.00418.50
8.1.160.0000.00818.92
8.1.150.0000.00718.95
8.1.140.0050.00217.35
8.1.130.0030.00317.70
8.1.120.0030.00317.36
8.1.110.0070.00017.46
8.1.100.0000.00717.33
8.1.90.0000.00717.45
8.1.80.0030.00417.43
8.1.70.0080.00017.43
8.1.60.0040.00417.48
8.1.50.0040.00417.52
8.1.40.0000.00917.47
8.1.30.0000.00817.60
8.1.20.0040.00417.49
8.1.10.0030.00617.50
8.1.00.0000.00817.57
8.0.300.0040.00419.61
8.0.290.0070.00016.63
8.0.280.0040.00418.43
8.0.270.0030.00317.25
8.0.260.0030.00318.49
8.0.250.0000.00716.89
8.0.240.0040.00416.84
8.0.230.0000.00716.87
8.0.220.0080.00016.79
8.0.210.0070.00016.91
8.0.200.0030.00316.97
8.0.190.0040.00416.85
8.0.180.0040.00416.84
8.0.170.0040.00416.93
8.0.160.0040.00416.80
8.0.150.0030.00316.82
8.0.140.0030.00316.75
8.0.130.0000.00513.25
8.0.120.0080.00016.82
8.0.110.0030.00516.80
8.0.100.0030.00516.89
8.0.90.0070.00016.80
8.0.80.0070.00716.86
8.0.70.0030.00516.77
8.0.60.0030.00516.67
8.0.50.0050.00216.86
8.0.30.0150.00717.07
8.0.20.0080.01117.40
8.0.10.0050.00317.05
8.0.00.0090.01116.85
7.4.330.0050.00015.09
7.4.320.0030.00316.55
7.4.300.0000.00616.57
7.4.290.0030.00316.63
7.4.280.0000.00816.55
7.4.270.0070.00016.41
7.4.260.0090.00016.63
7.4.250.0030.00516.61
7.4.240.0030.00316.54
7.4.230.0000.00616.50
7.4.220.0070.01116.41
7.4.210.0110.00916.63
7.4.200.0000.00716.48
7.4.160.0080.00816.49
7.4.150.0060.01217.40
7.4.140.0120.00917.86
7.4.130.0040.01316.62
7.4.120.0080.00916.51
7.4.110.0030.01716.51
7.4.100.0140.00316.67
7.4.90.0110.01116.50
7.4.80.0080.00819.39
7.4.70.0080.00816.58
7.4.60.0090.00616.48
7.4.50.0050.00316.25
7.4.40.0060.01016.57
7.4.30.0100.00616.47
7.4.00.0050.01015.05
7.3.330.0060.00013.30
7.3.320.0020.00213.12
7.3.310.0070.00016.27
7.3.300.0030.00316.18
7.3.290.0080.00916.28
7.3.280.0140.00716.29
7.3.270.0060.01017.40
7.3.260.0120.00616.30
7.3.250.0070.01016.26
7.3.240.0030.01416.43
7.3.230.0110.00916.56
7.3.210.0060.01016.35
7.3.200.0120.00619.39
7.3.190.0120.00916.32
7.3.180.0160.00016.48
7.3.170.0070.01116.28
7.3.160.0000.01616.50
7.3.120.0060.00914.61
7.3.110.0090.00915.11
7.3.100.0120.00614.68
7.3.90.0070.00715.10
7.3.80.0100.00614.76
7.3.70.0070.01114.38
7.3.60.0110.00314.49
7.3.50.0040.01214.77
7.3.40.0040.01114.71
7.3.30.0000.01114.81
7.3.20.0040.01216.74
7.3.10.0070.00716.66
7.3.00.0030.00616.48
7.2.330.0100.01416.43
7.2.320.0060.01016.71
7.2.310.0090.01316.62
7.2.300.0070.01116.51
7.2.290.0090.00916.47
7.2.250.0140.00314.57
7.2.240.0140.00315.13
7.2.230.0070.00714.99
7.2.220.0110.00415.21
7.2.210.0030.01015.00
7.2.200.0060.00314.74
7.2.190.0070.00314.73
7.2.180.0070.00715.20
7.2.170.0040.01114.92
7.2.160.0070.00714.89
7.2.150.0130.00316.80
7.2.140.0090.00316.72
7.2.130.0030.00916.90
7.2.120.0060.00616.80
7.2.110.0050.00916.92
7.2.100.0050.01116.95
7.2.90.0060.00616.87
7.2.80.0040.00816.92
7.2.70.0070.00516.89
7.2.60.0030.01216.91
7.2.50.0070.00716.96
7.2.40.0110.00116.97
7.2.30.0030.00916.85
7.2.20.0090.00516.66
7.2.10.0000.01016.85
7.2.00.0030.00717.56
7.1.330.0070.01015.75
7.1.320.0040.00815.41
7.1.310.0000.01515.81
7.1.300.0030.01015.64
7.1.290.0030.00715.63
7.1.280.0000.01015.69
7.1.270.0030.01015.41
7.1.260.0040.01115.80
7.1.250.0060.00315.62
7.1.240.0050.00815.74
7.1.230.0030.01015.82
7.1.220.0050.00515.65
7.1.210.0030.01015.57
7.1.200.0100.00215.54
7.1.190.0020.00615.65
7.1.180.0080.00715.68
7.1.170.0060.00615.71
7.1.160.0090.00315.75
7.1.150.0060.00815.84
7.1.140.0020.00915.67
7.1.130.0050.00615.55
7.1.120.0030.00915.74
7.1.110.0020.00815.57
7.1.100.0020.00816.46
7.1.90.0000.01015.82
7.1.80.0090.00315.68
7.1.70.0060.00616.14
7.1.60.0080.00716.96
7.1.50.0070.00616.11
7.1.40.0090.00115.64
7.1.30.0020.01115.77
7.1.20.0030.01115.74
7.1.10.0040.00515.56
7.1.00.0050.03017.88
7.0.330.0060.00815.22
7.0.320.0050.00615.41
7.0.310.0030.00615.38
7.0.300.0000.00815.40
7.0.290.0040.00715.28
7.0.280.0060.00715.41
7.0.270.0050.00715.15
7.0.260.0100.00315.28
7.0.250.0050.00915.24
7.0.240.0070.00415.33
7.0.230.0060.00615.45
7.0.220.0020.01115.32
7.0.210.0020.01315.31
7.0.200.0040.00815.79
7.0.190.0040.01115.38
7.0.180.0030.01115.38
7.0.170.0040.01115.16
7.0.160.0020.01315.40
7.0.150.0030.01215.42
7.0.140.0060.02217.57
7.0.130.0020.00915.44
7.0.120.0050.00715.35
7.0.110.0020.02517.54
7.0.100.0030.02517.44
7.0.90.0040.01817.40
7.0.80.0080.02517.40
7.0.70.0020.02217.59
7.0.60.0030.02217.43
7.0.50.0050.01917.60
7.0.40.0070.01715.69
7.0.30.0060.01715.63
7.0.20.0040.01915.68
7.0.10.0050.01715.67
7.0.00.0080.01515.58
5.6.400.0030.01014.45
5.6.390.0030.01014.50
5.6.380.0050.00414.54
5.6.370.0040.00814.42
5.6.360.0020.01014.38
5.6.350.0060.00914.37
5.6.340.0050.00714.51
5.6.330.0050.00714.52
5.6.320.0020.01114.24
5.6.310.0070.00814.48
5.6.300.0110.00214.21
5.6.290.0080.00314.05
5.6.280.0020.03316.57
5.6.270.0080.00814.34
5.6.260.0030.03316.30
5.6.250.0050.01916.37
5.6.240.0020.02816.54
5.6.230.0060.01816.37
5.6.220.0050.02616.43
5.6.210.0040.01816.37
5.6.200.0030.02116.56
5.6.190.0030.02516.46
5.6.180.0050.01816.68
5.6.170.0040.02016.48
5.6.160.0040.02316.60
5.6.150.0060.01716.58
5.6.140.0070.02416.60
5.6.130.0010.03216.54
5.6.120.0050.03316.56
5.6.110.0050.03616.58
5.6.100.0070.03116.47
5.6.90.0030.03316.50
5.6.80.0070.03016.39
5.6.70.0060.03016.34
5.6.60.0060.02116.34
5.6.50.0070.02816.30
5.6.40.0020.03616.23
5.6.30.0070.03116.28
5.6.20.0060.03016.35
5.6.10.0090.03016.28
5.6.00.0090.02716.33
5.5.380.0020.01815.23
5.5.370.0060.01515.19
5.5.360.0040.01915.18
5.5.350.0050.01815.31
5.5.340.0060.01615.24
5.5.330.0040.01815.50
5.5.320.0040.01615.38
5.5.310.0040.01815.45
5.5.300.0020.02215.35
5.5.290.0030.03215.40
5.5.280.0060.02515.54
5.5.270.0040.02215.43
5.5.260.0090.03215.47
5.5.250.0030.03015.20
5.5.240.0050.02815.20
5.5.230.0070.03015.24
5.5.220.0090.02215.09
5.5.210.0070.03115.22
5.5.200.0060.03015.21
5.5.190.0020.03115.16
5.5.180.0040.03415.13
5.5.170.0000.00712.65
5.5.160.0050.02915.21
5.5.150.0070.02915.09
5.5.140.0090.02715.18
5.5.130.0070.02815.14
5.5.120.0080.02215.21
5.5.110.0100.02815.24
5.5.100.0080.03215.16
5.5.90.0040.02615.15
5.5.80.0060.02315.13
5.5.70.0060.03215.10
5.5.60.0060.03015.05
5.5.50.0070.03014.99
5.5.40.0070.02115.02
5.5.30.0070.02615.12
5.5.20.0040.03015.15
5.5.10.0070.03115.22
5.5.00.0040.03014.96
5.4.450.0010.03313.88
5.4.440.0040.03313.84
5.4.430.0050.03013.74
5.4.420.0060.02913.87
5.4.410.0100.02313.70
5.4.400.0040.02713.49
5.4.390.0070.02713.66
5.4.380.0010.02813.65
5.4.370.0060.02313.56
5.4.360.0050.02613.53
5.4.350.0050.03013.72
5.4.340.0050.02713.58
5.4.330.0030.00710.96
5.4.320.0040.02313.62
5.4.310.0030.01813.59
5.4.300.0040.02013.45
5.4.290.0020.02613.60
5.4.280.0040.02713.71
5.4.270.0040.01813.68
5.4.260.0040.03213.63
5.4.250.0060.02413.68
5.4.240.0040.02913.81
5.4.230.0020.03013.43
5.4.220.0070.02313.66
5.4.210.0110.01313.54
5.4.200.0020.03413.71
5.4.190.0070.02713.61
5.4.180.0040.02713.71
5.4.170.0040.01713.67
5.4.160.0020.02713.59
5.4.150.0040.02913.60
5.4.140.0060.02512.66
5.4.130.0040.02912.72
5.4.120.0060.02812.76
5.4.110.0030.01812.91
5.4.100.0080.02612.86
5.4.90.0060.02112.90
5.4.80.0020.03212.86
5.4.70.0040.03112.70
5.4.60.0050.01812.92
5.4.50.0040.02912.74
5.4.40.0060.02312.77
5.4.30.0030.01912.83
5.4.20.0010.03112.81
5.4.10.0060.02712.70
5.4.00.0030.01712.56
5.3.290.0030.02312.66
5.3.280.0060.03612.55
5.3.270.0050.04012.66
5.3.260.0050.04012.63
5.3.250.0070.04012.64
5.3.240.0020.02512.63
5.3.230.0050.04012.63
5.3.220.0020.04612.46
5.3.210.0010.04112.48
5.3.200.0050.04112.42
5.3.190.0080.03812.57
5.3.180.0000.04412.67
5.3.170.0020.04212.68
5.3.160.0080.03712.61
5.3.150.0050.03012.58
5.3.140.0020.03812.51
5.3.130.0100.03612.58
5.3.120.0070.04012.61
5.3.110.0050.04212.50
5.3.100.0060.03612.15
5.3.90.0080.03712.44
5.3.80.0070.03312.33
5.3.70.0030.02612.19
5.3.60.0070.03912.38
5.3.50.0070.04212.27
5.3.40.0060.02712.10
5.3.30.0070.03812.26
5.3.20.0040.02612.02
5.3.10.0070.02912.04
5.3.00.0000.02812.02
5.2.170.0070.02810.45
5.2.160.0030.02010.42
5.2.150.0090.03010.40
5.2.140.0050.02210.46
5.2.130.0030.03210.43
5.2.120.0050.02210.36
5.2.110.0100.02710.38
5.2.100.0060.03110.28
5.2.90.0020.03110.32
5.2.80.0040.04210.27
5.2.70.0030.02310.26
5.2.60.0030.03010.25
5.2.50.0080.02410.30
5.2.40.0070.03010.25
5.2.30.0090.02810.25
5.2.20.0030.03410.28
5.2.10.0080.02510.25
5.2.00.0020.03410.25
5.1.60.0040.03110.25
5.1.50.0020.03010.25
5.1.40.0020.02110.25
5.1.30.0060.02610.25
5.1.20.0030.03010.25
5.1.10.0050.03010.25
5.1.00.0050.02810.25
5.0.50.0040.02510.25
5.0.40.0050.02410.25
5.0.30.0000.03910.25
5.0.20.0050.02410.25
5.0.10.0010.02510.25
5.0.00.0040.03410.25
4.4.90.0030.01610.25
4.4.80.0020.02210.25
4.4.70.0020.02010.25
4.4.60.0020.02010.25
4.4.50.0030.02010.25
4.4.40.0000.02810.25
4.4.30.0030.01710.25
4.4.20.0030.01810.25
4.4.10.0020.01410.25
4.4.00.0030.02710.25
4.3.110.0020.02010.25
4.3.100.0030.01910.25
4.3.90.0020.02010.25
4.3.80.0020.02710.25
4.3.70.0000.02110.25
4.3.60.0000.02010.25
4.3.50.0000.01410.25
4.3.40.0030.02710.25
4.3.30.0010.02010.25
4.3.20.0050.01510.25
4.3.10.0020.02010.25
4.3.00.0020.01910.25

preferences:
76.53 ms | 401 KiB | 5 Q