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 falsesomeBooleanHint()
| ( ! ) 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 | ||||
| # | Time | Memory | Function | Location |
| 1 | 0.0002 | 359392 | {main}() | .../chap_03_developing_functions_with_hints.php:0 |
| 2 | 0.0005 | 360352 | someTypeHint() | .../chap_03_developing_functions_with_hints.php:14 |