3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array( array("string" => "one"), array("string" => "two") ); $bananas = array_column($arr, 'string'); print( implode(',', $bananas ) ); /* should print only "one,two" */

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.0040.01118.28
8.3.50.0120.00916.47
8.3.40.0110.00718.68
8.3.30.0030.01018.54
8.3.20.0040.00418.64
8.3.10.0040.00423.52
8.3.00.0040.00421.56
8.2.180.0170.00318.31
8.2.170.0140.00722.96
8.2.160.0070.00719.33
8.2.150.0040.00424.18
8.2.140.0070.00024.66
8.2.130.0070.00019.76
8.2.120.0040.00426.35
8.2.110.0100.00019.39
8.2.100.0150.00018.03
8.2.90.0040.00418.09
8.2.80.0030.00518.03
8.2.70.0050.00317.93
8.2.60.0030.00518.09
8.2.50.0050.00318.10
8.2.40.0060.00319.31
8.2.30.0070.00020.65
8.2.20.0000.00718.02
8.2.10.0040.00418.02
8.2.00.0000.00819.30
8.1.280.0070.01725.92
8.1.270.0050.00323.99
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0100.00019.34
8.1.230.0110.00022.76
8.1.220.0070.00017.78
8.1.210.0040.00418.77
8.1.200.0100.00017.10
8.1.190.0090.00017.10
8.1.180.0040.00418.10
8.1.170.0030.00618.51
8.1.160.0040.00418.77
8.1.150.0070.00018.91
8.1.140.0050.00218.82
8.1.130.0000.00820.06
8.1.120.0000.00717.28
8.1.110.0020.00517.34
8.1.100.0040.00417.39
8.1.90.0040.00417.39
8.1.80.0070.00017.34
8.1.70.0000.00717.27
8.1.60.0050.00317.52
8.1.50.0040.00417.37
8.1.40.0040.00817.46
8.1.30.0040.00417.54
8.1.20.0040.00417.57
8.1.10.0060.00317.52
8.1.00.0050.00217.50
8.0.300.0080.00019.38
8.0.290.0080.00016.63
8.0.280.0070.00018.38
8.0.270.0030.00617.25
8.0.260.0040.00420.14
8.0.250.0000.00716.93
8.0.240.0030.00316.94
8.0.230.0060.00316.78
8.0.220.0000.00716.69
8.0.210.0030.00316.84
8.0.200.0030.00316.85
8.0.190.0040.00416.88
8.0.180.0070.00016.76
8.0.170.0060.00316.73
8.0.160.0030.00516.91
8.0.150.0000.00716.64
8.0.140.0040.00416.69
8.0.130.0000.00513.24
8.0.120.0040.00416.65
8.0.110.0030.00516.75
8.0.100.0040.00416.77
8.0.90.0000.00716.85
8.0.80.0070.00916.77
8.0.70.0050.00216.70
8.0.60.0080.00016.68
8.0.50.0070.00016.63
8.0.30.0120.00817.09
8.0.20.0100.01017.40
8.0.10.0000.00717.00
8.0.00.0100.00616.88
7.4.330.0000.00515.55
7.4.320.0000.00616.44
7.4.300.0000.00616.41
7.4.290.0030.00316.51
7.4.280.0040.00416.41
7.4.270.0030.00316.44
7.4.260.0030.00316.46
7.4.250.0000.00716.48
7.4.240.0000.00716.54
7.4.230.0030.00316.59
7.4.220.0000.00816.61
7.4.210.0040.01216.45
7.4.200.0030.00316.58
7.4.140.0110.01017.86
7.4.130.0100.01116.57
7.4.120.0090.01116.40
7.4.110.0100.00716.43
7.4.100.0030.01416.38
7.4.90.0170.00016.20
7.4.80.0070.01519.39
7.4.70.0120.00916.45
7.4.60.0100.00716.21
7.4.50.0030.00616.39
7.4.40.0140.00916.42
7.4.00.0090.00915.07
7.3.330.0000.00512.98
7.3.320.0050.00012.82
7.3.310.0000.00715.97
7.3.300.0040.00416.02
7.3.290.0070.00016.09
7.3.280.0110.00916.08
7.3.260.0100.00916.22
7.3.240.0100.00716.31
7.3.230.0070.01116.43
7.3.210.0090.00916.21
7.3.200.0060.01016.06
7.3.190.0100.01016.02
7.3.180.0070.01016.10
7.3.170.0110.00516.25
7.3.160.0170.00016.38
7.3.120.0090.00914.82
7.3.110.0070.01014.37
7.3.100.0030.01014.40
7.3.90.0070.01114.55
7.3.80.0000.01714.66
7.3.70.0070.00714.47
7.3.60.0100.00714.59
7.3.50.0040.01114.78
7.3.40.0120.00314.72
7.3.30.0060.00314.59
7.3.20.0000.01116.64
7.3.10.0060.00916.62
7.3.00.0030.00716.43
7.2.330.0100.00716.38
7.2.320.0090.00916.55
7.2.310.0060.01016.72
7.2.300.0090.00916.26
7.2.290.0080.00816.63
7.2.240.0090.00615.24
7.2.230.0100.00714.95
7.2.220.0060.01314.97
7.2.210.0110.00315.02
7.2.200.0070.00714.86
7.2.190.0030.01214.94
7.2.180.0000.01315.02
7.2.170.0110.00714.97
7.2.160.0030.01314.82
7.2.150.0030.01316.68
7.2.140.0030.01316.91
7.2.130.0070.01016.58
7.2.120.0040.01416.69
7.2.110.0040.01116.83
7.2.100.0000.01216.89
7.2.90.1950.00815.19
7.2.80.1860.00815.03
7.2.70.2370.00715.34
7.2.60.1430.00815.46
7.2.50.1900.00715.46
7.2.40.1900.01015.28
7.2.30.0980.00615.36
7.2.20.1590.00415.29
7.2.10.2270.01015.21
7.2.00.1690.00915.38
7.1.330.0100.00615.72
7.1.320.0030.01215.79
7.1.310.0090.00615.74
7.1.300.0090.00615.50
7.1.290.0030.01015.90
7.1.280.0040.01215.38
7.1.270.0120.00415.79
7.1.260.0090.00615.85
7.1.250.0040.01215.87
7.1.210.2590.00713.64
7.1.200.2140.00813.38
7.1.190.2440.00813.80
7.1.180.2310.00513.68
7.1.170.2340.01013.84
7.1.160.2900.00713.41
7.1.150.2780.00313.39
7.1.140.2830.01113.67
7.1.130.2780.00713.39
7.1.120.2620.00513.74
7.1.110.2870.00713.62
7.1.100.3240.00813.55
7.1.90.4340.00513.48
7.1.80.4840.00713.54
7.1.70.4640.00713.53
7.1.60.4650.01531.31
7.1.50.6870.01131.60
7.1.40.6850.01331.69
7.1.30.6420.01731.44
7.1.20.6630.00831.24
7.1.10.7280.00813.38
7.1.00.3500.00513.57

preferences:
56.22 ms | 400 KiB | 5 Q