Function __global->preg_quote

Definitions

sources_custom/phpstub.php

  • Quote regular expression characters.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: string

Parameters

Name Type Default Set Range Description
$str string required parameter N/A N/A The string to escape
$surround_char string / N/A N/A Extra character to escape, was used in regular expression to surround it

Return

  • The escape string
  • Type: string
  • Set: N/A
  • Range: N/A