| 
	
 | 
 Posted by Marc Bauer on 10/14/07 09:48 
> If all you want to do is hide the notice, prepend the function with an 
> at sign. 
> e.g. 
> @explode("Second part match string", $text); 
 
this sounds very easy... what does this "@" do? Do you have any php docs  
about this? I cannot find anything... 
 
Aside - what is the cause of this error? I'd like to understand this and not  
only supress and notice... maybe i should better alter this line in an  
appropiate way that this list() works without the @ sign. As i remember the  
notice doesn't come from "explode". The error comes from the list... I'm not  
sure, but it look like explode does not generate two array members with  
explode if the string isn't found and the list now tries to use two, but  
only have one array member... i don't know how to init the vars to be save. 
 
 
Marc
 
  
Navigation:
[Reply to this message] 
 |