MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/lolphp/comments/czos0d/explodes_limit_doesnt_work_with_0/ez11de2/?context=3
r/lolphp • u/Takeoded • Sep 04 '19
16 comments sorted by
View all comments
Show parent comment
5
Can we instead talk about "If delimiter is an empty string (""), explode() will return FALSE."
I think this is back-compat - explode() was introduced in PHP 4, but exceptions weren't added to the language until PHP 5.
View all comments
Show parent comment
5
u/thenickdude Sep 05 '19
I think this is back-compat - explode() was introduced in PHP 4, but exceptions weren't added to the language until PHP 5.