I'm using the following technique to store my database password and such: http://laravel.com/docs/configuration#protecting-sensitive-configuration
These special variables however, are interpreted as Environmental Variables and therefore included in stack-traces. Displaying sensitive information in stack traces like that, should not happen, right?
Even in production it might sometimes be useful to temporarily enable debug mode for bugtracing purposes. But in this case the database password is compromised instantly.