Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:72129 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 48024 invoked from network); 3 Feb 2014 21:35:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Feb 2014 21:35:07 -0000 Authentication-Results: pb1.pair.com header.from=happy.melon.wiki@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=happy.melon.wiki@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.176 as permitted sender) X-PHP-List-Original-Sender: happy.melon.wiki@gmail.com X-Host-Fingerprint: 209.85.216.176 mail-qc0-f176.google.com Received: from [209.85.216.176] ([209.85.216.176:34214] helo=mail-qc0-f176.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F8/A5-35654-A8B00F25 for ; Mon, 03 Feb 2014 16:35:07 -0500 Received: by mail-qc0-f176.google.com with SMTP id e16so12171526qcx.7 for ; Mon, 03 Feb 2014 13:35:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=FsG1pWSYdbwJwU+gx712DZ7UiMSFUQrJmpX+5HAS9p4=; b=qVH+qH3x161EA6dUALvM5+jw0zd+998bq3gGxa28qOAaLdn2XlRUvvaxSL/m98Mwxk mo3uoXKB8J+kyRI2wGYDZ8uqBZlYxglK7jQ/rv2+3XR7Ci55EXnG8r7/h1PyG8sDOoJV 8MZCb0iZ2OgKacLZZd80Y5iLMEZzhEjUwU1oJVXarSDqlil2hBwonqtE2mgzo4Ioi7wi NsthEZSR3Ojb5c0wJu/Es5FTYwbIoHynQoEitLZhF82gPhWVx3w5bl/4TIjj3zx6FjMY QdYXdFr1fr45/D0lgKI5pMK4McsKNyw3AiP466yv5LksZB4EDwuqYpfIoSLNv5BJsUDn 5nBA== MIME-Version: 1.0 X-Received: by 10.140.34.3 with SMTP id k3mr57244671qgk.15.1391463304038; Mon, 03 Feb 2014 13:35:04 -0800 (PST) Sender: happy.melon.wiki@gmail.com Received: by 10.140.86.72 with HTTP; Mon, 3 Feb 2014 13:35:03 -0800 (PST) In-Reply-To: <52F005E6.6090702@googlemail.com> References: <52F00437.7010903@googlemail.com> <52F005E6.6090702@googlemail.com> Date: Mon, 3 Feb 2014 21:35:03 +0000 X-Google-Sender-Auth: FkhyxK_oKBIIk434GOCM1Wb3sjA Message-ID: To: PHP Developers Mailing List Content-Type: multipart/alternative; boundary=001a11c0b098f48d4404f1874b12 Subject: Re: [PHP-DEV] [RFC] [VOTE] __debugInfo() From: happy.melon.wiki+gb@gmail.com (George Bond) --001a11c0b098f48d4404f1874b12 Content-Type: text/plain; charset=ISO-8859-1 On 3 February 2014 21:11, Crypto Compress wrote: > Meant output of var_dump is unexpected. But that's not a B/C *break*, because users are explicitly instructed not to write functions beginning with double underscores unless they want magic functionality, and since this is *new* magic functionality *no*correctly-constructed code will contain a function named "__debugInfo()". Any old code which does contain such a function is already explicitly standards-defying, and so does not deserve any B/C maintenance. That's the whole point in reserving the whole namespace of double-underscore-prefixed functions for future magic behaviour. The fact that with this function developers can write *new*weird/broken/counter-intuitive code like you write is certainly valid. But it's not a B/C issue. --G --001a11c0b098f48d4404f1874b12--