Function __global->get_class_vars
Definitions
sources_custom/phpstub.php
- Get the default properties of the class.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $class_name | string | No | No | required parameter | N/A | N/A | The class name |
Returns
- an associative array of declared properties visible from the current scope, with their default value (false: error)
- Type: ~array
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Get the default properties of the class.
*
* @param string $class_name The class name
* @return ~array an associative array of declared properties visible from the current scope, with their default value (false: error)
*/
function get_class_vars(string $class_name)
* Get the default properties of the class.
*
* @param string $class_name The class name
* @return ~array an associative array of declared properties visible from the current scope, with their default value (false: error)
*/
function get_class_vars(string $class_name)

