1--TEST-- 2array_column() treats numeric string keys as usual 3--FILE-- 4<?php 5 6$array = [[42 => 'a'], [42 => 'b']]; 7var_dump(array_column($array, 42)); 8var_dump(array_column($array, "42")); 9 10?> 11--EXPECT-- 12array(2) { 13 [0]=> 14 string(1) "a" 15 [1]=> 16 string(1) "b" 17} 18array(2) { 19 [0]=> 20 string(1) "a" 21 [1]=> 22 string(1) "b" 23} 24