Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:94746 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 26394 invoked from network); 29 Jul 2016 14:26:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Jul 2016 14:26:23 -0000 Authentication-Results: pb1.pair.com smtp.mail=david.proweb@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=david.proweb@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.195 as permitted sender) X-PHP-List-Original-Sender: david.proweb@gmail.com X-Host-Fingerprint: 209.85.220.195 mail-qk0-f195.google.com Received: from [209.85.220.195] ([209.85.220.195:34316] helo=mail-qk0-f195.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 50/B0-22810-E876B975 for ; Fri, 29 Jul 2016 10:26:22 -0400 Received: by mail-qk0-f195.google.com with SMTP id s186so956858qkb.1 for ; Fri, 29 Jul 2016 07:26:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=zlkQgDelA+b3wt1zWprBqDrw13gUMQEd36z/um6Ivmg=; b=Y3CmuAm2U9Zj0DtFEyfL+/wU2WzPZqNd+mZ0GTvMv8CeNfvMr5wvLSIGCQU5ngpiO7 gaMZzK2LIou0sCkdkPPCb8ANVfwuhSffYm0DIRTmcdNNBSj6MqbrWl2DPydAMCS43lje uyIDEjAiE5g0OOF4WX0gdovF/HuRsJFQ0WJD/8394zKoRyoa7/9XzAtQu7tHK8EMvvL2 3rLVeSHGP4VOdtPCOZpntgYz+TlaPULuHRrj8/18ME4X920yhhRF6/oi4hU/Xh8nj89m CZmKm4Z1QlGvum/ykhHy8hFY///lFvOJwZwk4LxlEWdcB4qTFJSR7mkxd3QjYMH9Byrp ibSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=zlkQgDelA+b3wt1zWprBqDrw13gUMQEd36z/um6Ivmg=; b=ivzvWYY9DMi9T4gLaj/i02qd1QvxavnU5KexBAG5MVy58M5Ja89RK6pQikg3aWYAPU xl5dMO76n0/c8Yn1SpKW0cDNBGCRoHkXA3nBOGVR/ugoaySoLpc5m/6orjFTdVuli/uz gx2WD0Io5ZziSgkjRbLlUt+oyydIQMJnvbVu3q1h650IXT31kd/8N8r/tvPltLRYL9N3 BHYbzJ3VpFIr0UoP9hklWbFTGMrf1CJxZS4CCWhtoUPJLaep8ERdJ+t3hMMtAYY9ep4N lT/s4HcSdl+w2VQmLVnYaeEsGlNguQXb+HMSRPdHsEW+rXaV2Iq4Ub0hpkPRDsizXN01 OA5g== X-Gm-Message-State: AEkoouvhMPAu/dR/TXu7iLsMIjVI5ibibZN3wR7sB8fMWl3pJcXl/GYlPgapJ8ErzKVoB+28kOcA1F8eGqc/7g== X-Received: by 10.55.100.4 with SMTP id y4mr2643014qkb.162.1469802380117; Fri, 29 Jul 2016 07:26:20 -0700 (PDT) MIME-Version: 1.0 Received: by 10.55.45.67 with HTTP; Fri, 29 Jul 2016 07:26:00 -0700 (PDT) In-Reply-To: References: Date: Fri, 29 Jul 2016 11:26:00 -0300 Message-ID: To: Niklas Keller Cc: Ryan Pallas , Timothy Younger , "internals@lists.php.net" Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] optionally return class name from gettype From: david.proweb@gmail.com (David Rodrigues) Niklas Keller wrote: > I don't think it does require a RFC, it's not a language change. Let's see > if anyone opposes first. I agree to, if the internals agree, I guess that RFC is needless. Niklas Keller wrote: > I'm not sure on the boolean through, I think a new function might be better. In this point I desagree. I think that boolean is the best way, mainly to avoid a new function on userland. It's like an "extension" for gettype(), and make senses just extend it. 2016-07-29 11:21 GMT-03:00 Niklas Keller : > 2016-07-29 16:03 GMT+02:00 Ryan Pallas : > >> I love this idea (as I've written much the same code before), I do think it >> will require a full RFC though. >> > > I don't think it does require a RFC, it's not a language change. Let's see > if anyone opposes first. > > I'm not sure on the boolean through, I think a new function might be better. > > It's something that can be implemented in userland, but it's also something > that's really often needed. > > Regards, Niklas -- David Rodrigues