The get_cfg_var function returns the value of the specified configuration variable.
These are the variables specified in php.ini or in Apache's configuration files. You can
get a report on all configuration information by calling the phpinfo function.
<?
print("Scripts are allowed to run ".
get_cfg_var("max_execution_time").
" seconds");
?>
string get_class(object variable)
The get_class function returns the name of the class for the given object.
<?
class animal
{
var $name;
}
$gus = new animal;
print("Gus is of type ". get_class($gus). "
\n");
?>
array get_class_methods(string class)
The get_class_methods function returns an array of the names of the methods for the
given class.
<?
class dog
{
var $name="none";
var $sound="woof!";
function speak()
{
print($this->sound);
}
}
$gus = new dog;
$gus->name = "Gus";
foreach(get_class_methods("dog") as $method)
{