Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:41104 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 12873 invoked from network); 15 Oct 2008 23:20:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Oct 2008 23:20:38 -0000 Authentication-Results: pb1.pair.com smtp.mail=kalle.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=kalle.php@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 72.14.220.157 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: kalle.php@gmail.com X-Host-Fingerprint: 72.14.220.157 fg-out-1718.google.com Received: from [72.14.220.157] ([72.14.220.157:60354] helo=fg-out-1718.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E4/D2-33247-5CA76F84 for ; Wed, 15 Oct 2008 19:20:38 -0400 Received: by fg-out-1718.google.com with SMTP id 16so124588fgg.23 for ; Wed, 15 Oct 2008 16:20:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=uQklp1F8lwy9piZRP7q7iCrM/z0ilma+TzCcwquKALI=; b=peiIDVaCrW5y7qOdNNuPhA2SZXb/ZrvlI1fB0XrXYQXpy/xhTuiXuSQUi38WmWmq9K o0TsrpiE7xJRUdIuvtbZl/8x3+7eG5c6k9EypEf1lsBGgXVMHqq0mL0S1bxcq74Epe2F liv30LG6ZMNgUTuvXqkAEbCNuFfh+8UAKnpmo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=pV83oOhOrkkkeMQY0bbSGzfWewi7SOactovaNbuJUKyYUdfxxlCx41J1iKUH4O4rrt nxgRb880JHTsG0M8CsCc5NIhYoJRgsQ/ERwdevG/vSZM3Ic2xaCwUdS2kTKwFzAaO5yY +u0obeX/y8BEoEYT63SpFmFE88WE96L/vZsus= Received: by 10.187.234.11 with SMTP id l11mr186122far.81.1224112834836; Wed, 15 Oct 2008 16:20:34 -0700 (PDT) Received: by 10.187.218.19 with HTTP; Wed, 15 Oct 2008 16:20:34 -0700 (PDT) Message-ID: <2dedb8a0810151620p2bb0e5cerdcca52d5e6faf622@mail.gmail.com> Date: Thu, 16 Oct 2008 01:20:34 +0200 To: "Lukas Kahwe Smith" Cc: "Markus Fischer" , "PHP Development" In-Reply-To: <6FDD6D0C-CD70-4D52-9AFC-89A76A7D1E19@pooteeweet.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <2dedb8a0810131904x523ffceau26c9ab299baf66fa@mail.gmail.com> <941E2BA9-750D-4ADD-B633-6C63B92A1C6C@pooteeweet.org> <48F498BD.9010704@fischer.name> <6FDD6D0C-CD70-4D52-9AFC-89A76A7D1E19@pooteeweet.org> Subject: Re: [PHP-DEV] Deprecate define_syslog_variables in 5.3 From: kalle.php@gmail.com ("Kalle Sommer Nielsen") Hi 2008/10/14 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. I've removed it from HEAD and added an E_DEPRECATED notice on define_syslog_variables() in 5.3. If you're having define_syslog_variables=On in HEAD, it will result in an E_WARNING just like safe_mode, magic_quotes ect. Docs/wiki are updated aswell. > > regards, > Lukas Kahwe Smith > mls@pooteeweet.org > > > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > regrads -- Kalle Sommer Nielsen