stripcslashes
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Un-quote string quoted with addcslashes()
stripcslashes
(
string $string
):
string
statamic/cms
foreach (
$this
->
files
->
allFiles
(
$this
->
paths
) as
$file
) {
if (
preg_match_all
(
'/'
.
$this
->
methodRegex
().
'/imu'
,
$file
->
getContents
(),
$matches
)) {
foreach (
$matches
[
2
] as
$match
) {
$strings
[] =
trim
(
stripcslashes
(
$match
));
}
}
src/Translator/MethodDiscovery.php
statamic/cms
if (
preg_match_all
(
'/'
.
$this
->
annotatedReturnRegex
().
'/imu'
,
$file
->
getContents
(),
$matches
)) {
foreach (
$matches
[
2
] as
$match
) {
$strings
[] =
trim
(
stripcslashes
(
$match
));
}
}
}
src/Translator/MethodDiscovery.php