DocsLanguagePHPConsole log This function prints to the terminal in a vanilla php website function console_log($message) { $STDERR = fopen("php://stderr", "w"); fwrite($STDERR, "\n" . $message . "\n\n"); fclose($STDERR); }