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. 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. 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
Archived
This topic is now archived and is closed to further replies.