diff --git a/language/types/callable.xml b/language/types/callable.xml index 577767f514..0add6d3334 100644 --- a/language/types/callable.xml +++ b/language/types/callable.xml @@ -2,7 +2,7 @@ Callbacks / Callables - + Callbacks can be denoted by callable type hint as of PHP 5.4. This documentation used callback type information for the same @@ -23,8 +23,8 @@ A PHP function is passed by its name as a string. Any built-in or user-defined function can be used, except language constructs such as: array, echo, - empty, eval, - exit, isset, + empty, eval, + exit, isset, list, print or unset. @@ -32,7 +32,8 @@ A method of an instantiated object is passed as an array containing an object at index 0 and the - method name at index 1. + method name at index 1. Accessing protected and private methods from + within a class is allowed. @@ -56,7 +57,7 @@ - +