Function __global->get_object_vars

Definitions

sources_custom/phpstub.php

  • Gets the properties of the given object.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$object object No No required parameter N/A N/A An object instance

Returns

  • An associative array of defined object accessible non-static properties for the specified object in scope (false: error)
  • Type: ~array
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Gets the properties of the given object.
 *
 * @param  object $object An object instance
 * @return ~array An associative array of defined object accessible non-static properties for the specified object in scope (false: error)
 */

function get_object_vars(object $object)