Is it possible to use a numeric string like "123"
as a key in a PHP array, without it being converted to an integer?
$blah = array('123' => 1);
var_dump($blah);
prints
array(1) {
[123]=>
int(1)
}
I want
array(1) {
["123"]=>
int(1)
}
Question&Answers:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…