Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Array ( [first_value] => 5555 [second_value] => 22222 [third_value] => 3333333 [some_name] => 123456 [fourth_value] => 44444 )
我的问题是如何从中获得仅值“123456”?
例如echo $something;将返回我这个:
echo $something;
123456
如何?
感谢帮助!
$arr = array( 'first_value' => 5555, 'second_value' => 6666 ); $something = $arr['second_value']; echo $something; // 6666