You are here: Re: address of function or a virtual function « PHP Programming Language « IT news, forums, messages
Re: address of function or a virtual function

Posted by D_a_n_i_e_l on 08/16/07 15:09

On 16 Aug, 16:04, ZeldorBlat <zeldorb...@gmail.com> wrote:
>
> You can find out if a function exists using function_exists():
>
> if(function_exists('testfn')
> ...
>
> You can also call a function who's name is stored in a variable:
>
> $myfn = 'testfn';
> $result = $myfn(); //calls testfn()
>
> Is that what you're trying to do?- Hide quoted text -
>
> - Show quoted text -

Yes, thank you very much.
PHP is suprisingly powerful.

 

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

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