Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:37123 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 88097 invoked from network); 18 Apr 2008 06:39:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Apr 2008 06:39:50 -0000 Authentication-Results: pb1.pair.com smtp.mail=lars@strojny.net; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=lars@strojny.net; sender-id=pass Received-SPF: pass (pb1.pair.com: domain strojny.net designates 85.10.204.248 as permitted sender) X-PHP-List-Original-Sender: lars@strojny.net X-Host-Fingerprint: 85.10.204.248 milch.schokokeks.org Received: from [85.10.204.248] ([85.10.204.248:47147] helo=milch.schokokeks.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 11/25-54733-43248084 for ; Fri, 18 Apr 2008 02:39:49 -0400 Received: from [192.168.0.100] (xdsl-87-79-226-189.netcologne.de [::ffff:87.79.226.189]) (AUTH: PLAIN lars@schokokeks.org, SSL: TLSv1/SSLv3,256bits,CAMELLIA256-SHA) by milch.schokokeks.org with esmtp; Fri, 18 Apr 2008 08:39:44 +0200 id 000000000002000A.0000000048084230.00001241 To: Felipe Pena Cc: internals@lists.php.net In-Reply-To: <1208478266.5763.14.camel@pena> References: <46ccd1ab0804170742g142ed562t4f03339da549a820@mail.gmail.com> <1208466868.4430.10.camel@localhost> <1208478266.5763.14.camel@pena> Date: Fri, 18 Apr 2008 08:39:42 +0200 Message-ID: <1208500782.4430.14.camel@localhost> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=_milch.schokokeks.org-4673-1208500785-0001-2" X-Mailer: Evolution 2.22.0 Subject: Re: [PHP-DEV] [RFC] Strict type hints (parameter and return value) From: lars@strojny.net (Lars Strojny) --=_milch.schokokeks.org-4673-1208500785-0001-2 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Felipe, Am Donnerstag, den 17.04.2008, 21:24 -0300 schrieb Felipe Pena: [...] > But i think that is as name is confuse in this case. > We need a name for that. isOfType(), just is() or isA() (and than also allowing classnames) or maybe getType(), similiar to the currently existing getClass(). getType() would return the type as a string, so one could do $reflected->getType() =3D=3D 'string'. Anyway, just thinking loud ... cu, Lars --=_milch.schokokeks.org-4673-1208500785-0001-2 Content-Type: application/pgp-signature; name="signature.asc" Content-Transfer-Encoding: 7bit Content-Description: Dies ist ein digital signierter Nachrichtenteil -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (GNU/Linux) iQIcBAABAgAGBQJICEImAAoJECQPF+sCY6wHx/4P/092Rfkodn1SzNX2yRIH2C2+ JdKU86i0D1CsiUr88ig5n7Lv+0gZn0qPYyXnIaPXshT5Tb2uJU/3nMSPhItQqDCT EZmdM2wioQlR41PwfUBKpQWmoUvhr5XiVP1GVwVL28mYpMAbDjmv8xNS/2/F4EK7 Gv2bYaNsHxxoMYOTNLTk+fp5kRir5Ko6jspxjDLFQYbNw2l6zFn26pTPDkyGavEV uojoiU3Q936s1kMaoNI0waaFPEDFBTiMWCPU5frSmjDL6CMmDICz6KDRRZvcCGxX uK72yjS5+xmf98DUcsseJwPZNYlWfhnUd67s5Xs2g3lC668BkH1r478bl4iUNJrf zfQZEASIimUm7AAFsn+mLn2KDKmbhgxF5+vtVXst3xb2weSu961AhNzft4BG7shd rPTQRm9LgwOOApcqh7MHJRdIeGlLJ5Ax9Ku67sDiLOZdAKYFPhkUognIY/sYPPIU WpiHDD0zDUP7ucehPn62S7uEqonwBscaU8KYzWPEpL/yziyUMhlzIeYppOwn6Jl5 FS77pfwZ5nZz0epjRasRH1u+zdXl7tFgJ35JUliglCz63Kzm1Xly095lNVpr0d8C Thr3j94ZKwPuk5yr5lxzw1kq/pgFh2VKVhyTabHP3yWX2pUs3VTlkijfSZXp5lva 4sm4+owenkdvo3aDKS0d =Cls1 -----END PGP SIGNATURE----- --=_milch.schokokeks.org-4673-1208500785-0001-2--