array_walk: calling functions taking only ONE paramet && calling methods = not possible?
[email protected] (waldschrott)
| Newsgroups | php.dev,php.version4 |
|---|---|
| Organization | KIFFEN.DE - http://www.kiffen.de |
| Message-ID | <[email protected]> |
Hi, I tried to things with array_walk. 1) Calling a function like htmlspecialchars() with array_walk(), but it does not work: results in a wrong parameter count in array_walk(), I think array_walk() tries to use the numeric key as a second parameter for htmlspecialchars(), how do I avoid this. 2) After that I tried to avoid that calling a wrapper method in array_walk, I then had to notice that it´s not possible to call methods with array_walk(); Either array_walk is missing some functionality or I am missing something.... regards -- o----------0-¬---------O-·---¬----o---®-----o o O ° . | http://www.kiffen.de | pRoteçt y0ur bRaÃn |0 O ° ¤ ° · 0°·³°²'²³-¹'³´³°^°³~³²³°'³²²¨³²^³¹³²°²³`³º³°à ° o © ° . · | psychedelic experience | [email protected] | O ° o ° o-¬--o--0-----©-·--O-----o-----0-¤----------o 0 ° · ° . ¤ ·