Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:66280 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 12430 invoked from network); 27 Feb 2013 17:09:10 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Feb 2013 17:09:10 -0000 Authentication-Results: pb1.pair.com smtp.mail=cryptocompress@googlemail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=cryptocompress@googlemail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain googlemail.com designates 74.125.83.43 as permitted sender) X-PHP-List-Original-Sender: cryptocompress@googlemail.com X-Host-Fingerprint: 74.125.83.43 mail-ee0-f43.google.com Received: from [74.125.83.43] ([74.125.83.43:52644] helo=mail-ee0-f43.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A0/32-33355-4BD3E215 for ; Wed, 27 Feb 2013 12:09:08 -0500 Received: by mail-ee0-f43.google.com with SMTP id c50so726292eek.16 for ; Wed, 27 Feb 2013 09:09:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=6vlVoRV0FH/uXsAJ2ZhKmt/MBZGJLJngUHfFS+GL0e4=; b=XBDFkSYiP9lNNgS6dbeWYtrkaRjIBpBx81cAPbP+BZfj12JIyKl0E9/gFtYL0PXl4D psB9+6yn2/XC5hv2lATtSEnvQx6q9XucHNlMuESEZsa2N8nQr/3OSwGWjhugkSuzzoVd goTd8O3HE/7G1EDEaHI9Jnbfr5oIpd3AgNqzfs9Q8D5CYh15i9Xw+pevZ/6abdKdlXau gXX6oFS6EnOYC/gBt+FcXHYVw6R/6v11dW2LnK/F83EHv8duzWIysOOUTCVjT2wLxqT6 dKoUpx9ZzgMrfjoxP0J464CKrMatcr7FMmNi/bcowIKpro5mmyzFtyyr3NLTPrGK3X9M Lxbg== X-Received: by 10.14.182.71 with SMTP id n47mr7982712eem.11.1361984945628; Wed, 27 Feb 2013 09:09:05 -0800 (PST) Received: from [192.168.1.111] (mnch-4d0452bb.pool.mediaWays.net. [77.4.82.187]) by mx.google.com with ESMTPS id r4sm7437693eeo.12.2013.02.27.09.09.04 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 27 Feb 2013 09:09:04 -0800 (PST) Message-ID: <512E3DAD.90505@googlemail.com> Date: Wed, 27 Feb 2013 18:09:01 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130215 Thunderbird/17.0.3 MIME-Version: 1.0 To: PHP Developers Mailing List References: <512DB820.6060908@sugarcrm.com> <512E1E1B.6020007@googlemail.com> <512E2278.3070406@2e-systems.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Add get_object_constants and get_class_constants From: cryptocompress@googlemail.com (Crypto Compress) Am 27.02.2013 16:58, schrieb Mike Willbanks: > I am simply suggesting an alternative to using Reflection whereas: > > get_class_constants([object|string]); > get_object_constants([object]); > > Do we need both; probably not; the first would likely do. +1 for the first one only Am 27.02.2013 16:12, Analyst (Frank Schenk) trolled: > bitmask class to shuffle around with class constants shuffle bits around with clearly named constants: http://php.net/manual/en/language.operators.bitwise.php https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Security/Acl/Permission/MaskBuilder.php cryptocompress