| |   |
| 8 | 8 | endCaptures: |
| 9 | 9 | "0": |
| 10 | 10 | name: punctuation.definition.string.end.php |
| 11 | | begin: (?x)'/ (?= (\\.|[^'/])+/[imsxeADSUXu]*' ) |
| 11 | begin: (?x)'/ (?= (\\.|[^'/])++/[imsxeADSUXu]*' ) |
| 12 | 12 | beginCaptures: |
| 13 | 13 | "0": |
| 14 | 14 | name: punctuation.definition.string.begin.php |
| … | … | |
| 21 | 21 | "3": |
| 22 | 22 | name: punctuation.definition.arbitrary-repitition.php |
| 23 | 23 | match: (\{)\d+(,\d+)?(\}) |
| 24 | - name: constant.character.escape.regex.php |
| 25 | match: (\\){1,2}[.$^\[\]{}] |
| 26 | comment: "Escaped from the regexp \xE2\x80\x93 there can also be 2 backslashes (since 1 will escape the first)" |
| 27 | - name: constant.character.escape.php |
| 28 | match: \\{1,2}[\\'] |
| 29 | comment: "Escaped from the PHP string \xE2\x80\x93 there can also be 2 backslashes (since 1 will escape the first)" |
| 24 | 30 | - name: string.regexp.character-class.php |
| 25 | 31 | captures: |
| 26 | 32 | "0": |
| … | … | |
| 35 | 35 | end: \] |
| 36 | 36 | patterns: |
| 37 | 37 | - name: constant.character.escape.php |
| 38 | | match: \\[\\'] |
| 38 | match: \\[\\'\[\]] |
| 39 | 39 | - name: keyword.operator.regexp.php |
| 40 | 40 | match: "[$^+*]" |
| 41 | | - name: constant.character.escape.php |
| 42 | | match: \\[\\'] |
| 43 | 41 | variables: |
| 44 | 42 | patterns: |
| 45 | 43 | - include: "#var_global" |
| … | … | |
| 49 | 49 | "0": |
| 50 | 50 | name: punctuation.definition.string.end.php |
| 51 | 51 | begin: "\"" |
| 52 | contentName: meta.string-contents.quoted.double.php |
| 52 | 53 | beginCaptures: |
| 53 | 54 | "0": |
| 54 | 55 | name: punctuation.definition.string.begin.php |
| 55 | 56 | end: "\"" |
| 56 | 57 | patterns: |
| 57 | | - name: constant.character.escape.php |
| 58 | | match: \\. |
| 59 | 58 | - include: "#interpolation" |
| 59 | comment: "This contentName is just to allow the usage of \xE2\x80\x9Cselect scope\xE2\x80\x9D to select the string contents first, then the string with quotes" |
| 60 | 60 | language: |
| 61 | 61 | patterns: |
| 62 | | - name: meta.scope.heredoc |
| 63 | | endCaptures: |
| 64 | | "1": |
| 65 | | name: keyword.operator.heredoc.php |
| 66 | | "2": |
| 67 | | name: punctuation.definition.string.php |
| 68 | | begin: (<<<)\s*(HTML) |
| 69 | | contentName: text.html.basic.embedded |
| 70 | | beginCaptures: |
| 71 | | "1": |
| 72 | | name: punctuation.definition.string.php |
| 73 | | "2": |
| 74 | | name: keyword.operator.heredoc.php |
| 75 | | end: ^(HTML)(;?)$ |
| 76 | | patterns: |
| 77 | | - include: text.html.basic |
| 78 | | - include: "#interpolation" |
| 79 | | - name: meta.scope.heredoc |
| 80 | | endCaptures: |
| 81 | | "1": |
| 82 | | name: keyword.operator.heredoc.php |
| 83 | | "2": |
| 84 | | name: punctuation.definition.string.php |
| 85 | | begin: (<<<)\s*(XML) |
| 86 | | contentName: text.xml.embedded |
| 87 | | beginCaptures: |
| 88 | | "1": |
| 89 | | name: punctuation.definition.string.php |
| 90 | | "2": |
| 91 | | name: keyword.operator.heredoc.php |
| 92 | | end: ^(XML)(;?)$ |
| 93 | | patterns: |
| 94 | | - include: text.xml |
| 95 | | - include: "#interpolation" |
| 96 | | - name: meta.scope.heredoc |
| 97 | | endCaptures: |
| 98 | | "1": |
| 99 | | name: keyword.operator.heredoc.php |
| 100 | | "2": |
| 101 | | name: punctuation.definition.string.php |
| 102 | | begin: (<<<)\s*(SQL) |
| 103 | | contentName: source.sql.embedded |
| 104 | | beginCaptures: |
| 105 | | "1": |
| 106 | | name: punctuation.definition.string.php |
| 107 | | "2": |
| 108 | | name: keyword.operator.heredoc.php |
| 109 | | end: ^(SQL)(;?)$ |
| 62 | - name: string.unquoted.heredoc.php |
| 63 | begin: (?=<<<\s*(HTML|XML|SQL)\s*$) |
| 64 | end: (?!<?<<\s*(HTML|XML|SQL)\s*$) |
| 110 | 65 | patterns: |
| 111 | | - include: source.sql |
| 112 | | - include: "#interpolation" |
| 66 | - name: meta.embedded.html |
| 67 | endCaptures: |
| 68 | "0": |
| 69 | name: punctuation.section.embedded.end.php |
| 70 | "1": |
| 71 | name: keyword.operator.heredoc.php |
| 72 | "2": |
| 73 | name: punctuation.definition.string.php |
| 74 | begin: (<<<)\s*(HTML)\s*$\n? |
| 75 | contentName: text.html |
| 76 | beginCaptures: |
| 77 | "0": |
| 78 | name: punctuation.section.embedded.begin.php |
| 79 | "1": |
| 80 | name: punctuation.definition.string.php |
| 81 | "2": |
| 82 | name: keyword.operator.heredoc.php |
| 83 | end: ^(HTML)(;?)$\n? |
| 84 | patterns: |
| 85 | - include: text.html.basic |
| 86 | - include: "#interpolation" |
| 87 | - name: meta.embedded.xml |
| 88 | endCaptures: |
| 89 | "0": |
| 90 | name: punctuation.section.embedded.end.php |
| 91 | "1": |
| 92 | name: keyword.operator.heredoc.php |
| 93 | "2": |
| 94 | name: punctuation.definition.string.php |
| 95 | begin: (<<<)\s*(XML)\s*$\n? |
| 96 | contentName: text.xml |
| 97 | beginCaptures: |
| 98 | "0": |
| 99 | name: punctuation.section.embedded.begin.php |
| 100 | "1": |
| 101 | name: punctuation.definition.string.php |
| 102 | "2": |
| 103 | name: keyword.operator.heredoc.php |
| 104 | end: ^(XML)(;?)$\n? |
| 105 | patterns: |
| 106 | - include: text.xml |
| 107 | - include: "#interpolation" |
| 108 | - name: meta.embedded.sql |
| 109 | endCaptures: |
| 110 | "0": |
| 111 | name: punctuation.section.embedded.end.php |
| 112 | "1": |
| 113 | name: keyword.operator.heredoc.php |
| 114 | "2": |
| 115 | name: punctuation.definition.string.php |
| 116 | begin: (<<<)\s*(SQL)\s*$\n? |
| 117 | contentName: source.sql |
| 118 | beginCaptures: |
| 119 | "0": |
| 120 | name: punctuation.section.embedded.begin.php |
| 121 | "1": |
| 122 | name: punctuation.definition.string.php |
| 123 | "2": |
| 124 | name: keyword.operator.heredoc.php |
| 125 | end: ^(SQL)(;?)$\n? |
| 126 | patterns: |
| 127 | - include: source.sql |
| 128 | - include: "#interpolation" |
| 113 | 129 | - name: comment.block.documentation.phpdoc.php |
| 114 | 130 | captures: |
| 115 | 131 | "0": |
| 116 | 132 | name: punctuation.definition.comment.php |
| 117 | | begin: /\*\*\s*$ |
| 133 | begin: /\*\*(?:#@\+)?\s*$ |
| 118 | 134 | end: \*/ |
| 119 | 135 | patterns: |
| 120 | 136 | - include: "#php_doc" |
| 121 | | comment: This now only highlights a docblock if the first line contains only /** - this is to stop highlighting everything as invalid when people do comment banners with /******** ... |
| 137 | comment: |- |
| 138 | This now only highlights a docblock if the first line contains only /** |
| 139 | - this is to stop highlighting everything as invalid when people do comment banners with /******** ... |
| 140 | - Now matches /**#@+ too - used for docblock templates: http://manual.phpdoc.org/HTMLframesConverter/default/phpDocumentor/tutorial_phpDocumentor.howto.pkg.html#basics.docblocktemplate |
| 122 | 141 | - name: comment.block.php |
| 123 | 142 | captures: |
| 124 | 143 | "0": |
| … | … | |
| 155 | 155 | name: punctuation.definition.comment.php |
| 156 | 156 | match: (#).*?($\n?|(?=\?>)) |
| 157 | 157 | - name: meta.interface.php |
| 158 | | begin: ^\s*(interface)\s+([a-zA-Z0-9_]+)\s*(extends)?\s* |
| 158 | begin: ^(?i)\s*(interface)\s+([a-z0-9_]+)\s*(extends)?\s* |
| 159 | 159 | beginCaptures: |
| 160 | 160 | "1": |
| 161 | 161 | name: storage.type.interface.php |
| … | … | |
| 168 | 168 | - name: entity.other.inherited-class.php |
| 169 | 169 | match: "[a-zA-Z0-9_]+" |
| 170 | 170 | - name: meta.class.php |
| 171 | | begin: ^\s*(abstract)?\s*(class)\s+([a-zA-Z0-9_]+)\s* |
| 171 | begin: (?i)^\s*(abstract|final)?\s*(class)\s+([a-z0-9_]+)\s* |
| 172 | 172 | beginCaptures: |
| 173 | 173 | "1": |
| 174 | 174 | name: storage.modifier.abstract.php |
| … | … | |
| 183 | 183 | name: storage.modifier.extends.php |
| 184 | 184 | "2": |
| 185 | 185 | name: entity.other.inherited-class.php |
| 186 | | match: (extends)\s+([a-zA-Z0-9_]+)\s* |
| 187 | | - begin: (implements)\s+([a-zA-Z0-9_]+)\s* |
| 186 | match: (?i:(extends))\s+([a-zA-Z0-9_]+)\s* |
| 187 | - begin: (?i:(implements))\s+([a-zA-Z0-9_]+)\s* |
| 188 | 188 | beginCaptures: |
| 189 | 189 | "1": |
| 190 | 190 | name: storage.modifier.implements.php |
| 191 | 191 | "2": |
| 192 | 192 | name: support.class.implements.php |
| 193 | | end: (?=\s*\bextends)|$ |
| 193 | end: (?=\s*\b(?i:(extends)))|$ |
| 194 | 194 | patterns: |
| 195 | 195 | - captures: |
| 196 | 196 | "1": |
| … | … | |
| 229 | 229 | name: entity.name.function.php |
| 230 | 230 | end: \) |
| 231 | 231 | patterns: |
| 232 | | - name: meta.function.argument.typehinted.php |
| 232 | - name: meta.function.argument.array.php |
| 233 | endCaptures: |
| 234 | "0": |
| 235 | name: punctuation.definition.array.end.php |
| 236 | begin: "(?x)\n\ |
| 237 | \t\t\t\t\t\t\t\t\t\\s*(array) # Typehint\n\ |
| 238 | \t\t\t\t\t\t\t\t\t\\s*(&)? \t\t\t\t\t# Reference\n\ |
| 239 | \t\t\t\t\t\t\t\t\t\\s*((\\$+)[a-zA-Z_\\x{7f}-\\x{ff}][a-zA-Z0-9_\\x{7f}-\\x{ff}]*) # The variable name\n\ |
| 240 | \t\t\t\t\t\t\t\t\t\\s*(=)\t# A default value\n\ |
| 241 | \t\t\t\t\t\t\t\t\t\\s*(array)\\s*(\\()\n\ |
| 242 | \t\t\t\t\t\t\t\t\t" |
| 243 | contentName: meta.array.php |
| 244 | beginCaptures: |
| 245 | "6": |
| 246 | name: support.function.construct.php |
| 247 | "7": |
| 248 | name: punctuation.definition.array.begin.php |
| 249 | "1": |
| 250 | name: storage.type.php |
| 251 | "2": |
| 252 | name: storage.modifier.php |
| 253 | "3": |
| 254 | name: variable.other.php |
| 255 | "4": |
| 256 | name: punctuation.definition.variable.php |
| 257 | "5": |
| 258 | name: keyword.operator.assignment.php |
| 259 | end: \) |
| 260 | patterns: |
| 261 | - include: "#strings" |
| 262 | - include: "#numbers" |
| 263 | - name: meta.function.argument.array.php |
| 233 | 264 | captures: |
| 234 | 265 | "6": |
| 235 | 266 | name: constant.language.php |
| … | … | |
| 269 | 269 | "1": |
| 270 | 270 | name: storage.type.php |
| 271 | 271 | "2": |
| 272 | name: storage.modifier.php |
| 273 | "3": |
| 274 | name: variable.other.php |
| 275 | "4": |
| 276 | name: punctuation.definition.variable.php |
| 277 | "5": |
| 278 | name: keyword.operator.assignment.php |
| 279 | match: "(?x)\n\ |
| 280 | \t\t\t\t\t\t\t\t\t\\s*(array) # Typehint\n\ |
| 281 | \t\t\t\t\t\t\t\t\t\\s*(&)? \t\t\t\t\t# Reference\n\ |
| 282 | \t\t\t\t\t\t\t\t\t\\s*((\\$+)[a-zA-Z_\\x{7f}-\\x{ff}][a-zA-Z0-9_\\x{7f}-\\x{ff}]*) # The variable name\n\ |
| 283 | \t\t\t\t\t\t\t\t\t(?:\n\ |
| 284 | \t\t\t\t\t\t\t\t\t\t\\s*(=)\t# A default value\n\ |
| 285 | \t\t\t\t\t\t\t\t\t\t\\s*(?i:\n\ |
| 286 | \t\t\t\t\t\t\t\t\t\t\t(NULL)\n\ |
| 287 | \t\t\t\t\t\t\t\t\t\t\t|\n\ |
| 288 | \t\t\t\t\t\t\t\t\t\t\t(\\S.*?)\n\ |
| 289 | \t\t\t\t\t\t\t\t\t\t\t)?\n\ |
| 290 | \t\t\t\t\t\t\t\t\t)?\n\ |
| 291 | \t\t\t\t\t\t\t\t\t\\s*(?=,|\\)) # A closing parentheses (end of argument list) or a comma\n\ |
| 292 | \t\t\t\t\t\t\t\t\t" |
| 293 | - name: meta.function.argument.typehinted.php |
| 294 | captures: |
| 295 | "6": |
| 296 | name: constant.language.php |
| 297 | "7": |
| 298 | name: invalid.illegal.non-null-typehinted.php |
| 299 | "1": |
| 272 | 300 | name: support.class.php |
| 301 | "2": |
| 302 | name: storage.modifier.php |
| 273 | 303 | "3": |
| 274 | 304 | name: variable.other.php |
| 275 | 305 | "4": |
| 276 | 306 | name: punctuation.definition.variable.php |
| 277 | 307 | "5": |
| 278 | 308 | name: keyword.operator.assignment.php |
| 279 | | match: \s*(?i:(array)|([A-Za-z_][A-Za-z_0-9]*))\s*((\$+)[a-zA-Z_\x{7f}-\x{ff}][a-zA-Z0-9_\x{7f}-\x{ff}]*)(?:\s*(=)\s*((?i:NULL)|(.+?)))?\s*(?=,|\)) |
| 309 | match: "(?x)\n\ |
| 310 | \t\t\t\t\t\t\t\t\t\\s*([A-Za-z_][A-Za-z_0-9]*) # Typehinted class name\n\ |
| 311 | \t\t\t\t\t\t\t\t\t\\s*(&)? \t\t\t\t\t# Reference\n\ |
| 312 | \t\t\t\t\t\t\t\t\t\\s*((\\$+)[a-zA-Z_\\x{7f}-\\x{ff}][a-zA-Z0-9_\\x{7f}-\\x{ff}]*) # The variable name\n\ |
| 313 | \t\t\t\t\t\t\t\t\t(?:\n\ |
| 314 | \t\t\t\t\t\t\t\t\t\t\\s*(=)\t# A default value\n\ |
| 315 | \t\t\t\t\t\t\t\t\t\t\\s*(?i:\n\ |
| 316 | \t\t\t\t\t\t\t\t\t\t\t(NULL)\n\ |
| 317 | \t\t\t\t\t\t\t\t\t\t\t|\n\ |
| 318 | \t\t\t\t\t\t\t\t\t\t\t(\\S.*?)\n\ |
| 319 | \t\t\t\t\t\t\t\t\t\t\t)?\n\ |
| 320 | \t\t\t\t\t\t\t\t\t)?\n\ |
| 321 | \t\t\t\t\t\t\t\t\t\\s*(?=,|\\)) # A closing parentheses (end of argument list) or a comma\n\ |
| 322 | \t\t\t\t\t\t\t\t\t" |
| 280 | 323 | - name: meta.function.argument.no-default.php |
| 281 | 324 | captures: |
| 282 | 325 | "1": |
| 283 | | name: variable.other.php |
| 326 | name: storage.modifier.php |
| 284 | 327 | "2": |
| 328 | name: variable.other.php |
| 329 | "3": |
| 285 | 330 | name: punctuation.definition.variable.php |
| 286 | | match: \s*((\$+)[a-zA-Z_\x{7f}-\x{ff}][a-zA-Z0-9_\x{7f}-\x{ff}]*)\s*(?=,|\)) |
| 331 | match: (\s*&)?\s*((\$+)[a-zA-Z_\x{7f}-\x{ff}][a-zA-Z0-9_\x{7f}-\x{ff}]*)\s*(?=,|\)) |
| 287 | 332 | - name: meta.function.argument.default.php |
| 288 | 333 | captures: |
| 289 | 334 | "1": |
| 290 | | name: variable.other.php |
| 335 | name: storage.modifier.php |
| 291 | 336 | "2": |
| 292 | | name: punctuation.definition.variable.php |
| 337 | name: variable.other.php |
| 293 | 338 | "3": |
| 339 | name: punctuation.definition.variable.php |
| 340 | "4": |
| 294 | 341 | name: keyword.operator.assignment.php |
| 295 | | begin: \s*((\$+)[a-zA-Z_\x{7f}-\x{ff}][a-zA-Z0-9_\x{7f}-\x{ff}]*)(?:\s*(=)\s*)\s* |
| 342 | begin: (\s*&)?\s*((\$+)[a-zA-Z_\x{7f}-\x{ff}][a-zA-Z0-9_\x{7f}-\x{ff}]*)(?:\s*(=)\s*)\s* |
| 296 | 343 | end: (?=,|\)) |
| 297 | 344 | patterns: |
| 298 | 345 | - include: "#parameter-default-types" |
| … | … | |
| 350 | 350 | begin: /\* |
| 351 | 351 | end: \*/ |
| 352 | 352 | - name: storage.type.php |
| 353 | | match: (?i)\b(real|double|float|int(eger)?|bool(ean)?|string|class|clone|var|function|interface|parent|self|__(autoload|c(all|lone|onstruct)|destruct|get|set|sleep|toString|wakeup))\b |
| 353 | match: (?i)\b(real|double|float|int(eger)?|bool(ean)?|string|class|clone|var|function|interface|parent|self|object)\b |
| 354 | 354 | - name: storage.modifier.php |
| 355 | | match: \b(global|abstract|const|extends|implements|final|p(r(ivate|otected)|ublic)|static)\b |
| 355 | match: (?i)\b(global|abstract|const|extends|implements|final|p(r(ivate|otected)|ublic)|static)\b |
| 356 | 356 | - include: "#object" |
| 357 | 357 | - captures: |
| 358 | 358 | "1": |
| … | … | |
| 394 | 394 | match: => |
| 395 | 395 | - name: storage.modifier.reference.php |
| 396 | 396 | match: "&(?=\\s*(\\$|new|[A-Za-z_][A-Za-z_0-9]+(?=\\s*\\()))" |
| 397 | | - name: keyword.operator.assignment.php |
| 398 | | match: "=" |
| 399 | | - name: keyword.operator.terminator.php |
| 397 | - name: punctuation.terminator.expression.php |
| 400 | 398 | match: ; |
| 401 | 399 | - name: keyword.operator.error-control.php |
| 402 | 400 | match: (@) |
| … | … | |
| 410 | 410 | match: (===|==|!==|!=|<=|>=|<>|<|>) |
| 411 | 411 | - name: keyword.operator.string.php |
| 412 | 412 | match: (\.=|\.) |
| 413 | - name: keyword.operator.assignment.php |
| 414 | match: "=" |
| 413 | 415 | - captures: |
| 414 | 416 | "1": |
| 415 | 417 | name: keyword.operator.type.php |
| … | … | |
| 483 | 483 | "0": |
| 484 | 484 | name: punctuation.definition.string.end.php |
| 485 | 485 | begin: "'" |
| 486 | contentName: meta.string-contents.quoted.single.php |
| 486 | 487 | beginCaptures: |
| 487 | 488 | "0": |
| 488 | 489 | name: punctuation.definition.string.begin.php |
| … | … | |
| 497 | 497 | "0": |
| 498 | 498 | name: punctuation.definition.string.end.php |
| 499 | 499 | begin: "\"\\s*(?=(SELECT|INSERT|UPDATE|DELETE|CREATE|REPLACE|ALTER)\\b)" |
| 500 | contentName: source.sql.embedded.php |
| 500 | 501 | beginCaptures: |
| 501 | 502 | "0": |
| 502 | 503 | name: punctuation.definition.string.begin.php |
| 503 | 504 | end: "\"" |
| 504 | 505 | patterns: |
| 506 | - name: comment.line.number-sign.sql |
| 507 | match: "#(\\\\\"|[^\"])*(?=\"|$\\n?)" |
| 508 | - name: comment.line.double-dash.sql |
| 509 | match: --(\\"|[^"])*(?="|$\n?) |
| 510 | - name: string.quoted.single.unclosed.sql |
| 511 | begin: "'(?=[^']*?\")" |
| 512 | end: (?=") |
| 513 | patterns: |
| 514 | - name: constant.character.escape.php |
| 515 | match: \\[\\'] |
| 516 | comment: |- |
| 517 | Unclosed strings must be captured to avoid them eating the remainder of the PHP script |
| 518 | Sample case: $sql = "SELECT * FROM bar WHERE foo = '" . $variable . "'" |
| 519 | - name: string.quoted.other.backtick.unclosed.sql |
| 520 | begin: `(?=[^`]*?") |
| 521 | end: (?=") |
| 522 | patterns: |
| 523 | - name: constant.character.escape.php |
| 524 | match: \\[\\'] |
| 525 | comment: |- |
| 526 | Unclosed strings must be captured to avoid them eating the remainder of the PHP script |
| 527 | Sample case: $sql = "SELECT * FROM bar WHERE foo = '" . $variable . "'" |
| 528 | - name: string.quoted.double.unclosed.sql |
| 529 | begin: \\"(?!([^\\"]|\\[^"])*\\")(?=(\\[^"]|.)*?") |
| 530 | end: (?=") |
| 531 | patterns: |
| 532 | - name: constant.character.escape.php |
| 533 | match: \\[\\'] |
| 534 | comment: |- |
| 535 | Unclosed strings must be captured to avoid them eating the remainder of the PHP script |
| 536 | Sample case: $sql = "SELECT * FROM bar WHERE foo = '" . $variable . "'" |
| 537 | - name: string.quoted.double.sql |
| 538 | captures: |
| 539 | "0": |
| 540 | name: constant.character.escape.php |
| 541 | begin: \\" |
| 542 | end: \\" |
| 543 | patterns: |
| 544 | - include: "#interpolation" |
| 545 | - name: string.quoted.other.backtick.sql |
| 546 | begin: ` |
| 547 | end: ` |
| 548 | patterns: |
| 549 | - include: "#interpolation" |
| 550 | - name: string.quoted.single.sql |
| 551 | begin: "'" |
| 552 | end: "'" |
| 553 | patterns: |
| 554 | - include: "#interpolation" |
| 505 | 555 | - name: constant.character.escape.php |
| 506 | 556 | match: \\. |
| 507 | 557 | - include: "#interpolation" |
| … | … | |
| 571 | 571 | end: \) |
| 572 | 572 | patterns: |
| 573 | 573 | - include: "#language" |
| 574 | | - name: support.function.construct.php |
| 575 | | match: (?i)\b(isset|unset|print|e(cho|val|mpty)|list)\b |
| 576 | 574 | - name: support.function.array.php |
| 577 | | match: (?i)\b(s(huffle|izeof|ort)|n(ext|at(sort|casesort))|c(o(unt|mpact)|urrent)|in_array|u(sort|ksort|asort)|p(os|rev)|e(nd|xtract)|k(sort|ey(_exists)?|rsort)|a(sort|r(sort|ray_(s(hift|um|plice|earch|lice)|c(h(unk|ange_key_case)|o(unt_values|mbine))|intersect(_(u(key|assoc)|key|assoc))?|diff(_(u(key|assoc)|key|assoc))?|u(n(shift|ique)|intersect(_(uassoc|assoc))?|diff(_(uassoc|assoc))?)|p(op|ush|ad|roduct)|values|key(s|_exists)|f(il(ter|l(_keys)?)|lip)|walk(_recursive)?|r(e(duce|verse)|and)|m(ultisort|erge(_recursive)?|ap))))|r(sort|eset|ange)|m(in|ax))\b(?=\s*\() |
| 575 | match: (?i)\b(s(huffle|ort)|n(ext|at(sort|casesort))|c(o(unt|mpact)|urrent)|in_array|u(sort|ksort|asort)|prev|e(nd|xtract)|k(sort|ey|rsort)|a(sort|r(sort|ray_(s(hift|um|plice|earch|lice)|c(h(unk|ange_key_case)|o(unt_values|mbine))|intersect(_(u(key|assoc)|key|assoc))?|diff(_(u(key|assoc)|key|assoc))?|u(n(shift|ique)|intersect(_(uassoc|assoc))?|diff(_(uassoc|assoc))?)|p(op|ush|ad|roduct)|values|key(s|_exists)|f(il(ter|l(_keys)?)|lip)|walk(_recursive)?|r(e(duce|verse)|and)|m(ultisort|erge(_recursive)?|ap))))|r(sort|eset|ange)|m(in|ax))(?=\s*\() |
| 578 | 576 | - name: support.function.assert.php |
| 579 | | match: (?i)\bassert(_options)?\b(?=\s*\() |
| 577 | match: (?i)\bassert(_options)?(?=\s*\() |
| 580 | 578 | - name: support.function.attr.php |
| 581 | | match: (?i)\b(isId|dom_attr_is_id)\b(?=\s*\() |
| 579 | match: (?i)\bdom_attr_is_id(?=\s*\() |
| 582 | 580 | - name: support.function.base64.php |
| 583 | | match: (?i)\bbase64_(decode|encode)\b(?=\s*\() |
| 581 | match: (?i)\bbase64_(decode|encode)(?=\s*\() |
| 584 | 582 | - name: support.function.basic_functions.php |
| 585 | | match: (?i)\b(highlight_(string|file)|s(how_source|ys_getloadavg|et_(include_path|magic_quotes_runtime)|leep)|c(on(stant|nection_(status|aborted))|all_user_(func(_array)?|method(_array)?))|time_(sleep_until|nanosleep)|i(s_uploaded_file|n(i_(set|alter|restore|get(_all)?)|et_(ntop|pton))|p2long|gnore_user_abort|mport_request_variables)|u(sleep|nregister_tick_function)|error_(log|get_last)|p(hp_strip_whitespace|utenv|arse_ini_file|rint_r)|flush|long2ip|re(store_include_path|gister_(shutdown_function|tick_function))|get(servby(name|port)|opt|_(c(urrent_user|fg_var)|include_path|magic_quotes_(gpc|runtime))|protobyn(umber|ame)|env)|m(ove_uploaded_file|agic_quotes_runtime))\b(?=\s*\() |
| 583 | match: (?i)\b(highlight_(string|file)|s(ys_getloadavg|et_(include_path|magic_quotes_runtime)|leep)|c(on(stant|nection_(status|aborted))|all_user_(func(_array)?|method(_array)?))|time_(sleep_until|nanosleep)|i(s_uploaded_file|n(i_(set|restore|get(_all)?)|et_(ntop|pton))|p2long|gnore_user_abort|mport_request_variables)|u(sleep|nregister_tick_function)|error_(log|get_last)|p(hp_strip_whitespace|utenv|arse_ini_file|rint_r)|flush|long2ip|re(store_include_path|gister_(shutdown_function|tick_function))|get(servby(name|port)|opt|_(c(urrent_user|fg_var)|include_path|magic_quotes_(gpc|runtime))|protobyn(umber|ame)|env)|move_uploaded_file)(?=\s*\() |
| 586 | 584 | - name: support.function.bcmath.php |
| 587 | | match: (?i)\bbc(s(cale|ub|qrt)|comp|div|pow(mod)?|add|m(od|ul))\b(?=\s*\() |
| 585 | match: (?i)\bbc(s(cale|ub|qrt)|comp|div|pow(mod)?|add|m(od|ul))(?=\s*\() |
| 588 | 586 | - name: support.function.birdstep.php |
| 589 | | match: (?i)\b(velocis_(c(o(nnect|mmit)|lose)|off_autocommit|exec|f(ieldn(um|ame)|etch|reeresult)|autocommit|r(ollback|esult))|birdstep_(c(o(nnect|mmit)|lose)|off_autocommit|exec|f(ieldn(um|ame)|etch|reeresult)|autocommit|r(ollback|esult)))\b(?=\s*\() |
| 587 | match: (?i)\bbirdstep_(c(o(nnect|mmit)|lose)|off_autocommit|exec|f(ieldn(um|ame)|etch|reeresult)|autocommit|r(ollback|esult))(?=\s*\() |
| 590 | 588 | - name: support.function.browscap.php |
| 591 | | match: (?i)\bget_browser\b(?=\s*\() |
| 589 | match: (?i)\bget_browser(?=\s*\() |
| 592 | 590 | - name: support.function.builtin_functions.php |
| 593 | | match: (?i)\b(s(tr(nc(asecmp|mp)|c(asecmp|mp)|len)|et_e(rror_handler|xception_handler))|c(lass_exists|reate_function)|trigger_error|i(s_(subclass_of|a)|nterface_exists)|de(fine(d)?|bug_(print_backtrace|backtrace))|zend_version|property_exists|e(ach|rror_reporting|xtension_loaded)|func(tion_exists|_(num_args|get_arg(s)?))|leak|restore_e(rror_handler|xception_handler)|get_(class(_(vars|methods))?|included_files|de(clared_(classes|interfaces)|fined_(constants|vars|functions))|object_vars|extension_funcs|parent_class|loaded_extensions|resource_type)|method_exists)\b(?=\s*\() |
| 591 | match: (?i)\b(s(tr(nc(asecmp|mp)|c(asecmp|mp)|len)|et_e(rror_handler|xception_handler))|c(lass_exists|reate_function)|trigger_error|i(s_(subclass_of|a)|nterface_exists)|de(fine(d)?|bug_(print_backtrace|backtrace))|zend_version|property_exists|e(ach|rror_reporting|xtension_loaded)|func(tion_exists|_(num_args|get_arg(s)?))|leak|restore_e(rror_handler|xception_handler)|get_(class(_(vars|methods))?|included_files|de(clared_(classes|interfaces)|fined_(constants|vars|functions))|object_vars|extension_funcs|parent_class|loaded_extensions|resource_type)|method_exists)(?=\s*\() |
| 594 | 592 | - name: support.function.bz2.php |
| 595 | | match: (?i)\bbz(compress|decompress|open|err(str|no|or)|read)\b(?=\s*\() |
| 593 | match: (?i)\bbz(compress|decompress|open|err(str|no|or)|read)(?=\s*\() |
| 596 | 594 | - name: support.function.cal_unix.php |
| 597 | | match: (?i)\b(jdtounix|unixtojd)\b(?=\s*\() |
| 595 | match: (?i)\b(jdtounix|unixtojd)(?=\s*\() |
| 598 | 596 | - name: support.function.calendar.php |
| 599 | | match: (?i)\b(cal_(to_jd|info|days_in_month|from_jd)|j(d(to(j(ulian|ewish)|french|gregorian)|dayofweek|monthname)|uliantojd|ewishtojd)|frenchtojd|gregoriantojd)\b(?=\s*\() |
| 597 | match: (?i)\b(cal_(to_jd|info|days_in_month|from_jd)|j(d(to(j(ulian|ewish)|french|gregorian)|dayofweek|monthname)|uliantojd|ewishtojd)|frenchtojd|gregoriantojd)(?=\s*\() |
| 600 | 598 | - name: support.function.characterdata.php |
| 601 | | match: (?i)\b(substringData|insertData|d(om_characterdata_(substring_data|insert_data|delete_data|append_data|replace_data)|eleteData)|appendData|replaceData)\b(?=\s*\() |
| 599 | match: (?i)\bdom_characterdata_(substring_data|insert_data|delete_data|append_data|replace_data)(?=\s*\() |
| 602 | 600 | - name: support.function.com_com.php |
| 603 | | match: (?i)\bcom_(create_guid|print_typeinfo|event_sink|load_typelib|get_active_object|message_pump)\b(?=\s*\() |
| 601 | match: (?i)\bcom_(create_guid|print_typeinfo|event_sink|load_typelib|get_active_object|message_pump)(?=\s*\() |
| 604 | 602 | - name: support.function.com_variant.php |
| 605 | | match: (?i)\bvariant_(s(ub|et(_type)?)|n(ot|eg)|c(a(st|t)|mp)|i(nt|div|mp)|or|d(iv|ate_(to_timestamp|from_timestamp))|pow|eqv|fix|a(nd|dd|bs)|get_type|round|xor|m(od|ul))\b(?=\s*\() |
| 603 | match: (?i)\bvariant_(s(ub|et(_type)?)|n(ot|eg)|c(a(st|t)|mp)|i(nt|div|mp)|or|d(iv|ate_(to_timestamp|from_timestamp))|pow|eqv|fix|a(nd|dd|bs)|get_type|round|xor|m(od|ul))(?=\s*\() |
| 606 | 604 | - name: support.function.crc32.php |
| 607 | | match: (?i)\bcrc32\b(?=\s*\() |
| 605 | match: (?i)\bcrc32(?=\s*\() |
| 608 | 606 | - name: support.function.crypt.php |
| 609 | | match: (?i)\bcrypt\b(?=\s*\() |
| 607 | match: (?i)\bcrypt(?=\s*\() |
| 610 | 608 | - name: support.function.ctype.php |
| 611 | | match: (?i)\bctype_(space|cntrl|digit|upper|p(unct|rint)|lower|al(num|pha)|graph|xdigit)\b(?=\s*\() |
| 609 | match: (?i)\bctype_(space|cntrl|digit|upper|p(unct|rint)|lower|al(num|pha)|graph|xdigit)(?=\s*\() |
| 612 | 610 | - name: support.function.cyr_convert.php |
| 613 | | match: (?i)\bconvert_cyr_string\b(?=\s*\() |
| 611 | match: (?i)\bconvert_cyr_string(?=\s*\() |
| 614 | 612 | - name: support.function.datetime.php |
| 615 | | match: (?i)\bstrptime\b(?=\s*\() |
| 613 | match: (?i)\bstrptime(?=\s*\() |
| 616 | 614 | - name: support.function.dba.php |
| 617 | | match: (?i)\bdba_(handlers|sync|nextkey|close|insert|delete|op(timize|en)|exists|popen|key_split|f(irstkey|etch)|list|replace)\b(?=\s*\() |
| 615 | match: (?i)\bdba_(handlers|sync|nextkey|close|insert|delete|op(timize|en)|exists|popen|key_split|f(irstkey|etch)|list|replace)(?=\s*\() |
| 618 | 616 | - name: support.function.dbase.php |
| 619 | | match: (?i)\bdbase_(num(fields|records)|c(lose|reate)|delete_record|open|pack|add_record|get_(header_info|record(_with_names)?)|replace_record)\b(?=\s*\() |
| 617 | match: (?i)\bdbase_(num(fields|records)|c(lose|reate)|delete_record|open|pack|add_record|get_(header_info|record(_with_names)?)|replace_record)(?=\s*\() |
| 620 | 618 | - name: support.function.dir.php |
| 621 | | match: (?i)\b(scandir|c(h(dir|root)|lose(dir)?)|dir|opendir|re(addir|wind(dir)?)|g(etcwd|lob))\b(?=\s*\() |
| 619 | match: (?i)\b(scandir|c(h(dir|root)|losedir)|dir|opendir|re(addir|winddir)|g(etcwd|lob))(?=\s*\() |
| 622 | 620 | - name: support.function.dl.php |
| 623 | | match: (?i)\bdl\b(?=\s*\() |
| 621 | match: (?i)\bdl(?=\s*\() |
| 624 | 622 | - name: support.function.dns.php |
| 625 | | match: (?i)\b(checkdnsrr|dns_(check_record|get_(record|mx))|get(hostby(name(l)?|addr)|mxrr))\b(?=\s*\() |
| 623 | match: (?i)\b(dns_(check_record|get_(record|mx))|gethostby(name(l)?|addr))(?=\s*\() |
| 626 | 624 | - name: support.function.document.php |
| 627 | | match: (?i)\b(s(chemaValidate|ave(XML|HTML(File)?))|normalizeDocument|create(C(omment|DATASection)|TextNode|DocumentFragment|ProcessingInstruction|E(ntityReference|lement(NS)?)|Attribute(NS)?)|importNode|dom_document_(s(chema_validate(_file)?|ave(_html(_file)?|xml)?)|normalize_document|create_(c(datasection|omment)|text_node|document_fragment|processing_instruction|e(ntity_reference|lement(_ns)?)|attribute(_ns)?)|import_node|validate|load(_html(_file)?|xml)?|adopt_node|re(name_node|laxNG_validate_(file|xml))|get_element(s_by_tag_name(_ns)?|_by_id)|xinclude)|validate|adoptNode|re(nameNode|laxNGValidate(Source)?)|getElementById|xinclude)\b(?=\s*\() |
| 625 | match: (?i)\bdom_document_(s(chema_validate(_file)?|ave(_html(_file)?|xml)?)|normalize_document|create_(c(datasection|omment)|text_node|document_fragment|processing_instruction|e(ntity_reference|lement(_ns)?)|attribute(_ns)?)|import_node|validate|load(_html(_file)?|xml)?|adopt_node|re(name_node|laxNG_validate_(file|xml))|get_element(s_by_tag_name(_ns)?|_by_id)|xinclude)(?=\s*\() |
| 628 | 626 | - name: support.function.domconfiguration.php |
| 629 | | match: (?i)\b(canSetParameter|dom_domconfiguration_(set_parameter|can_set_parameter|get_parameter))\b(?=\s*\() |
| 627 | match: (?i)\bdom_domconfiguration_(set_parameter|can_set_parameter|get_parameter)(?=\s*\() |
| 630 | 628 | - name: support.function.domerrorhandler.php |
| 631 | | match: (?i)\b(handleError|dom_domerrorhandler_handle_error)\b(?=\s*\() |
| 629 | match: (?i)\bdom_domerrorhandler_handle_error(?=\s*\() |
| 632 | 630 | - name: support.function.domimplementation.php |
| 633 | | match: (?i)\bdom_domimplementation_(has_feature|create_document(_type)?|get_feature)\b(?=\s*\() |
| 631 | match: (?i)\bdom_domimplementation_(has_feature|create_document(_type)?|get_feature)(?=\s*\() |
| 634 | 632 | - name: support.function.domimplementationlist.php |
| 635 | | match: (?i)\bdom_domimplementationlist_item\b(?=\s*\() |
| 633 | match: (?i)\bdom_domimplementationlist_item(?=\s*\() |
| 636 | 634 | - name: support.function.domimplementationsource.php |
| 637 | | match: (?i)\b(dom_domimplementationsource_get_domimplementation(s)?|getDomimplementation(s)?)\b(?=\s*\() |
| 635 | match: (?i)\bdom_domimplementationsource_get_domimplementation(s)?(?=\s*\() |
| 638 | 636 | - name: support.function.domstringlist.php |
| 639 | | match: (?i)\bdom_domstringlist_item\b(?=\s*\() |
| 637 | match: (?i)\bdom_domstringlist_item(?=\s*\() |
| 640 | 638 | - name: support.function.easter.php |
| 641 | | match: (?i)\beaster_da(ys|te)\b(?=\s*\() |
| 639 | match: (?i)\beaster_da(ys|te)(?=\s*\() |
| 642 | 640 | - name: support.function.element.php |
| 643 | | match: (?i)\b(hasAttribute(NS)?|set(IdAttribute(N(S|ode))?|Attribute(N(S|ode(NS)?))?)|dom_element_(has_attribute(_ns)?|set_(id_attribute(_n(s|ode))?|attribute(_n(s|ode(_ns)?))?)|remove_attribute(_n(s|ode))?|get_(elements_by_tag_name(_ns)?|attribute(_n(s|ode(_ns)?))?))|removeAttribute(N(S|ode))?|get(ElementsByTagName(NS)?|Attribute(N(S|ode(NS)?))?))\b(?=\s*\() |
| 641 | match: (?i)\bdom_element_(has_attribute(_ns)?|set_(id_attribute(_n(s|ode))?|attribute(_n(s|ode(_ns)?))?)|remove_attribute(_n(s|ode))?|get_(elements_by_tag_name(_ns)?|attribute(_n(s|ode(_ns)?))?))(?=\s*\() |
| 644 | 642 | - name: support.function.exec.php |
| 645 | | match: (?i)\b(s(hell_exec|ystem)|p(assthru|roc_nice)|e(scapeshell(cmd|arg)|xec))\b(?=\s*\() |
| 643 | match: (?i)\b(s(hell_exec|ystem)|p(assthru|roc_nice)|e(scapeshell(cmd|arg)|xec))(?=\s*\() |
| 646 | 644 | - name: support.function.exif.php |
| 647 | | match: (?i)\b(exif_(imagetype|t(humbnail|agname)|read_data)|read_exif_data)\b(?=\s*\() |
| 645 | match: (?i)\bexif_(imagetype|t(humbnail|agname)|read_data)(?=\s*\() |
| 648 | 646 | - name: support.function.fdf.php |
| 649 | | match: (?i)\bfdf_(header|s(et_(s(tatus|ubmit_form_action)|target_frame|o(n_import_javascript|pt)|javascript_action|encoding|v(ersion|alue)|f(ile|lags)|ap)|ave(_string)?)|next_field_name|c(lose|reate)|open(_string)?|e(num_values|rr(no|or))|add_(template|doc_javascript)|remove_item|get_(status|opt|encoding|v(ersion|alue)|f(ile|lags)|a(ttachment|p)))\b(?=\s*\() |
| 647 | match: (?i)\bfdf_(header|s(et_(s(tatus|ubmit_form_action)|target_frame|o(n_import_javascript|pt)|javascript_action|encoding|v(ersion|alue)|f(ile|lags)|ap)|ave(_string)?)|next_field_name|c(lose|reate)|open(_string)?|e(num_values|rr(no|or))|add_(template|doc_javascript)|remove_item|get_(status|opt|encoding|v(ersion|alue)|f(ile|lags)|a(ttachment|p)))(?=\s*\() |
| 650 | 648 | - name: support.function.file.php |
| 651 | | match: (?i)\b(sys_get_temp_dir|copy|t(empnam|mpfile)|u(nlink|mask)|p(close|open)|f(s(canf|tat|eek)|nmatch|close|t(ell|runcate)|ile(_(put_contents|get_contents))?|open|p(ut(s|csv)|assthru)|eof|flush|write|lock|read|get(s(s)?|c(sv)?))|r(e(name|a(dfile|lpath)|wind)|mdir)|g(z(seek|close|tell|eof|p(uts|assthru)|write|re(ad|wind)|get(s(s)?|c))|et_meta_tags)|bz(close|flush|write)|mkdir)\b(?=\s*\() |
| 649 | match: (?i)\b(sys_get_temp_dir|copy|t(empnam|mpfile)|u(nlink|mask)|p(close|open)|f(s(canf|tat|eek)|nmatch|close|t(ell|runcate)|ile(_(put_contents|get_contents))?|open|p(utcsv|assthru)|eof|flush|write|lock|read|get(s(s)?|c(sv)?))|r(e(name|a(dfile|lpath)|wind)|mdir)|get_meta_tags|mkdir)(?=\s*\() |
| 652 | 650 | - name: support.function.filestat.php |
| 653 | | match: (?i)\b(stat|c(h(own|grp|mod)|learstatcache)|is_(dir|executable|file|link|writ(eable|able)|readable)|touch|disk(_(total_space|free_space)|freespace)|file(size|ctime|type|inode|owner|_exists|perms|atime|group|mtime)|l(stat|chgrp))\b(?=\s*\() |
| 651 | match: (?i)\b(stat|c(h(own|grp|mod)|learstatcache)|is_(dir|executable|file|link|writable|readable)|touch|disk_(total_space|free_space)|file(size|ctime|type|inode|owner|_exists|perms|atime|group|mtime)|l(stat|chgrp))(?=\s*\() |
| 654 | 652 | - name: support.function.filter.php |
| 655 | | match: (?i)\bfilter_(has_var|input(_array)?|var(_array)?)\b(?=\s*\() |
| 653 | match: (?i)\bfilter_(has_var|input(_array)?|var(_array)?)(?=\s*\() |
| 656 | 654 | - name: support.function.formatted_print.php |
| 657 | | match: (?i)\b(sprintf|printf|v(sprintf|printf|fprintf)|fprintf)\b(?=\s*\() |
| 655 | match: (?i)\b(sprintf|printf|v(sprintf|printf|fprintf)|fprintf)(?=\s*\() |
| 658 | 656 | - name: support.function.fsock.php |
| 659 | | match: (?i)\b(pfsockopen|fsockopen)\b(?=\s*\() |
| 657 | match: (?i)\b(pfsockopen|fsockopen)(?=\s*\() |
| 660 | 658 | - name: support.function.ftok.php |
| 661 | | match: (?i)\bftok\b(?=\s*\() |
| 659 | match: (?i)\bftok(?=\s*\() |
| 662 | 660 | - name: support.function.gd.php |
| 663 | | match: (?i)\b(image(s(y|tring(up)?|et(style|t(hickness|ile)|pixel|brush)|avealpha|x)|c(har(up)?|o(nvolution|py(res(ized|ampled)|merge(gray)?)?|lor(s(total|et|forindex)|closest(hwb|alpha)?|transparent|deallocate|exact(alpha)?|a(t|llocate(alpha)?)|resolve(alpha)?|match))|reate(truecolor|from(string|jpeg|png|wbmp|g(if|d(2(part)?)?)|x(pm|bm)))?)|2wbmp|t(ypes|tf(text|bbox)|ruecolortopalette)|i(struecolor|nterlace)|d(estroy|ashedline)|jpeg|ellipse|p(s(slantfont|copyfont|text|e(ncodefont|xtendfont)|freefont|loadfont|bbox)|ng|olygon|alettecopy)|f(t(text|bbox)|il(ter|l(toborder|ed(polygon|ellipse|arc|rectangle))?)|ont(height|width))|wbmp|a(ntialias|lphablending|rc)|l(ine|oadfont|ayereffect)|g(if|d(2)?|ammacorrect)|r(otate|ectangle)|xbm)|jpeg2wbmp|png2wbmp|gd_info)\b(?=\s*\() |
| 661 | match: (?i)\b(image(s(y|tring(up)?|et(style|t(hickness|ile)|pixel|brush)|avealpha|x)|c(har(up)?|o(nvolution|py(res(ized|ampled)|merge(gray)?)?|lor(s(total|et|forindex)|closest(hwb|alpha)?|transparent|deallocate|exact(alpha)?|a(t|llocate(alpha)?)|resolve(alpha)?|match))|reate(truecolor|from(string|jpeg|png|wbmp|g(if|d(2(part)?)?)|x(pm|bm)))?)|2wbmp|t(ypes|tf(text|bbox)|ruecolortopalette)|i(struecolor|nterlace)|d(estroy|ashedline)|jpeg|ellipse|p(s(slantfont|copyfont|text|e(ncodefont|xtendfont)|freefont|loadfont|bbox)|ng|olygon|alettecopy)|f(t(text|bbox)|il(ter|l(toborder|ed(polygon|ellipse|arc|rectangle))?)|ont(height|width))|wbmp|a(ntialias|lphablending|rc)|l(ine|oadfont|ayereffect)|r(otate|ectangle)|g(if|d(2)?|ammacorrect|rab(screen|window))|xbm)|jpeg2wbmp|png2wbmp|gd_info)(?=\s*\() |
| 664 | 662 | - name: support.function.gettext.php |
| 665 | | match: (?i)\b(ngettext|textdomain|d(ngettext|c(ngettext|gettext)|gettext)|gettext|bind(textdomain|_textdomain_codeset))\b(?=\s*\() |
| 663 | match: (?i)\b(ngettext|textdomain|d(ngettext|c(ngettext|gettext)|gettext)|gettext|bind(textdomain|_textdomain_codeset))(?=\s*\() |
| 666 | 664 | - name: support.function.gmp.php |
| 667 | | match: (?i)\bgmp_(hamdist|s(can(1|0)|ign|trval|ub|etbit|qrt(rem)?)|c(om|lrbit|mp)|ne(g|xtprime)|in(tval|it|vert)|or|div(_(q(r)?|r)|exact)|jacobi|p(o(pcount|w(m)?)|erfect_square|rob_prime)|fact|legendre|a(nd|dd|bs)|random|gcd(ext)?|xor|m(od|ul))\b(?=\s*\() |
| 665 | match: (?i)\bgmp_(hamdist|s(can(1|0)|ign|trval|ub|etbit|qrt(rem)?)|c(om|lrbit|mp)|ne(g|xtprime)|in(tval|it|vert)|or|div(_(q(r)?|r)|exact)|jacobi|p(o(pcount|w(m)?)|erfect_square|rob_prime)|fact|legendre|a(nd|dd|bs)|random|gcd(ext)?|xor|m(od|ul))(?=\s*\() |
| 668 | 666 | - name: support.function.hash.php |
| 669 | | match: (?i)\bhash(_(hmac(_file)?|init|update(_(stream|file))?|fi(nal|le)|algos))?\b(?=\s*\() |
| 667 | match: (?i)\bhash(_(hmac(_file)?|init|update(_(stream|file))?|fi(nal|le)|algos))?(?=\s*\() |
| 670 | 668 | - name: support.function.hash_md.php |
| 671 | | match: (?i)\bmd5(_file)?\b(?=\s*\() |
| 669 | match: (?i)\bmd5(_file)?(?=\s*\() |
| 672 | 670 | - name: support.function.hash_sha.php |
| 673 | | match: (?i)\bsha1(_file)?\b(?=\s*\() |
| 671 | match: (?i)\bsha1(_file)?(?=\s*\() |
| 674 | 672 | - name: support.function.head.php |
| 675 | | match: (?i)\b(set(cookie|rawcookie)|header(s_(sent|list))?)\b(?=\s*\() |
| 673 | match: (?i)\b(set(cookie|rawcookie)|header(s_(sent|list))?)(?=\s*\() |
| 676 | 674 | - name: support.function.html.php |
| 677 | | match: (?i)\b(html(specialchars(_decode)?|_entity_decode|entities)|get_html_translation_table)\b(?=\s*\() |
| 675 | match: (?i)\b(html(specialchars(_decode)?|_entity_decode|entities)|get_html_translation_table)(?=\s*\() |
| 678 | 676 | - name: support.function.http.php |
| 679 | | match: (?i)\bhttp_build_query\b(?=\s*\() |
| 677 | match: (?i)\bhttp_build_query(?=\s*\() |
| 680 | 678 | - name: support.function.ibase_blobs.php |
| 681 | | match: (?i)\b(ibase_blob_(c(ancel|lose|reate)|i(nfo|mport)|open|echo|add|get)|fbird_blob_(c(ancel|lose|reate)|i(nfo|mport)|open|echo|add|get))\b(?=\s*\() |
| 679 | match: (?i)\bibase_blob_(c(ancel|lose|reate)|i(nfo|mport)|open|echo|add|get)(?=\s*\() |
| 682 | 680 | - name: support.function.ibase_events.php |
| 683 | | match: (?i)\b(ibase_(set_event_handler|free_event_handler|wait_event)|fbird_(set_event_handler|free_event_handler|wait_event))\b(?=\s*\() |
| 681 | match: (?i)\bibase_(set_event_handler|free_event_handler|wait_event)(?=\s*\() |
| 684 | 682 | - name: support.function.ibase_query.php |
| 685 | | match: (?i)\b(ibase_(n(um_(params|fields|rows)|ame_result)|execute|p(aram_info|repare)|f(ield_info|etch_(object|assoc|row)|ree_(query|result))|query|affected_rows)|fbird_(n(um_(params|fields|rows)|ame_result)|execute|p(aram_info|repare)|query|f(ield_info|etch_(object|assoc|row)|ree_(query|result))|affected_rows))\b(?=\s*\() |
| 683 | match: (?i)\bibase_(n(um_(params|fields|rows)|ame_result)|execute|p(aram_info|repare)|f(ield_info|etch_(object|assoc|row)|ree_(query|result))|query|affected_rows)(?=\s*\() |
| 686 | 684 | - name: support.function.ibase_service.php |
| 687 | | match: (?i)\b(ibase_(serv(ice_(detach|attach)|er_info)|d(elete_user|b_info)|add_user|restore|backup|m(odify_user|aintain_db))|fbird_(serv(ice_(detach|attach)|er_info)|d(elete_user|b_info)|add_user|restore|backup|m(odify_user|aintain_db)))\b(?=\s*\() |
| 685 | match: (?i)\bibase_(serv(ice_(detach|attach)|er_info)|d(elete_user|b_info)|add_user|restore|backup|m(odify_user|aintain_db))(?=\s*\() |
| 688 | 686 | - name: support.function.iconv.php |
| 689 | | match: (?i)\b(iconv(_(s(tr(pos|len|rpos)|ubstr|et_encoding)|get_encoding|mime_(decode(_headers)?|encode)))?|ob_iconv_handler)\b(?=\s*\() |
| 687 | match: (?i)\b(iconv(_(s(tr(pos|len|rpos)|ubstr|et_encoding)|get_encoding|mime_(decode(_headers)?|encode)))?|ob_iconv_handler)(?=\s*\() |
| 690 | 688 | - name: support.function.image.php |
| 691 | | match: (?i)\b(image_type_to_(extension|mime_type)|getimagesize)\b(?=\s*\() |
| 689 | match: (?i)\b(image_type_to_(extension|mime_type)|getimagesize)(?=\s*\() |
| 692 | 690 | - name: support.function.info.php |
| 693 | | match: (?i)\b(zend_logo_guid|php(credits|info|_(sapi_name|ini_scanned_files|uname|egg_logo_guid|logo_guid|real_logo_guid)|version))\b(?=\s*\() |
| 691 | match: (?i)\b(zend_logo_guid|php(credits|info|_(sapi_name|ini_scanned_files|uname|egg_logo_guid|logo_guid|real_logo_guid)|version))(?=\s*\() |
| 694 | 692 | - name: support.function.interbase.php |
| 695 | | match: (?i)\b(ibase_(c(o(nnect|mmit(_ret)?)|lose)|trans|drop_db|pconnect|err(code|msg)|gen_id|rollback(_ret)?)|fbird_(c(o(nnect|mmit(_ret)?)|lose)|trans|drop_db|pconnect|err(code|msg)|gen_id|rollback(_ret)?))\b(?=\s*\() |
| 693 | match: (?i)\bibase_(c(o(nnect|mmit(_ret)?)|lose)|trans|drop_db|pconnect|err(code|msg)|gen_id|rollback(_ret)?)(?=\s*\() |
| 696 | 694 | - name: support.function.interface.php |
| 697 | | match: (?i)\bcurl_(setopt(_array)?|c(opy_handle|lose)|init|e(rr(no|or)|xec)|version|getinfo)\b(?=\s*\() |
| 695 | match: (?i)\bcurl_(setopt(_array)?|c(opy_handle|lose)|init|e(rr(no|or)|xec)|version|getinfo)(?=\s*\() |
| 698 | 696 | - name: support.function.iptc.php |
| 699 | | match: (?i)\biptc(parse|embed)\b(?=\s*\() |
| 697 | match: (?i)\biptc(parse|embed)(?=\s*\() |
| 698 | - name: support.function.json.php |
| 699 | match: (?i)\bjson_(decode|encode)(?=\s*\() |
| 700 | 700 | - name: support.function.lcg.php |
| 701 | | match: (?i)\blcg_value\b(?=\s*\() |
| 701 | match: (?i)\blcg_value(?=\s*\() |
| 702 | 702 | - name: support.function.ldap.php |
| 703 | | match: (?i)\bldap_(s(tart_tls|ort|e(t_(option|rebind_proc)|arch)|asl_bind)|next_(entry|attribute|reference)|c(o(nnect|unt_entries|mpare)|lose)|t61_to_8859|8859_to_t61|d(n2ufn|elete)|unbind|parse_re(sult|ference)|e(rr(no|2str|or)|xplode_dn)|f(irst_(entry|attribute|reference)|ree_result)|add|list|get_(option|dn|entries|values(_len)?|attributes)|re(name|ad)|mod(ify|_(del|add|replace))|bind)\b(?=\s*\() |
| 703 | match: (?i)\bldap_(s(tart_tls|ort|e(t_(option|rebind_proc)|arch)|asl_bind)|next_(entry|attribute|reference)|co(nnect|unt_entries|mpare)|t61_to_8859|8859_to_t61|d(n2ufn|elete)|unbind|parse_re(sult|ference)|e(rr(no|2str|or)|xplode_dn)|f(irst_(entry|attribute|reference)|ree_result)|add|list|get_(option|dn|entries|values_len|attributes)|re(name|ad)|mod_(del|add|replace)|bind)(?=\s*\() |
| 704 | 704 | - name: support.function.levenshtein.php |
| 705 | | match: (?i)\blevenshtein\b(?=\s*\() |
| 705 | match: (?i)\blevenshtein(?=\s*\() |
| 706 | 706 | - name: support.function.libxml.php |
| 707 | | match: (?i)\blibxml_(set_streams_context|clear_errors|use_internal_errors|get_(errors|last_error))\b(?=\s*\() |
| 707 | match: (?i)\blibxml_(set_streams_context|clear_errors|use_internal_errors|get_(errors|last_error))(?=\s*\() |
| 708 | 708 | - name: support.function.link.php |
| 709 | | match: (?i)\b(symlink|link(info)?|readlink)\b(?=\s*\() |
| 709 | match: (?i)\b(symlink|link(info)?|readlink)(?=\s*\() |
| 710 | 710 | - name: support.function.mail.php |
| 711 | | match: (?i)\b(ezmlm_hash|mail)\b(?=\s*\() |
| 711 | match: (?i)\b(ezmlm_hash|mail)(?=\s*\() |
| 712 | 712 | - name: support.function.main.php |
| 713 | | match: (?i)\bset_time_limit\b(?=\s*\() |
| 713 | match: (?i)\bset_time_limit(?=\s*\() |
| 714 | 714 | - name: support.function.math.php |
| 715 | | match: (?i)\b(h(ypot|exdec)|s(in(h)?|qrt)|number_format|c(os(h)?|eil)|is_(nan|infinite|finite)|tan(h)?|octdec|de(c(hex|oct|bin)|g2rad)|exp(m1)?|p(i|ow)|f(loor|mod)|log(1(p|0))?|a(sin(h)?|cos(h)?|tan(h|2)?|bs)|r(ound|ad2deg)|b(indec|ase_convert))\b(?=\s*\() |
| 715 | match: (?i)\b(h(ypot|exdec)|s(in(h)?|qrt)|number_format|c(os(h)?|eil)|is_(nan|infinite|finite)|tan(h)?|octdec|de(c(hex|oct|bin)|g2rad)|exp(m1)?|p(i|ow)|f(loor|mod)|log(1(p|0))?|a(sin(h)?|cos(h)?|tan(h|2)?|bs)|r(ound|ad2deg)|b(indec|ase_convert))(?=\s*\() |
| 716 | 716 | - name: support.function.mbstring.php |
| 717 | | match: (?i)\bmb_(s(tr(str|cut|to(upper|lower)|i(str|pos|mwidth)|pos|width|len|r(chr|i(chr|pos)|pos))|ubst(itute_character|r(_count)?)|end_mail)|http_(input|output)|c(heck_encoding|onvert_(case|encoding|variables|kana))|internal_encoding|output_handler|de(code_(numericentity|mimeheader)|tect_(order|encoding))|encode_(numericentity|mimeheader)|p(arse_str|referred_mime_name)|l(ist_(encodings(_alias_names)?|mime_names)|anguage)|get_info)\b(?=\s*\() |
| 717 | match: (?i)\bmb_(s(tr(str|cut|to(upper|lower)|i(str|pos|mwidth)|pos|width|len|r(chr|i(chr|pos)|pos))|ubst(itute_character|r(_count)?)|end_mail)|http_(input|output)|c(heck_encoding|onvert_(case|encoding|variables|kana))|internal_encoding|output_handler|de(code_(numericentity|mimeheader)|tect_(order|encoding))|encode_(numericentity|mimeheader)|p(arse_str|referred_mime_name)|l(ist_(encodings(_alias_names)? |