Jump to content

array_filter problem??


shadiadiph

Recommended Posts

Having a poblem with array_filter() and the following array keeps giving me unexpected $end the php coding is ok as it works on every countries cities I have tried except this one.

 

Array ( [Chrouy Changvar] => Chrouy Changvar [Kandal] => Kandal [Phnom Penh] => Phnom Penh [Phnum Pnh] => Phnum Pnh [] => ) 

 

Seems if the empty array is at the beginning it works fine not sure why is it a bug???

Link to comment
https://forums.phpfreaks.com/topic/207878-array_filter-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.