Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:81513 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 15905 invoked from network); 1 Feb 2015 01:23:53 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Feb 2015 01:23:53 -0000 Authentication-Results: pb1.pair.com header.from=danack@basereality.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=danack@basereality.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain basereality.com from 74.125.82.177 cause and error) X-PHP-List-Original-Sender: danack@basereality.com X-Host-Fingerprint: 74.125.82.177 mail-we0-f177.google.com Received: from [74.125.82.177] ([74.125.82.177:47945] helo=mail-we0-f177.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 24/1A-01632-8208DC45 for ; Sat, 31 Jan 2015 20:23:53 -0500 Received: by mail-we0-f177.google.com with SMTP id l61so33137013wev.8 for ; Sat, 31 Jan 2015 17:23:50 -0800 (PST) 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:date :message-id:subject:from:to:cc:content-type; bh=VCSIUMjbcwh+PjpYjEgf50lBipyldwfKjYYZ3/IcRh0=; b=HLjYiDNbwwmGKZHNB0H/3YF2k0GUyWpRo/zjopelnJWpWKiEbKF5YBydL6dgeI3aiM 3Aogt7u2gL7TAxjkrs578TGFBJc7d72kQ/Q7UytKz5fJrZuGdMtWMAx+pS0DV59gK6mb aanDWAIRQO6wSEkb2LNcKwviwH2GSwUT+Jff2HS3jAIRO3gXnPmF5JYt8Ws/mFtVXleZ wGtZeYViXhEh1LpoAyFf5v5zHSamq2Zd5YOkIJgu0WzVzaRTLeVct7oJ9yTk8UxEBPtY UhfhacX0kb3JI4HtvL+RZXr+wQN3RQ+JHORBTLaWp3ITaK0J86OEsL646zC/bNsKTCFR WfOA== X-Gm-Message-State: ALoCoQmOwEw+BBlknHuktb5eTteu82nKlADP/I4dsuP5NyUd2z+7y27ut6UvLJsS9t3lEeT+QxAX MIME-Version: 1.0 X-Received: by 10.194.109.9 with SMTP id ho9mr28547217wjb.29.1422753829965; Sat, 31 Jan 2015 17:23:49 -0800 (PST) Received: by 10.217.82.208 with HTTP; Sat, 31 Jan 2015 17:23:49 -0800 (PST) X-Originating-IP: [78.149.8.112] In-Reply-To: References: <54CC8E81.3020104@beccati.com> Date: Sun, 1 Feb 2015 01:23:49 +0000 Message-ID: To: Philip Sturgeon Cc: "internals@lists.php.net" Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [RFC][DISCUSSION] ReflectionParameter::getClassName() From: danack@basereality.com (Dan Ackroyd) On 31 January 2015 at 17:31, Philip Sturgeon wrote: > On Sat, Jan 31, 2015 at 3:12 AM, Matteo Beccati wrote: >> >> 2) There's a tiny bit of overlap with "scalar type hints", > > 2) There might be some overlap in the scalar type hint stuff kinda, > but I'd like to think there isn't. getClassName() is just > getClass()->name I think Matteo's point is that if any scalar type RFC passes, a type-hint for a parameter would not always be the name of a class, so the method name 'getClassName()' would be misleading. It would be good to choose a better name to avoid that problem. cheers Dan