# Register constants for error_log

- Thread: https://externals.io/message/6293
- Original archive: https://news-web.php.net/php.internals/6293
- Started by Joey Smith on 2003-12-09T07:48:31+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #6293 — Joey Smith — 2003-12-09T07:48:31+00:00

URL: https://externals.io/message/6293#6293

It simply ocurred to me that the "magic numbers" being used for the 2nd param
to `error_log()` could just as easily be constants.

Just one possible way:
http://joeysmith.com/~joey/constants.diff
