Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_php thread: array_walk in a class?


Message #1 by webmaster@a... on Thu, 4 Jul 2002 09:31:47
Hi there,

Yesterday I tried to use array_walk inside a class, since I had created an 
array with varying keys, so a standard for-loop wouldn't cut it. But the 
called function ended up being outside the class, since otherwise 
array_walk couldn't find the function. Does anybody else have any 
experience with that and maybe a solution to putting the function in the 
class, where it basically belongs? Thanks in advance!

Greetz,
Marc

  Return to Index