diff --git a/language/types/pseudo-types.xml b/language/types/pseudo-types.xml
index 1314412dc8..77d81e0b89 100644
--- a/language/types/pseudo-types.xml
+++ b/language/types/pseudo-types.xml
@@ -64,7 +64,8 @@
Apart from common user-defined function, create_function
can also be used to create an anonymous callback function. As of PHP 5.3.0
- its possible to also pass a closure to a callback parameter.
+ it is possible to also pass a
+ closure to a callback parameter.
diff --git a/reference/pcre/functions/preg-replace-callback.xml b/reference/pcre/functions/preg-replace-callback.xml
index 79b638ad1f..64ff26d603 100644
--- a/reference/pcre/functions/preg-replace-callback.xml
+++ b/reference/pcre/functions/preg-replace-callback.xml
@@ -48,7 +48,9 @@
You'll often need the callback function
for a preg_replace_callback in just one place.
- In this case you can use create_function to
+ In this case you can use an
+ anonymous function (since
+ PHP 5.3.0) or create_function to
declare an anonymous function as callback within the call to
preg_replace_callback. By doing it this way
you have all information for the call in one place and do not