Skip to content

Forcing PHP error causes type error if passing a non-string variable to debug.

phpKhelper has an optional functionality to invoke PHP's built-in user-error.

Since phpKhelper's default approach is to pass-on the variable to debug, this can cause a type-error if using this functionality, since the first parameter for this PHP built-in is a string.