Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. String_.php

String_::$replacements

@var array<string, string> Escaped character to its decoded value

Type: replacements

File

vendor/nikic/php-parser/lib/PhpParser/Node/Scalar/String_.php, line 19

Class

String_

Namespace

PhpParser\Node\Scalar

Code

protected static array $replacements = [
    '\\' => '\\',
    '$' => '$',
    'n' => "\n",
    'r' => "\r",
    't' => "\t",
    'f' => "\f",
    'v' => "\v",
    'e' => "\x1b",
];

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal