} // END - if
// Construct the full message
- $stubMessage = sprintf("[%s:] Partial stub!",
+ $stubMessage = sprintf('[%s:] Partial stub!',
$methodName
);
// Sorry, there is no other way getting this nice backtrace
if (!empty($message)) {
// Output message
- printf("Message: %s<br />" . chr(10), $message);
+ printf('Message: %s<br />' . chr(10), $message);
} // END - if
print('<pre>');
// Print message
print($message . chr(10));
} else {
- // DO NOT REWRITE THIS TO app_die() !!!
+ /*
+ * BIG FAT NOTE: Do NEVER rewrite this to app_die(), this will
+ * cause an endless loop.
+ */
die($message);
}
}