Open Giorgiolino opened 4 years ago
The getclass($data) call should be rewritten to get_class($data) (cf. https://www.php.net/get-class). The get_type($data) call should be rewritten to gettype($data) (cf. https://www.php.net/gettype)
getclass($data)
get_class($data)
get_type($data)
gettype($data)
Otherwise, it would result in the following Fatal Error (for getclass) PHP Fatal error: Uncaught Error: Call to undefined function getclass()
PHP Fatal error: Uncaught Error: Call to undefined function getclass()
The
getclass($data)
call should be rewritten toget_class($data)
(cf. https://www.php.net/get-class). Theget_type($data)
call should be rewritten togettype($data)
(cf. https://www.php.net/gettype)Otherwise, it would result in the following Fatal Error (for getclass)
PHP Fatal error: Uncaught Error: Call to undefined function getclass()