---> Type hints with callback function: 0: Argument 1 passed to f1() must be an instance of A, int given, called in /home/audacit/rpcmontreal.org/php80/tests/classes/type_hinting_004.php on line 12 - /home/audacit/rpcmontreal.org/php80/tests/classes/type_hinting_004.php(5) in f1; 0: Argument 1 passed to f2() must be an instance of A or null, int given, called in /home/audacit/rpcmontreal.org/php80/tests/classes/type_hinting_004.php on line 22 - /home/audacit/rpcmontreal.org/php80/tests/classes/type_hinting_004.php(8) in f2; in f2; in f2; ---> Type hints with callback static method: 0: Argument 1 passed to C::f1() must be an instance of A, int given, called in /home/audacit/rpcmontreal.org/php80/tests/classes/type_hinting_004.php on line 61 - /home/audacit/rpcmontreal.org/php80/tests/classes/type_hinting_004.php(44) in C::f1 (static); 0: Argument 1 passed to C::f2() must be an instance of A or null, int given, called in /home/audacit/rpcmontreal.org/php80/tests/classes/type_hinting_004.php on line 71 - /home/audacit/rpcmontreal.org/php80/tests/classes/type_hinting_004.php(51) in C::f2 (static); in C::f2 (static); in C::f2 (static); ---> Type hints with callback instance method: 0: Argument 1 passed to D::f1() must be an instance of A, int given, called in /home/audacit/rpcmontreal.org/php80/tests/classes/type_hinting_004.php on line 111 - /home/audacit/rpcmontreal.org/php80/tests/classes/type_hinting_004.php(93) in C::f1 (instance); 0: Argument 1 passed to D::f2() must be an instance of A or null, int given, called in /home/audacit/rpcmontreal.org/php80/tests/classes/type_hinting_004.php on line 121 - /home/audacit/rpcmontreal.org/php80/tests/classes/type_hinting_004.php(100) in C::f2 (instance); in C::f2 (instance); in C::f2 (instance);