Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

get_declared_classes(3) [php man page]

GET_DECLARED_CLASSES(3) 						 1						   GET_DECLARED_CLASSES(3)

get_declared_classes - Returns an array with the name of the defined classes

SYNOPSIS
array get_declared_classes (void ) DESCRIPTION
Gets the declared classes. RETURN VALUES
Returns an array of the names of the declared classes in the current script. Note Note that depending on what extensions you have compiled or loaded into PHP, additional classes could be present. This means that you will not be able to define your own classes using these names. There is a list of predefined classes in the Predefined Classes section of the appendices. EXAMPLES
Example #1 get_declared_classes(3) example <?php print_r(get_declared_classes()); ?> The above example will output something similar to: Array ( [0] => stdClass [1] => __PHP_Incomplete_Class [2] => Directory ) SEE ALSO
class_exists(3), get_declared_interfaces(3), get_defined_functions(3). PHP Documentation Group GET_DECLARED_CLASSES(3)

Check Out this Related Man Page

GET_LOADED_EXTENSIONS(3)						 1						  GET_LOADED_EXTENSIONS(3)

get_loaded_extensions - Returns an array with the names of all modules compiled and loaded

SYNOPSIS
array get_loaded_extensions ([bool $zend_extensions = false]) DESCRIPTION
This function returns the names of all the modules compiled and loaded in the PHP interpreter. PARAMETERS
o $zend_extensions - Only return Zend extensions, if not then regular extensions, like mysqli are listed. Defaults to FALSE (return regular exten- sions). RETURN VALUES
Returns an indexed array of all the modules names. CHANGELOG
+--------+---------------------------------------------------+ |Version | | | | | | | Description | | | | +--------+---------------------------------------------------+ | 5.2.4 | | | | | | | The optional $zend_extensions parameter was | | | added | | | | +--------+---------------------------------------------------+ EXAMPLES
Example #1 get_loaded_extensions(3) Example <?php print_r(get_loaded_extensions()); ?> The above example will output something similar to: Array ( [0] => xml [1] => wddx [2] => standard [3] => session [4] => posix [5] => pgsql [6] => pcre [7] => gd [8] => ftp [9] => db [10] => calendar [11] => bcmath ) SEE ALSO
get_extension_funcs(3), extension_loaded(3), dl(3), phpinfo(3). PHP Documentation Group GET_LOADED_EXTENSIONS(3)
Man Page

3 More Discussions You Might Find Interesting

1. Programming

how to use classes in c ?!?!?

Hi, I've tried to use classes in my program, but the compiler simply gives an error on the word class . Am I the only one with this problem ? I have no idea how to use classes in c in linux environment(suse). If you've got any idea what should I do I would be very thankful. Thanks to ya all !... (4 Replies)
Discussion started by: atticus
4 Replies

2. Programming

Test program not giving expected result

I have five classes. 2 composition classes,1 aggregation class and 1 dependency class.I have coded all the classes but one of my test program is not giving me the expected result.I have the following classes: TimeStamp Interval (composition of 2 TimeStamps) TimeSheet ( aggregation of many... (3 Replies)
Discussion started by: moraks007
3 Replies

3. Programming

c++ help with class(new to classes)

Hello there, I am new to using classes, and have been having so many problems. I don't want to go to my teacher if I don't have to, because it is always my luck that it is something easy that I just overlooked somehow. I have been working on this for 3 days and I can't get it to read from a file. ... (1 Reply)
Discussion started by: KingAroan
1 Replies