What does the "database" keyword indicate in the function def below? I can't (easily) find documentation for this.
function __construct($arg1, $arg2, database $mysqli = NULL)
What does the "database" keyword indicate in the function def below? I can't (easily) find documentation for this.
function __construct($arg1, $arg2, database $mysqli = NULL)
This is type hinting. It means that the variable, in this case $mysqli
, should meet at least one of the following criteria: