3v4l.org

run code in 300+ PHP versions simultaneously
<?php function say($n, $m) { return "The number $n is called $m in Spanish"; } function arrays() { return [ [ 1, 2, 3 ], [ 'uno', 'dos', 'tres' ], ]; } print_r( call_user_func_array( 'array_map', array_merge(array ('say'), arrays()) ) );

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.5.00.0050.00519.98
8.4.150.0020.00114.05
8.4.140.0140.00717.55
8.4.130.0120.00917.72
8.4.120.0080.01220.69
8.4.110.0110.00922.46
8.4.100.0130.00717.64
8.4.90.0120.01018.44
8.4.80.0060.00417.81
8.4.70.0130.00818.05
8.4.60.0060.01318.74
8.4.50.0090.00819.48
8.4.40.0060.00919.41
8.4.30.0130.00717.42
8.4.20.0140.00717.59
8.4.10.0130.00619.64
8.3.280.0120.00818.26
8.3.270.0150.01316.22
8.3.260.0100.00916.46
8.3.250.0110.00718.86
8.3.240.0090.01017.17
8.3.230.0130.00616.50
8.3.220.0120.00718.77
8.3.210.0110.01118.22
8.3.200.0060.00316.43
8.3.190.0080.01116.55
8.3.180.0100.00816.38
8.3.170.0060.00316.66
8.3.160.0050.00317.10
8.3.150.0130.00617.00
8.3.140.0090.00918.86
8.3.130.0000.00818.59
8.3.120.0110.00719.11
8.3.110.0080.00020.94
8.3.100.0120.00624.06
8.3.90.0050.00526.77
8.3.80.0040.00718.18
8.3.70.0060.00916.62
8.3.60.0090.00916.63
8.3.50.0070.01022.05
8.3.40.0090.00618.73
8.3.30.0090.00618.55
8.3.20.0070.00020.16
8.3.10.0040.00420.86
8.3.00.0000.00820.67
8.2.290.0100.00820.18
8.2.280.0100.01018.28
8.2.270.0110.00716.99
8.2.260.0150.00316.30
8.2.250.0000.00916.31
8.2.240.0040.00418.70
8.2.230.0030.00522.58
8.2.220.0130.00637.54
8.2.210.0110.00426.77
8.2.200.0090.00016.63
8.2.190.0040.01116.58
8.2.180.0150.00416.32
8.2.170.0120.00322.96
8.2.160.0120.00319.21
8.2.150.0040.00424.18
8.2.140.0060.00324.66
8.2.130.0040.00422.11
8.2.120.0080.00026.35
8.2.110.0000.01020.99
8.2.100.0070.00417.59
8.2.90.0000.00718.22
8.2.80.0050.00317.97
8.2.70.0050.00317.91
8.2.60.0030.00718.09
8.2.50.0080.00018.10
8.2.40.0040.00420.32
8.2.30.0000.00719.25
8.2.20.0050.00318.06
8.2.10.0090.00018.10
8.2.00.0070.00017.74
8.1.330.0090.00921.73
8.1.320.0100.00916.13
8.1.310.0040.00418.21
8.1.300.0090.00619.33
8.1.290.0060.00330.84
8.1.280.0070.01425.92
8.1.270.0000.00823.96
8.1.260.0080.00028.09
8.1.250.0080.00028.09
8.1.240.0040.00420.69
8.1.230.0080.00420.88
8.1.220.0000.00817.74
8.1.210.0040.00418.97
8.1.200.0000.00917.36
8.1.190.0030.00617.10
8.1.180.0060.00318.10
8.1.170.0070.00020.30
8.1.160.0000.00722.13
8.1.150.0070.00018.83
8.1.140.0030.00619.51
8.1.130.0000.00817.63
8.1.120.0070.00017.35
8.1.110.0000.00717.21
8.1.100.0000.00717.29
8.1.90.0050.00317.36
8.1.80.0060.00317.29
8.1.70.0000.00817.35
8.1.60.0040.00417.50
8.1.50.0030.00517.46
8.1.40.0040.00417.45
8.1.30.0050.00317.48
8.1.20.0000.00817.43
8.1.10.0000.00817.37
8.1.00.0040.00417.35
8.0.300.0000.00720.09
8.0.290.0040.00416.58
8.0.280.0040.00418.39
8.0.270.0030.00316.82
8.0.260.0030.00317.44
8.0.250.0030.00316.89
8.0.240.0000.00716.87
8.0.230.0070.00016.79
8.0.220.0030.00316.80
8.0.210.0030.00316.68
8.0.200.0060.00016.93
8.0.190.0000.00716.79
8.0.180.0000.00716.85
8.0.170.0000.00816.91
8.0.160.0050.00216.79
8.0.150.0000.00816.81
8.0.140.0000.00716.72
8.0.130.0000.00713.24
8.0.120.0090.00016.71
8.0.110.0050.00316.89
8.0.100.0040.00416.90
8.0.90.0040.00416.63
8.0.80.0030.01316.88
8.0.70.0030.00616.68
8.0.60.0050.00316.94
8.0.50.0000.00716.71
8.0.30.0120.00616.95
8.0.20.0100.01017.40
8.0.10.0000.00716.84
8.0.00.0100.01016.55
7.4.330.0050.00015.08
7.4.320.0060.00016.34
7.4.300.0060.00016.61
7.4.290.0070.00016.51
7.4.280.0000.00916.51
7.4.270.0050.00216.55
7.4.260.0070.00016.37
7.4.250.0000.00716.39
7.4.240.0070.00016.63
7.4.230.0030.00316.51
7.4.220.0130.01216.55
7.4.210.0070.01416.61
7.4.200.0000.00816.44
7.4.160.0100.00516.58
7.4.150.0120.00617.40
7.4.140.0110.00717.86
7.4.130.0080.01216.41
7.4.120.0090.00916.50
7.4.110.0150.01416.33
7.4.100.0070.01016.64
7.4.90.0150.00316.67
7.4.80.0060.01619.39
7.4.70.0100.00616.51
7.4.60.0080.00816.29
7.4.50.0060.00916.61
7.4.40.0150.00316.34
7.4.30.0080.00816.62
7.4.10.0060.01314.89
7.4.00.0070.00914.64
7.3.330.0030.00313.32
7.3.320.0050.00013.33
7.3.310.0000.00716.36
7.3.300.0030.00316.31
7.3.290.0090.00916.30
7.3.280.0040.01316.29
7.3.270.0070.01317.40
7.3.260.0060.01316.45
7.3.250.0090.00716.54
7.3.240.0100.00916.49
7.3.230.0060.01216.63
7.3.210.0040.01316.38
7.3.200.0090.01116.29
7.3.190.0110.00616.27
7.3.180.0110.01116.55
7.3.170.0140.00316.53
7.3.160.0120.00816.30
7.3.130.0090.00814.77
7.3.120.0060.01314.52
7.3.110.0040.01414.79
7.3.100.0070.00714.79
7.3.90.0030.01014.53
7.3.80.0000.01114.79
7.3.70.0030.00714.88
7.3.60.0030.01014.63
7.3.50.0070.00714.70
7.3.40.0100.00314.84
7.3.30.0060.00614.87
7.3.20.0030.01016.77
7.3.10.0070.00416.61
7.3.00.0090.00516.61
7.2.330.0090.00916.55
7.2.320.0100.01016.45
7.2.310.0050.01116.66
7.2.300.0100.00716.70
7.2.290.0070.01016.64
7.2.260.0060.01314.70
7.2.250.0090.00915.02
7.2.240.0070.01115.07
7.2.230.0000.01514.68
7.2.220.0000.01214.82
7.2.210.0050.00514.83
7.2.200.0070.00315.07
7.2.190.0000.01014.87
7.2.180.0100.00014.96
7.2.170.0060.00614.94
7.2.160.0060.01214.90
7.2.150.0000.01416.96
7.2.140.0040.00416.95
7.2.130.0070.00916.79
7.2.120.0030.00816.71
7.2.110.0040.00916.79
7.2.100.0050.00916.59
7.2.90.0050.00816.87
7.2.80.0060.00916.80
7.2.70.0080.00616.75
7.2.60.0100.00716.56
7.2.50.0030.00616.80
7.2.40.0080.00616.67
7.2.30.0080.00616.66
7.2.20.0020.00816.72
7.2.10.0060.00816.64
7.2.00.0050.00917.53
7.1.330.0040.01115.92
7.1.320.0110.00315.83
7.1.310.0080.00315.67
7.1.300.0060.00615.60
7.1.290.0030.00615.50
7.1.280.0060.00315.68
7.1.270.0000.00815.76
7.1.260.0110.00415.66
7.1.250.0050.01015.58
7.1.240.0030.00815.62
7.1.230.0080.00315.61
7.1.220.0080.00715.76
7.1.210.0060.00615.73
7.1.200.0070.00715.66
7.1.190.0050.01015.36
7.1.180.0070.00815.66
7.1.170.0100.00315.72
7.1.160.0020.00915.83
7.1.150.0070.01015.88
7.1.140.0040.00815.72
7.1.130.0080.00615.66
7.1.120.0080.00615.56
7.1.110.0030.00915.70
7.1.100.0080.00515.78
7.1.90.0080.00815.75
7.1.80.0080.00715.78
7.1.70.0020.00816.18
7.1.60.0060.00615.99
7.1.50.0060.00915.66
7.1.40.0050.00915.78
7.1.30.0080.00515.83
7.1.20.0070.00715.87
7.1.10.0090.00515.72
7.1.00.0080.02617.86
7.0.330.0050.00915.44
7.0.320.0060.00715.30
7.0.310.0030.01015.28
7.0.300.0100.00715.35
7.0.290.0110.00315.17
7.0.280.0050.00715.24
7.0.270.0070.00715.30
7.0.260.0110.00515.20
7.0.250.0090.00615.36
7.0.240.0060.00615.29
7.0.230.0010.00915.23
7.0.220.0020.01015.15
7.0.210.0040.00615.04
7.0.200.0070.01015.04
7.0.190.0050.00615.39
7.0.180.0050.00815.32
7.0.170.0040.01115.19
7.0.160.0060.00615.34
7.0.150.0120.00315.37
7.0.140.0020.01315.15
7.0.130.0050.00415.42
7.0.120.0050.00615.17
7.0.110.0200.02616.96
7.0.100.0120.02317.04
7.0.90.0130.02516.92
7.0.80.0130.02316.93
7.0.70.0110.02716.99
7.0.60.0190.02716.95
7.0.50.0130.02416.96
7.0.40.0190.01915.48
7.0.30.0140.02515.66
7.0.20.0160.02515.59
7.0.10.0130.02415.69
7.0.00.0130.02215.53
5.6.400.0040.00414.33
5.6.390.0040.01213.86
5.6.380.0050.00714.30
5.6.370.0070.00713.99
5.6.360.0070.00614.38
5.6.350.0040.00914.11
5.6.340.0020.00914.06
5.6.330.0060.01014.12
5.6.320.0040.00714.36
5.6.310.0090.00514.17
5.6.300.0070.00714.07
5.6.290.0020.01014.16
5.6.280.0070.00714.13
5.6.270.0020.01214.08
5.6.260.0050.03016.37
5.6.250.0040.02516.41
5.6.240.0100.02516.51
5.6.230.0040.02916.42
5.6.220.0100.02616.38
5.6.210.0060.02316.34
5.6.200.0110.02016.40
5.6.190.0110.02216.42
5.6.180.0100.02016.24
5.6.170.0080.02116.40
5.6.160.0050.02416.48
5.6.150.0070.02216.37
5.6.140.0030.02516.39
5.6.130.0050.02716.41
5.6.120.0090.02516.28
5.6.110.0060.02616.61
5.6.100.0040.02716.32
5.6.90.0090.02116.58
5.6.80.0050.02216.17
5.6.70.0080.01916.05
5.6.60.0090.02116.14
5.6.50.0090.01916.19
5.6.40.0050.02116.06
5.6.30.0060.02316.31
5.6.20.0120.01616.07
5.6.10.0030.02316.27
5.6.00.0050.02416.21

preferences:
33.94 ms | 403 KiB | 5 Q