--- CORRECT USAGE ---
ERROR (4096): Argument 1 passed to test_hh_string() must be an instance of HH\string, string given, called in /in/PC85c on line 38 and defined
==> string(3) "123"
ERROR (4096): Argument 1 passed to test_hh_int() must be an instance of HH\int, integer given, called in /in/PC85c on line 39 and defined
==> int(123)
ERROR (4096): Argument 1 passed to test_hh_float() must be an instance of HH\float, double given, called in /in/PC85c on line 40 and defined
==> float(1.23)
ERROR (4096): Argument 1 passed to test_hh_bool() must be an instance of HH\bool, boolean given, called in /in/PC85c on line 41 and defined
==> bool(true)
object(string)#2 (0) {
}
object(int)#2 (0) {
}
object(float)#2 (0) {
}
object(bool)#2 (0) {
}
--- INCORRECT USAGE ---
ERROR (4096): Argument 1 passed to test_hh_string() must be an instance of HH\string, instance of string given, called in /in/PC85c on line 50 and defined
==> object(string)#2 (0) {
}
ERROR (4096): Argument 1 passed to test_hh_int() must be an instance of HH\int, instance of int given, called in /in/PC85c on line 51 and defined
==> object(int)#2 (0) {
}
ERROR (4096): Argument 1 passed to test_hh_float() must be an instance of HH\float, instance of float given, called in /in/PC85c on line 52 and defined
==> object(float)#2 (0) {
}
ERROR (4096): Argument 1 passed to test_hh_bool() must be an instance of HH\bool, instance of bool given, called in /in/PC85c on line 53 and defined
==> object(bool)#2 (0) {
}
ERROR (4096): Argument 1 passed to test_string() must be an instance of string, string given, called in /in/PC85c on line 55 and defined
==> string(3) "123"
ERROR (4096): Argument 1 passed to test_int() must be an instance of int, integer given, called in /in/PC85c on line 56 and defined
==> int(123)
ERROR (4096): Argument 1 passed to test_float() must be an instance of float, double given, called in /in/PC85c on line 57 and defined
==> float(1.23)
ERROR (4096): Argument 1 passed to test_bool() must be an instance of bool, boolean given, called in /in/PC85c on line 58 and defined
==> bool(true)