diff --git a/language/types/string.xml b/language/types/string.xml index 84c3199686..b377d2ee52 100644 --- a/language/types/string.xml +++ b/language/types/string.xml @@ -649,10 +649,41 @@ echo "I'd like to have another {${ strrev('reeb') }}, hips"; - Functions and method calls inside {$} work since PHP 5. + Functions, method calls, static class variables, and class + constants inside {$} work since PHP + 5. However, the value accessed will be interpreted as the name + of a variable in the scope in which the string is defined. Using + single curly braces ({}) will not work for + accessing the return values of functions or methods or the + values of class constants or static class variables. + + + +]]> + + +