Function __global->reset

Definitions

sources_custom/phpstub.php

  • Set the internal pointer of an array to its first element.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$array array No No required parameter N/A N/A The array

Returns

  • The value of the first element
  • Type: mixed
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Set the internal pointer of an array to its first element.
 *
 * @param  array $array The array
 * @return mixed The value of the first element
 */

function reset(array $array)