View Single Post
Old 11-26-2008, 01:22 PM   #6 (permalink)
Salathe
Moderateur
RegEx Guru PHP Guru Top Contributor Advanced Programmer 
 
Salathe's Avatar
 
Join Date: Apr 2007
Posts: 1,393
Thanks: 5
Salathe is on a distinguished road
Default

Quote:
Originally Posted by Wildhoney View Post
I know you should do that, but is it mandatory?
In short, no. You're just assigning a new value to $parts from the call to explode just like giving it a fixed value (like 1.3 or 'fixed value'). There's no need to create the variable beforehand.
Salathe is offline  
Reply With Quote