Function __global->json_encode

Definitions

sources_custom/phpstub.php

  • Returns the JSON representation of a value.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: string

Parameters

Name Type Default Set Range Description
$value mixed required parameter N/A N/A The value being encoded. Can be any type except a resource.
$options integer 0 N/A N/A Bitmask of options

Return

  • Encoded data
  • Type: string
  • Set: N/A
  • Range: N/A