Skip to content

Commit 404db1a

Browse files
committed
Merge branch '6.4' into 7.3
* 6.4: [ExpressionLanguage] Fix backslashes count
2 parents 5e9f068 + b998a55 commit 404db1a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reference/formats/expression_language.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ This also works with class constants::
171171
}
172172

173173
var_dump($expressionLanguage->evaluate(
174-
'constant("App\\\SomeNamespace\\\Foo::API_ENDPOINT")'
174+
'constant("App\\\\SomeNamespace\\\\Foo::API_ENDPOINT")'
175175
));
176176

177177
This will print out ``/api``.
@@ -189,7 +189,7 @@ This function will return the case of an enumeration::
189189
}
190190

191191
var_dump(App\Enum\Foo::Bar === $expressionLanguage->evaluate(
192-
'enum("App\\\SomeNamespace\\\Foo::Bar")'
192+
'enum("App\\\\SomeNamespace\\\\Foo::Bar")'
193193
));
194194

195195
This will print out ``true``.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy