
---- EXPECTED OUTPUT
---> Type hints with callback function:
0: f1(): Argument #1 ($a) must be of type A, int given%s(%d)

in f1;
0: f2(): Argument #1 ($a) must be of type ?A, int given%s(%d)

in f2;
in f2;
in f2;


---> Type hints with callback static method:
0: C::f1(): Argument #1 ($a) must be of type A, int given%s(%d)

in C::f1 (static);
0: C::f2(): Argument #1 ($a) must be of type ?A, int given%s(%d)

in C::f2 (static);
in C::f2 (static);
in C::f2 (static);


---> Type hints with callback instance method:
0: D::f1(): Argument #1 ($a) must be of type A, int given%s(%d)

in C::f1 (instance);
0: D::f2(): Argument #1 ($a) must be of type ?A, int given%s(%d)

in C::f2 (instance);
in C::f2 (instance);
in C::f2 (instance);
---- ACTUAL OUTPUT
Usage: lsphp
      lsphp -[b|c|n|h|i|q|s|v|?] [<file>] [args...]
  Run in LSAPI mode, only '-b', '-s' and '-c' are effective
  Run in Command Line Interpreter mode when parameters are specified

  -b <address:port>|<port> Bind Path for external LSAPI Server mode
  -c <path>|<file> Look for php.ini file in this directory
  -n    No php.ini file will be used
  -h    This help
  -i    PHP information
  -l    Syntax check
  -q    Quiet-mode.  Suppress HTTP Header output.
  -s    Display colour syntax highlighted source.
  -v    Version number
  -?    This help

  args...    Arguments passed to script.
---- FAILED
