3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array("a"=> "fdsfd","b"=>"123","c"=> "erwe4233"); //list($a, $b, $c) = $arr; array_map("sss", $arr); array_walk($arr,"sss"); function sss($m="mmm", $n="nnn") { echo $m."::".$n."\n"; } var_dump($a); var_dump($b); var_dump($c);

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.0150.00318.56
8.3.50.0090.01422.00
8.3.40.0110.00418.84
8.3.30.0110.00419.04
8.3.20.0040.00420.29
8.3.10.0120.00821.73
8.3.00.0040.00418.85
8.2.180.0100.01016.36
8.2.170.0170.00322.96
8.2.160.0100.00722.26
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0040.01119.54
8.2.110.0060.00322.07
8.2.100.0070.00418.22
8.2.90.0060.00319.07
8.2.80.0080.00017.97
8.2.70.0030.00617.63
8.2.60.0040.00418.04
8.2.50.0050.00518.07
8.2.40.0040.00418.22
8.2.30.0050.00218.11
8.2.20.0040.00417.80
8.2.10.0040.00418.12
8.2.00.0080.00017.81
8.1.280.0060.00925.92
8.1.270.0040.00418.82
8.1.260.0000.00826.35
8.1.250.0050.00228.09
8.1.240.0030.00622.13
8.1.230.0070.00419.12
8.1.220.0060.00317.77
8.1.210.0040.00418.77
8.1.200.0060.00317.35
8.1.190.0040.00417.35
8.1.180.0040.00418.10
8.1.170.0040.00418.51
8.1.160.0000.00822.01
8.1.150.0040.00418.89
8.1.140.0040.00417.51
8.1.130.0030.00317.74
8.1.120.0030.00317.45
8.1.110.0000.00817.36
8.1.100.0030.00417.45
8.1.90.0040.00417.42
8.1.80.0000.00717.29
8.1.70.0070.00017.48
8.1.60.0030.00517.60
8.1.50.0050.00317.56
8.1.40.0040.00417.49
8.1.30.0090.00317.55
8.1.20.0040.00417.66
8.1.10.0040.00417.47
8.1.00.0050.00317.33
8.0.300.0000.00718.77
8.0.290.0040.00416.75
8.0.280.0070.00018.37
8.0.270.0030.00317.24
8.0.260.0050.00317.16
8.0.250.0000.00717.04
8.0.240.0000.00717.04
8.0.230.0040.00416.90
8.0.220.0030.00316.93
8.0.210.0030.00516.86
8.0.200.0030.00317.01
8.0.190.0000.00716.91
8.0.180.0050.00216.80
8.0.170.0040.00416.99
8.0.160.0000.00716.99
8.0.150.0000.00816.91
8.0.140.0080.00016.93
8.0.130.0000.00613.41
8.0.120.0000.00816.82
8.0.110.0000.00716.86
8.0.100.0040.00416.82
8.0.90.0000.00716.75
8.0.80.0150.00916.95
8.0.70.0000.00816.82
8.0.60.0040.00416.84
8.0.50.0070.00016.95
8.0.30.0090.00917.29
8.0.20.0110.01017.40
8.0.10.0040.00417.05
8.0.00.0050.01216.66
7.4.330.0000.00615.03
7.4.320.0030.00316.65
7.4.300.0030.00316.61
7.4.290.0070.00016.52
7.4.280.0000.00716.35
7.4.270.0060.00016.40
7.4.260.0070.00016.56
7.4.250.0040.00416.55
7.4.240.0020.00516.53
7.4.230.0030.00316.44
7.4.220.0190.00016.44
7.4.210.0120.00816.46
7.4.200.0070.00016.35
7.4.160.0000.01516.43
7.4.150.0140.00317.40
7.4.140.0070.01017.86
7.4.130.0060.01216.43
7.4.120.0050.01316.37
7.4.110.0060.01216.46
7.4.100.0110.01216.60
7.4.90.0090.00916.32
7.4.80.0070.01019.39
7.4.70.0090.01516.63
7.4.60.0090.00816.28
7.4.50.0000.00416.57
7.4.40.0060.01116.53
7.4.30.0000.01616.63
7.4.00.0100.00715.01
7.3.330.0030.00313.43
7.3.320.0030.00513.39
7.3.310.0000.00616.25
7.3.300.0000.00616.23
7.3.290.0060.00816.36
7.3.280.0060.01116.37
7.3.270.0090.00917.40
7.3.260.0090.00916.58
7.3.250.0080.01416.50
7.3.240.0120.00616.46
7.3.230.0140.00316.49
7.3.210.0130.00716.46
7.3.200.0070.01419.39
7.3.190.0110.00616.41
7.3.180.0100.00716.33
7.3.170.0070.01016.36
7.3.160.0040.01216.50
7.3.10.0000.01316.83
7.3.00.0040.01016.70
7.2.330.0090.00916.42
7.2.320.0150.00316.30
7.2.310.0110.01116.30
7.2.300.0060.01216.61
7.2.290.0120.00616.75
7.2.130.0070.00716.64
7.2.120.0090.00516.51
7.2.110.0010.01116.56
7.2.100.0060.00716.66
7.2.90.0140.00316.67
7.2.80.0080.01016.56
7.2.70.0080.00516.84
7.2.60.0100.00616.91
7.2.50.0080.00616.74
7.2.40.0090.00616.84
7.2.30.0060.01016.82
7.2.20.0100.00816.83
7.2.10.0110.00516.87
7.2.00.0050.01017.63
7.1.250.0000.01115.72
7.1.240.1020.00315.84
7.1.230.0060.00615.85
7.1.220.0070.00715.72
7.1.210.0070.01015.84
7.1.200.0080.00615.85
7.1.190.0100.00715.93
7.1.180.0110.00715.82
7.1.170.0150.00315.54
7.1.160.0190.00015.76
7.1.150.0160.00315.63
7.1.140.0110.00515.82
7.1.130.0090.00915.63
7.1.120.0090.00215.86
7.1.110.0140.00015.82
7.1.100.0080.00616.95
7.1.90.0040.01115.78
7.1.80.0090.00315.81
7.1.70.0050.00616.47
7.1.60.0110.00717.55
7.1.50.0100.01116.47
7.1.40.0140.00315.66
7.1.30.0070.00715.66
7.1.20.0040.01215.72
7.1.10.0090.00615.84
7.1.00.0040.04419.04
7.0.320.0170.00315.31
7.0.310.0110.00415.64
7.0.300.0060.01315.54
7.0.290.0150.00815.50
7.0.280.0110.00215.37
7.0.270.0090.00615.14
7.0.260.0160.00515.55
7.0.250.0100.00315.22
7.0.240.0160.00015.41
7.0.230.0100.00515.26
7.0.220.0100.00815.35
7.0.210.0100.00315.62
7.0.200.0050.00616.00
7.0.190.0110.00815.37
7.0.180.0100.00715.42
7.0.170.0110.00315.43
7.0.160.0130.00315.50
7.0.150.0040.00915.44
7.0.140.0070.01818.59
7.0.130.0120.00015.43
7.0.120.0100.00515.59
7.0.110.0080.00415.39
7.0.100.0150.00315.38
7.0.90.0120.00415.47
7.0.80.0040.01215.19
7.0.70.0050.00915.36
7.0.60.0100.04317.60
7.0.50.0040.04716.66
7.0.40.0070.04716.76
7.0.30.0170.04216.87
7.0.20.0230.02216.91
7.0.10.0120.03216.86
7.0.00.0060.04716.80
5.6.380.0190.00014.37
5.6.370.0070.00914.13
5.6.360.0110.00414.33
5.6.350.0160.00314.32
5.6.340.0030.01513.99
5.6.330.0130.00814.43
5.6.320.0100.00514.43
5.6.310.0160.00014.08
5.6.300.0070.01014.45
5.6.290.0070.01014.31
5.6.280.0040.04117.57
5.6.270.0080.00814.30
5.6.260.0100.00214.10
5.6.250.0000.01314.38
5.6.240.0100.00414.37
5.6.230.0050.00914.21
5.6.220.0150.00014.40
5.6.210.0090.03017.22
5.6.200.0110.02716.22
5.6.190.0080.04317.47
5.6.180.0310.03517.65
5.6.170.0170.02917.45
5.6.160.0100.04117.49
5.6.150.0020.02916.20
5.6.140.0080.02816.38
5.6.130.0060.04316.13
5.6.120.0100.03517.75
5.6.110.0070.04017.67
5.6.100.0040.04717.63
5.6.90.0050.04217.65
5.6.80.0150.03717.39
5.6.70.0060.00914.50
5.6.60.0130.00314.20
5.6.50.0070.00714.53
5.6.40.0090.01014.45
5.6.30.0080.01214.34
5.6.20.0110.00514.33
5.6.10.0040.01114.44
5.6.00.0120.00414.42
5.5.380.0110.00311.34
5.5.370.0090.00310.98
5.5.360.0060.00311.30
5.5.350.0230.04215.75
5.5.340.0070.01914.70
5.5.330.0100.02515.56
5.5.320.0080.02515.64
5.5.310.0160.03115.83
5.5.300.0090.02814.66
5.5.290.0050.04714.60
5.5.280.0070.02316.09
5.5.270.0060.03516.10
5.5.260.0130.03715.87
5.5.250.0100.03315.80
5.5.240.0050.03515.79
5.5.230.0100.00611.11
5.5.220.0070.00310.81
5.5.210.0030.00610.98
5.5.200.0090.00010.81
5.5.190.0110.00310.96
5.5.180.0000.01211.31
5.5.170.0080.00814.00
5.5.160.0100.00311.00
5.5.150.0000.01411.20
5.5.140.0060.00910.98
5.5.130.0080.00311.10
5.5.120.0090.00511.27
5.5.110.0030.00711.27
5.5.100.0110.00011.18
5.5.90.0070.00711.04
5.5.80.0070.00811.17
5.5.70.0030.00810.85
5.5.60.0030.01111.31
5.5.50.0110.00311.01
5.5.40.0040.00411.08
5.5.30.0040.00811.21
5.5.20.0110.00011.18
5.5.10.0100.00611.24
5.5.00.0080.00810.94
5.4.450.0330.03015.35
5.4.440.0190.04115.29
5.4.430.0100.02815.29
5.4.420.0100.03015.12
5.4.410.0170.02915.06
5.4.400.0050.03215.14
5.4.390.0210.02214.74
5.4.380.0170.02814.86
5.4.370.0150.02514.77
5.4.360.0130.03014.85
5.4.350.0040.03614.94
5.4.340.0080.04114.96
5.4.330.0080.00811.03
5.4.320.0120.02714.78
5.4.310.0080.03515.00
5.4.300.0090.02914.72
5.4.290.0100.02914.81
5.4.280.0120.03014.88
5.4.270.0090.03314.80
5.4.260.0170.02214.80
5.4.250.0170.02314.85
5.4.240.0120.02714.91
5.4.230.0090.03014.73
5.4.220.0090.02914.80
5.4.210.0050.03414.80
5.4.200.0100.02813.99
5.4.190.0080.02814.74
5.4.180.0150.02214.87
5.4.170.0130.02814.98
5.4.160.0070.03214.91
5.4.150.0180.02814.86
5.4.140.0050.03613.62
5.4.130.0140.03513.57
5.4.120.0080.03113.68
5.4.110.0130.02513.60
5.4.100.0150.02313.70
5.4.90.0160.02713.65
5.4.80.0130.02713.77
5.4.70.0120.02713.62
5.4.60.0150.02513.54
5.4.50.0100.02913.64
5.4.40.0130.02713.67
5.4.30.0110.02513.69
5.4.20.0130.02513.65
5.4.10.0090.02913.69
5.4.00.0120.02713.53
5.3.290.0090.03112.67
5.3.280.0100.02812.50
5.3.270.0180.02512.67
5.3.260.0080.02912.71
5.3.250.0090.02912.59
5.3.240.0110.02712.59
5.3.230.0150.02312.53
5.3.220.0090.03012.57
5.3.210.0080.03212.55
5.3.200.0110.02712.45
5.3.190.0120.02912.45
5.3.180.0080.02912.65
5.3.170.0090.03712.73
5.3.160.0150.02912.61
5.3.150.0110.02612.61
5.3.140.0030.03312.53
5.3.130.0080.03412.56
5.3.120.0150.02312.57
5.3.110.0120.02912.43
5.3.100.0110.03312.35
5.3.90.0110.02812.34
5.3.80.0130.02612.26
5.3.70.0070.03312.28
5.3.60.0140.02512.29
5.3.50.0070.04112.23
5.3.40.0090.03012.15
5.3.30.0070.02912.20
5.3.20.0200.01812.05
5.3.10.0140.02412.07
5.3.00.0130.02612.01
5.2.170.0070.02510.78
5.2.160.0110.02110.72
5.2.150.0080.02510.72
5.2.140.0090.02410.75
5.2.130.0060.02310.72
5.2.120.0060.02410.77
5.2.110.0050.02910.70
5.2.100.0120.02410.78
5.2.90.0050.02610.74
5.2.80.0110.02810.75
5.2.70.0160.01410.80
5.2.60.0050.03310.71
5.2.50.0050.02510.67
5.2.40.0100.02210.70
5.2.30.0100.01910.69
5.2.20.0080.02210.73
5.2.10.0090.02210.61
5.2.00.0030.02610.62
5.1.60.0020.02410.24
5.1.50.0110.01510.26
5.1.40.0050.02110.14
5.1.30.0070.02010.37
5.1.20.0060.02410.34
5.1.10.0090.01810.29
5.1.00.0050.02210.18
5.0.50.0060.0159.53
5.0.40.0030.0189.37
5.0.30.0020.0279.33
5.0.20.0050.0169.26
5.0.10.0050.0159.34
5.0.00.0050.0259.34
4.4.90.0020.0168.10
4.4.80.0010.0138.15
4.4.70.0030.0128.13
4.4.60.0050.0128.09
4.4.50.0030.0138.12
4.4.40.0050.0188.10
4.4.30.0020.0148.10
4.4.20.0040.0128.15
4.4.10.0030.0138.14
4.4.00.0020.0208.11
4.3.110.0020.0138.08
4.3.100.0090.0088.08
4.3.90.0030.0128.05
4.3.80.0040.0208.05
4.3.70.0050.0128.10
4.3.60.0020.0128.04
4.3.50.0070.0108.06
4.3.40.0030.0188.05
4.3.30.0000.0157.44
4.3.20.0070.0087.45
4.3.10.0050.0137.45
4.3.00.0070.0128.40

preferences:
52.29 ms | 401 KiB | 5 Q