pro_php thread: array_walk in a class?
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
|





