You are here: Re: Defining a callback Func for preg_replace_callback(), within some class's method « PHP Programming Language « IT news, forums, messages
Re: Defining a callback Func for preg_replace_callback(), within some class's method

Posted by Andy Hassall on 09/29/64 11:37

On 16 Jan 2006 17:40:31 -0800, "Chung Leong" <chernyshevsky@hotmail.com> wrote:

>What you're trying to do is create a closure, which can't be done in
>PHP as far as I know.

create_function() gets close to this.

--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация