Re: [PHP4BETA] array_walk: calling functions taking only ONE paramet && calling methods = not possible?

[email protected]
Newsgroups php.dev,php.version4
Message-ID <[email protected]>
On Mon, May 29, 2000 at 04:41:10PM +0200, waldschrott wrote:
> 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();

    calling methods is currently not implemented for most
    functions that have php-callbacks.

> 
> Either array_walk is missing some functionality or I am missing 
> something....

    any chance to send a short (10 lines) script that shows the
    behaviour?

> 
> 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 °  · °  .  ¤ ·
> 
> 
> -- 
> PHP 4.0 Beta Mailing List <http://www.php.net/version4/>
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> To contact the list administrators, e-mail: [email protected]

-- 

Thies C. Arntzen                 "One Big-Mac, Small Fries and a Coke!"
Digital Collections             Phone +49 40 235350 Fax +49 40 23535180
Hammerbrookstr. 93                              20097 Hamburg / Germany
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.