Function __global->json_last_error

Definitions

sources_custom/phpstub.php

  • Returns the last error occurred.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: int

Returns

  • Last error, a JSON_* constant
  • Type: integer
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Returns the last error occurred.
 *
 * @return integer Last error, a JSON_* constant
 */

function json_last_error() : int