Toggle navigation
Home
Latest pastes
FAQ
Random
Register
Login
If two or more keys will be equal after running array_change_key_case() (e.g. "b" and "B"), the latest array will override the
SUBMITTED BY:
henry1874w
DATE:
June 22, 2017, 12:06 a.m.
FORMAT:
Text only
SIZE:
128 Bytes
Raw
Download
Tweet
HITS:
306
Go to comments
Report
<?php
$pets=array
("a"=>"Cat","B"=>"Dog","c"=>"Horse","b"=>"Bi
rd");
print_r(array_change_key_case
($pets,CASE_UPPER));
?>
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus