3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = array( array( 'code_sni' => 'SL_', 'libelle' => 'gdgdf', 'si' => 'LBP' ), array( 'code_sni' => 'ALP', 'libelle' => 'sqqdqgdgdsfsdf', 'si' => 'RLP' ) ); function implode_array_values($key,$input) { return implode(', ', array_map(function($entry) use ($key) { return $entry[$key]; }, $input)); } var_dump(implode_array_values('code_sni',$input)); echo count($input);

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.00918.14
8.3.50.0140.00717.97
8.3.40.0130.00718.67
8.3.30.0110.01118.55
8.3.20.0040.01419.16
8.3.10.0060.01223.66
8.3.00.0060.01220.61
8.2.180.0150.00016.50
8.2.170.0120.00422.96
8.2.160.0070.00720.52
8.2.150.0070.01124.18
8.2.140.0140.00424.66
8.2.130.0070.00026.16
8.2.120.0070.00419.14
8.2.110.0070.00322.07
8.2.100.0070.00417.91
8.2.90.0080.00017.75
8.2.80.0040.00418.91
8.2.70.0030.00617.92
8.2.60.0080.00018.22
8.2.50.0000.00818.10
8.2.40.0050.00321.11
8.2.30.0040.00419.45
8.2.20.0040.00418.16
8.2.10.0050.00318.00
8.2.00.0030.00617.77
8.1.280.0070.01125.92
8.1.270.0180.00020.69
8.1.260.0030.00526.35
8.1.250.0070.00728.09
8.1.240.0080.00819.11
8.1.230.0090.00317.89
8.1.220.0000.00817.74
8.1.210.0050.00318.77
8.1.200.0070.00317.38
8.1.190.0040.00417.43
8.1.180.0060.00318.10
8.1.170.0030.00718.66
8.1.160.0080.00018.90
8.1.150.0040.00418.89
8.1.140.0080.00022.05
8.1.130.0060.00020.34
8.1.120.0030.00317.46
8.1.110.0000.00717.43
8.1.100.0090.00017.46
8.1.90.0070.00017.48
8.1.80.0050.00317.35
8.1.70.0000.00717.38
8.1.60.0040.00417.57
8.1.50.0080.00017.48
8.1.40.0060.00317.52
8.1.30.0040.00417.68
8.1.20.0040.00417.57
8.1.10.0030.00617.49
8.1.00.0050.00317.53
8.0.300.0040.00418.77
8.0.290.0050.00316.75
8.0.280.0030.00318.32
8.0.270.0000.00817.21
8.0.260.0030.00318.36
8.0.250.0070.00016.95
8.0.240.0030.00316.94
8.0.230.0070.00016.84
8.0.220.0000.00716.80
8.0.210.0070.00016.87
8.0.200.0070.00016.93
8.0.190.0000.01116.95
8.0.180.0000.00816.80
8.0.170.0000.00816.93
8.0.160.0040.00416.84
8.0.150.0110.00016.82
8.0.140.0000.00716.93
8.0.130.0030.00313.39
8.0.120.0030.00616.91
8.0.110.0000.00816.71
8.0.100.0040.00416.77
8.0.90.0040.00416.85
8.0.80.0070.01016.88
8.0.70.0020.00516.86
8.0.60.0000.00716.78
8.0.50.0000.00716.74
8.0.30.0100.00717.27
8.0.20.0120.00617.40
8.0.10.0060.00317.00
8.0.00.0090.01016.72
7.4.330.0050.00015.55
7.4.320.0030.00316.41
7.4.300.0040.00416.53
7.4.290.0030.00316.60
7.4.280.0030.00516.50
7.4.270.0030.00716.60
7.4.260.0040.00416.56
7.4.250.0000.00816.47
7.4.240.0070.00016.64
7.4.230.0040.00416.41
7.4.220.0000.00816.68
7.4.210.0080.00916.61
7.4.200.0040.00416.68
7.4.160.0080.00716.48
7.4.140.0100.01117.86
7.4.130.0030.01416.58
7.4.120.0130.00616.48
7.4.110.0030.01716.44
7.4.100.0100.00716.57
7.4.90.0060.01116.55
7.4.80.0070.01019.39
7.4.70.0060.00916.30
7.4.60.0070.01016.66
7.4.50.0090.00416.39
7.4.40.0070.01016.68
7.4.00.0000.01514.68
7.3.330.0000.00613.27
7.3.320.0050.00013.21
7.3.310.0040.00416.18
7.3.300.0030.00316.31
7.3.290.0000.00716.35
7.3.280.0090.00716.23
7.3.260.0080.01116.45
7.3.240.0110.00816.39
7.3.230.0130.00316.43
7.3.210.0090.00916.58
7.3.200.0070.01416.41
7.3.190.0130.00616.37
7.3.180.0060.01216.45
7.3.170.0100.01316.66
7.3.160.0100.00716.52
7.3.10.0140.00716.09
7.3.00.0110.01516.19
7.2.330.0110.00916.75
7.2.320.0040.01816.74
7.2.310.0030.01316.68
7.2.300.0030.01416.66
7.2.290.0060.00916.79
7.2.130.0210.00716.36
7.2.120.0200.00316.18
7.2.110.0160.01115.72
7.2.100.0240.01115.58
7.2.90.0340.00715.71
7.2.80.0270.01015.57
7.2.70.0220.01215.77
7.2.60.0230.01515.78
7.2.50.0200.00615.96
7.2.40.0340.00715.94
7.2.30.0200.00715.73
7.2.20.0200.00615.54
7.2.10.0170.00815.82
7.2.00.0170.00915.82
7.1.250.0080.01215.45
7.1.230.0250.00614.07
7.1.220.0360.01113.94
7.1.210.0200.00713.71
7.1.200.0250.00913.90
7.1.190.0330.00614.03
7.1.180.0380.00614.05
7.1.170.0330.00614.08
7.1.160.0240.00713.71
7.1.150.0270.00614.01
7.1.140.1130.00913.77
7.1.130.0230.01013.82
7.1.120.0370.00713.70
7.1.110.0250.01013.77
7.1.100.0340.00313.84
7.1.90.0210.00614.04
7.1.80.0190.00613.91
7.1.70.0140.01113.92
7.1.60.0450.00331.72
7.1.50.0500.00332.00
7.1.40.0500.01332.00
7.1.30.0380.00931.96
7.1.20.0600.00631.54
7.1.10.0360.00713.86
7.1.00.0370.00314.13
5.6.380.0120.00414.39

preferences:
60.97 ms | 400 KiB | 5 Q