Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:51253 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 73707 invoked from network); 9 Jan 2011 21:14:33 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Jan 2011 21:14:33 -0000 Authentication-Results: pb1.pair.com smtp.mail=php@stefan-marr.de; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=php@stefan-marr.de; sender-id=unknown Received-SPF: error (pb1.pair.com: domain stefan-marr.de from 81.20.134.149 cause and error) X-PHP-List-Original-Sender: php@stefan-marr.de X-Host-Fingerprint: 81.20.134.149 vps-1012701-4512.united-hoster.de Received: from [81.20.134.149] ([81.20.134.149:36783] helo=vps-1012701-4512.united-hoster.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 30/D4-42763-6352A2D4 for ; Sun, 09 Jan 2011 16:14:32 -0500 Received: from 94-224-217-64.access.telenet.be ([94.224.217.64] helo=[192.168.0.13]) by vps-1012701-4512.united-hoster.de with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1Pc2af-0003bj-3N; Sun, 09 Jan 2011 22:14:17 +0100 Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii In-Reply-To: <1202789F-2BA7-4514-85C4-54A36C7A33DF@stefan-marr.de> Date: Sun, 9 Jan 2011 22:14:05 +0100 Cc: =?iso-8859-1?Q?Johannes_Schl=FCter?= , Jonathan Bond-Caron , larry@garfieldtech.com, internals@lists.php.net Content-Transfer-Encoding: quoted-printable Message-ID: References: <89C52156-CF92-4DDB-8BA4-4ABF6883512C@stefan-marr.de> <201012132027.59678.larry@garfieldtech.com> <76C593EE-BCCA-4BBD-B625-B6AE9340B20C@stefan-marr.de> <73.1D.35939.D413E0D4@pb1.pair.com> <8F.32.11788.5FF5F0D4@pb1.pair.com> <4D0F7E99.8050705@garfieldtech.com> <764A364B-173B-401B-83FA-A61D45BE99CB@stefan-marr.de> <002d01cba1ee$7671d0d0$63557270$@com> <1294324392.23827.7.camel@guybrush> <1202789F-2BA7-4514-85C4-54A36C7A33DF@stefan-marr.de> To: Stefan Marr X-Mailer: Apple Mail (2.1082) Subject: Re: [PHP-DEV] Traits and Properties From: php@stefan-marr.de (Stefan Marr) Hi: On 09 Jan 2011, at 17:23, Stefan Marr wrote: >> This is the same with interfaces. What does = class_exists('some_trait') >> do? - I assume that returns true too. > It does return false for interfaces, that should be consistent and = return false for traits, too. Ok, that is fixed and I added a trait_exists() to match the other = functions. Will add a note to the RFC. Best regards Stefan --=20 Stefan Marr Software Languages Lab Vrije Universiteit Brussel Pleinlaan 2 / B-1050 Brussels / Belgium http://soft.vub.ac.be/~smarr Phone: +32 2 629 2974 Fax: +32 2 629 3525