You are here: Re: [PHP] Re: Check class definition « PHP « IT news, forums, messages
Re: [PHP] Re: Check class definition

Posted by Jochem Maas on 06/04/05 01:22

Chris Boget wrote:
>>>You can use defined() to check to see if a constant has been
>>>defined. You can use function_exists() to see if a function
>>>has been defined. But what can you use to check to see if
>>>a class has been defined?
>>
>>class_exists()
>

// and
$is = class_exists($er, false); // suppress _autoload() call. php5

>
> I found that after it dawned on me to search for the phrase
> exists in the documentation. I wonder why that function isn't
> referenced in the function_exists() documentation page at
> the bottom where like functions are listed...?
>
> thnx,
> Chris
>

 

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

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