phprocker Posted October 29, 2010 Share Posted October 29, 2010 I'm curious, is there any reason to use array_pop($value) at all when you can explode(' ', $value, -1) ??? Besides being php version < version 5.1.0 compatible of course. Quote Link to comment https://forums.phpfreaks.com/topic/217181-does-explode-negative-limit-make-array_pop-useless/ Share on other sites More sharing options...
salathe Posted October 29, 2010 Share Posted October 29, 2010 Sure, when $value is already an array. Quote Link to comment https://forums.phpfreaks.com/topic/217181-does-explode-negative-limit-make-array_pop-useless/#findComment-1127905 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.