src/AString.php 1 location
|
@@ 144-146 (lines=3) @@
|
141 |
|
self::C_STYLE => 'addcslashes', |
142 |
|
self::META => 'quotemeta', |
143 |
|
]; |
144 |
|
if ($flags === self::C_STYLE) { |
145 |
|
return new self(\call_user_func($flagsmap[$flags], $this->raw, $charlist)); |
146 |
|
} |
147 |
|
return new self(\call_user_func($flagsmap[$flags], $this->raw)); |
148 |
|
} |
149 |
|
|
src/AStringBuilder.php 1 location
|
@@ 30-33 (lines=4) @@
|
27 |
|
self::C_STYLE => 'addcslashes', |
28 |
|
self::META => 'quotemeta', |
29 |
|
]; |
30 |
|
if ($flags === self::C_STYLE) { |
31 |
|
$this->raw = \call_user_func($flagsmap[$flags], $this->raw, $charlist); |
32 |
|
return $this; |
33 |
|
} |
34 |
|
$this->raw = \call_user_func($flagsmap[$flags], $this->raw); |
35 |
|
return $this; |
36 |
|
} |