PHP » PYTHON |
login |
register |
about
|
get_class_vars(PHP 4, PHP 5) get_class_vars — Get the default properties of the class Description
array get_class_vars
( string $class_name
)
Get the default properties of the given class. Parameters
Return ValuesReturns an associative array of default public properties of the class. The resulting array elements are in the form of varname => value. Changelog
Examples
Example #1 get_class_vars() example
<?php The above example will output: // Before PHP 4.2.0 var2 : xyz var3 : 100 // As of PHP 4.2.0 var1 : var2 : xyz var3 : 100
See Also
|
more
Recently updated
more
Most requested
more
Last requests
|