Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:40990 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 75184 invoked from network); 14 Oct 2008 13:27:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Oct 2008 13:27:01 -0000 Authentication-Results: pb1.pair.com header.from=mls@pooteeweet.org; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=mls@pooteeweet.org; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain pooteeweet.org from 88.198.8.16 cause and error) X-PHP-List-Original-Sender: mls@pooteeweet.org X-Host-Fingerprint: 88.198.8.16 bigtime.backendmedia.com Linux 2.6 Received: from [88.198.8.16] ([88.198.8.16:49205] helo=bigtime.backendmedia.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 9A/F1-25867-32E94F84 for ; Tue, 14 Oct 2008 09:27:00 -0400 Received: from localhost (unknown [127.0.0.1]) by bigtime.backendmedia.com (Postfix) with ESMTP id 8F2804144009; Tue, 14 Oct 2008 13:28:23 +0000 (UTC) X-Virus-Scanned: amavisd-new at backendmedia.com Received: from bigtime.backendmedia.com ([127.0.0.1]) by localhost (bigtime.backendmedia.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 71SyIGkTRlLa; Tue, 14 Oct 2008 15:28:22 +0200 (CEST) Received: from [192.168.2.2] (gprs01.swisscom-mobile.ch [193.247.250.1]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: mls@pooteeweet.org) by bigtime.backendmedia.com (Postfix) with ESMTP id 8B913414400B; Tue, 14 Oct 2008 15:28:21 +0200 (CEST) Cc: Kalle Sommer Nielsen , PHP Development Message-ID: <6FDD6D0C-CD70-4D52-9AFC-89A76A7D1E19@pooteeweet.org> To: Markus Fischer In-Reply-To: <48F498BD.9010704@fischer.name> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Date: Tue, 14 Oct 2008 15:26:26 +0200 References: <2dedb8a0810131904x523ffceau26c9ab299baf66fa@mail.gmail.com> <941E2BA9-750D-4ADD-B633-6C63B92A1C6C@pooteeweet.org> <48F498BD.9010704@fischer.name> X-Mailer: Apple Mail (2.929.2) Subject: Re: [PHP-DEV] Deprecate define_syslog_variables in 5.3 From: mls@pooteeweet.org (Lukas Kahwe Smith) On 14.10.2008, at 15:03, Markus Fischer wrote: > Hi, > > Lukas Kahwe Smith wrote: >> That being said I never used this function or the constants in my >> code. So is there anyone that does actually use it and has some >> objection? > > Me neither, but in such cases it's probably a good idea to take a > look at code search machines, e.g. > > http://www.google.com/codesearch?as_q=define_syslog_variables&btnG=Search+Code&hl=en&as_lang=php&as_license_restrict=i&as_license=&as_package=&as_filename=&as_case= > right .. and the interesting thing there is that most of the code is using the constants even though it calls the function to define the variables beforehand. the faulty documentation is probably the cause of this. so for the most part people will just need to remove the function call. regards, Lukas Kahwe Smith mls@pooteeweet.org