 |
PHP: explode - Manual - PHP: Hypertext Preprocessor
The comments to use array_filter() without a callback to remove empty strings from explode's results miss the fact that array_filter will remove all elements that, to quote the manual, "are equal to FALSE". This includes, in particular, the string "0", wh
php.net |
 |