Re: Predefined Classes in PHP5

From: Date: Fri, 09 Feb 2007 17:26:24 +0000
Subject: Re: Predefined Classes in PHP5
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-248670@lists.php.net to get a copy of this message
Roman Neuhauser wrote: > # jochem@iamjochem.com / 2007-02-09 16:04:35 +0100: >> Roman Neuhauser wrote: >>> # jochem@iamjochem.com / 2007-02-09 14:44:32 +0100: >>>> Jim Lucas wrote: >>>>> I am wondering about the "Predefined Classes" for PHP5. >>> vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv >>>>> I don't have all the various extensions loaded, so I don't have >>>>> access to the various classes. >>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >>> >>>> var_dump(get_declared_classes(), get_declared_interfaces()); >>> This won't help him. ok fair enough - he didn't think it helped him either - but going by his replies one might be forgiven for thinking he is beyond help. ;-) >> it's more helpful than pointing him at the source - if a class is defined by >> an extension and he hasn't loaded it then that class is not 'pre-defined' as >> far as his installation is concerned. >> >> besides pretty much all the pre-defined classes that are of general interest are >> included as part of extensions that are in the default build (or part of the core), >> e.g. the following extensions: >> >> spl >> DOM >> pdo >> >> for stuff like SOAP, tidy, etc the relevant manual page lists the classes that are >> defined. >> >> so the answer to the original question is RTFM like everyone else, >> the reaction to 'This wont help him' is 'Let Jim decide for himself would >> you' >> >

« previous php.general (#248670) next »