Function __global->apply_tempcode_escaping_inline

Definitions

sources/tempcode.php

  • Apply whatever escaping is requested to the given value (by return).
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: string

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$escaped array No No required parameter N/A N/A A list of escaping to do
$value string No No required parameter N/A N/A The string to apply the escapings to

Returns

  • Output string
  • Type: string
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Apply whatever escaping is requested to the given value (by return).
 *
 * @param  array $escaped A list of escaping to do
 * @param  string $value The string to apply the escapings to
 * @return string Output string
 */

function apply_tempcode_escaping_inline(array $escaped, string $value) : string