Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:48047 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 45298 invoked from network); 21 Apr 2010 17:37:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Apr 2010 17:37:01 -0000 Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.185 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 212.25.124.185 il-mr1.zend.com Received: from [212.25.124.185] ([212.25.124.185:39634] helo=il-mr1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 44/37-63467-DB73FCB4 for ; Wed, 21 Apr 2010 13:37:01 -0400 Received: from us-gw1.zend.com (unknown [192.168.16.5]) by il-mr1.zend.com (Postfix) with ESMTP id 482B950505; Wed, 21 Apr 2010 20:15:45 +0300 (IDT) Received: from [192.168.27.11] ([192.168.27.11]) by us-gw1.zend.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 21 Apr 2010 10:36:56 -0700 Message-ID: <4BCF37B7.8090205@zend.com> Date: Wed, 21 Apr 2010 10:36:55 -0700 Organization: Zend Technologies User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4 MIME-Version: 1.0 To: Jacob Oettinger , internals@lists.php.net References: <4BCE44B8.6060600@zend.com> <52D97E557393477BB08167B13DEF4679@pc> <20100421142826.GO5201@phcomp.co.uk> In-Reply-To: <20100421142826.GO5201@phcomp.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 21 Apr 2010 17:36:56.0121 (UTC) FILETIME=[3CD2A290:01CAE179] Subject: Re: [PHP-DEV] A critique of PHP 6 From: stas@zend.com (Stanislav Malyshev) Hi! > \_array\merge($array, $array2); > \_string\len($string); how it's better or more clean than array_merge or strlen? I am a big fan of OO and use it all the time, but there's a virtue in moderation - if you just want a length of a string, you son't have to build class hierachy with design patterns on top to do it - just take the length of the string! -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com