someTypeHint() Array Count: 3 Date: 2026-11-21 Callable Return: Callback Return someTypeHint(): Argument #1 ($a) must be of type array, string given, called in /var/www/html/php7cookbook/source/chapter03/chap_03_developing_functions_with_hints.php on line 14 someScalarHint() Boolean : TRUE Integer : 11 Float : 22.22 String : This is a string someScalarHint(): Argument #2 ($i) must be of type int, string given, called in /var/www/html/php7cookbook/source/chapter03/chap_03_developing_functions_with_hints.php on line 25 someBooleanHint()
/var/www/html/php7cookbook/source/chapter03/chap_03_developing_functions_with_hints.php:39:boolean true
/var/www/html/php7cookbook/source/chapter03/chap_03_developing_functions_with_hints.php:39:boolean true
/var/www/html/php7cookbook/source/chapter03/chap_03_developing_functions_with_hints.php:39:boolean true
/var/www/html/php7cookbook/source/chapter03/chap_03_developing_functions_with_hints.php:39:boolean true
/var/www/html/php7cookbook/source/chapter03/chap_03_developing_functions_with_hints.php:46:boolean false
/var/www/html/php7cookbook/source/chapter03/chap_03_developing_functions_with_hints.php:46:boolean false
/var/www/html/php7cookbook/source/chapter03/chap_03_developing_functions_with_hints.php:46:boolean false
/var/www/html/php7cookbook/source/chapter03/chap_03_developing_functions_with_hints.php:46:boolean false
someBooleanHint()
( ! ) Fatal error: Uncaught Error: Call to undefined function someBooleanHint() in /var/www/html/php7cookbook/source/chapter03/chap_03_developing_functions_with_hints.php on line 56
( ! ) Error: Call to undefined function someBooleanHint() in /var/www/html/php7cookbook/source/chapter03/chap_03_developing_functions_with_hints.php on line 56
Call Stack
#TimeMemoryFunctionLocation
10.0002359392{main}().../chap_03_developing_functions_with_hints.php:0
20.0005360352someTypeHint().../chap_03_developing_functions_with_hints.php:14