Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:64014 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 24105 invoked from network); 21 Nov 2012 07:16:12 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Nov 2012 07:16:12 -0000 Authentication-Results: pb1.pair.com header.from=adam@adamharvey.name; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=adam@adamharvey.name; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain adamharvey.name designates 209.85.214.170 as permitted sender) X-PHP-List-Original-Sender: adam@adamharvey.name X-Host-Fingerprint: 209.85.214.170 mail-ob0-f170.google.com Received: from [209.85.214.170] ([209.85.214.170:37286] helo=mail-ob0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 77/E5-20662-ABF7CA05 for ; Wed, 21 Nov 2012 02:16:11 -0500 Received: by mail-ob0-f170.google.com with SMTP id wp18so7121276obc.29 for ; Tue, 20 Nov 2012 23:16:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adamharvey.name; s=google; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=g7t0qwKsCw2NmUzhioVvwIutFqDRkGsIODFzDEnB46g=; b=g60seTWQnC1BZrYQtR1ZPuO5bZnBosUBM6rWmfQOSdoEqtwdYmI1jxxrlzFvTMiBK8 GHKtgcYxsPD3FiT10+0LQNiYXaifi88ljBgRWOYaCYSz+/qS7mvBhOR2gf/NIvJVqfu+ r2jdt9QoRNyTXfyMwiqvZ+PqotSHU4Imq7xOU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :x-gm-message-state; bh=g7t0qwKsCw2NmUzhioVvwIutFqDRkGsIODFzDEnB46g=; b=NqGncdPnFSDUc+jfyF46dwhYg8rjUrq8xdOLOFUC+/NIH9mWPZTnKMzKY6RmhbOns+ TBzuTUPZwCnBSgzZr+UgBkALvp3vttflden8XXSsdjZCei5dEFjg5a6NhFd9P1DtVQXY CoKaHK61y5snzsg4v2ttzVkOqy+fsE06FQ9ehrKKEUuE6YqRUk5yPbVeGwkta59FMOs9 fNMljupBTExQ1Aoo6gbE1VkdSCylLoaF0EDqTfVLg1Pvey+JfEpI3g/QatrAKdMVu6Z2 92NFPmV/U05GVr8fWvcZqnXHqePVT00/Y5uLuy11R/xqNnWdz5BUYB7WvNW6wYhISGbU 9mcA== Received: by 10.60.13.138 with SMTP id h10mr3434222oec.65.1353482167172; Tue, 20 Nov 2012 23:16:07 -0800 (PST) MIME-Version: 1.0 Sender: adam@adamharvey.name Received: by 10.76.123.75 with HTTP; Tue, 20 Nov 2012 23:15:46 -0800 (PST) In-Reply-To: <50AC75EE.60100@sugarcrm.com> References: <23CB37F5-E956-4A5C-8ECC-7CF347A9086C@roshambo.org> <50AC6A7A.6030504@sugarcrm.com> <50AC75EE.60100@sugarcrm.com> Date: Wed, 21 Nov 2012 15:15:46 +0800 X-Google-Sender-Auth: Zn2yeXdiHQu0P_mZg-15zhLdyTI Message-ID: To: Stas Malyshev Cc: Philip Olson , PHP Developers Mailing List Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQnAhbgnBmb5AQkkHjDzZGckZPZOxtSuTAzIjtbVgQu/0t9nLMMPUUN5Ckmfkm6b098UiR48 Subject: Re: [PHP-DEV] Where did the _logo_ functions go? From: aharvey@php.net (Adam Harvey) On 21 November 2012 14:34, Stas Malyshev wrote: >> it doesn't suit us to. I agree: in practice, I can't imagine anyone >> caring a jot about these functions being removed, but we've said that >> when we're going to remove something, we'll deprecate for a minor >> release, then remove. Why don't we live up to it? > > Exactly because in practice it is not important. Actually, I'm going to retract my statement, and here's why: http://svn.wp-plugins.org/praized-community/trunk/includes/php/praized-php/PraizedCipher.php Let's set aside that this is terribly misguided code[0]. If that was a good enough reason to remove functionality willy-nilly, I could have saved myself a lot of e-mails on the ext/mysql front. But (to my horror) users are actually using php_logo_guid() in the wild. I haven't searched for the other functions, but I assume there are cases where they're used too. And it's not just one WordPress plugin. Nanoweb[1] calls php_logo_guid() on its demo page[2]. ErfurtWiki[3] has a similar demo page[4]. There are other projects of dubious provenance on Ohloh that call it too. It may only be a handful of projects, none of which any of us have probably ever heard of, or will ever hear a complaint from, but I bet those projects are important to their creators. > Rules are important, but it is also important to not lose the sight of > the goal - why these rules exist and when they make sense. The rules are there to protect developers from having functions dropped out from under them without warning. I don't see the problem with reverting this on the 5.5 branch only, adding E_DEPRECATED warnings to the appropriate places, and making the first item in the master UPGRADING guide for 5.6 be that these functions were removed. Adam [0] Hell, it won't even "decrypt" or "encrypt" properly on April 1, which is entertaining. [1] "The PHP Web Server": http://nanoweb.si.kz/ [2] http://nanoweb-instant.googlecode.com/svn/trunk/www/vhosts/www.cgidemo.com/index.php [3] http://sourceforge.net/projects/erfurtwiki/ [4] https://erfurtwiki.svn.sourceforge.net/svnroot/erfurtwiki/trunk/ewiki/examples/zendwiki.php