Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:6293 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 46838 invoked by uid 1010); 9 Dec 2003 07:48:29 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 46803 invoked from network); 9 Dec 2003 07:48:29 -0000 Received: from unknown (HELO joeysmith.com) (209.197.17.2) by pb1.pair.com with SMTP; 9 Dec 2003 07:48:29 -0000 Received: from joeysmith.com (joey@localhost [127.0.0.1]) by joeysmith.com (8.12.9/8.12.9/Debian-5) with ESMTP id hB97mVWg029394 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 9 Dec 2003 00:48:32 -0700 Received: (from joey@localhost) by joeysmith.com (8.12.9/8.12.9/Debian-5) id hB97mVPR029393 for internals@lists.php.net; Tue, 9 Dec 2003 00:48:31 -0700 Date: Tue, 9 Dec 2003 00:48:31 -0700 Message-ID: <200312090748.hB97mVPR029393@joeysmith.com> To: internals@lists.php.net Subject: Register constants for error_log From: joey@joeysmith.com (Joey Smith) 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