Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:25975 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 93677 invoked by uid 1010); 6 Oct 2006 17:34:22 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 93662 invoked from network); 6 Oct 2006 17:34:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Oct 2006 17:34:22 -0000 Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 80.74.107.235 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 80.74.107.235 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from [80.74.107.235] ([80.74.107.235:17567] helo=mail.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FC/7E-11652-A9396254 for ; Fri, 06 Oct 2006 13:34:21 -0400 Received: (qmail 2966 invoked from network); 6 Oct 2006 17:32:57 -0000 Received: from office.zend.office (HELO ?192.168.16.109?) (192.168.16.109) by internal.zend.office with SMTP; 6 Oct 2006 17:32:57 -0000 Message-ID: <45269396.6060808@zend.com> Date: Fri, 06 Oct 2006 10:34:14 -0700 Organization: Zend Technologies User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: Ilia Alshanetsky CC: internals@lists.php.net References: <50.8B.48579.ED205254@pb1.pair.com> <45252FC7.9030500@php.net> <4e89b4260610060728v51b1ba65m69304a88d693ce7d@mail.gmail.com> <45267188.9030107@emini.dk> <45267B7D.9080206@zend.com> <45267C07.3090404@emini.dk> <45267D5A.70401@emini.dk> <45268186.5050008@zend.com> <049A2D7A-DEE1-4F55-997B-BEBEF0B8320D@prohost.org> In-Reply-To: <049A2D7A-DEE1-4F55-997B-BEBEF0B8320D@prohost.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: [VOTE] Intermediate Results From: stas@zend.com (Stanislav Malyshev) > On the same note you can use C and ignore all rules, coding using only > void pointers and relying purely on gotos for flow control. :-) Sure, and PHP is much closer to "C" (I intentionally use quotes because it's not matter of language but rather concept, but since you named it, I will keep this name) than to "Java" in this regard, it allows to do things that are more powerful - at cost of giving you the opportunity to shoot yourself in the foot. There are people who think PHP should be more "C" - like, have gotos, etc. - and there are people who think PHP should be more "Java" - like have strict signature enforcement or, God forbid, exception declarations. I personally think PHP is quite good the way it is. :) On the other note, C and Java are static compiled languages, and PHP is dynamic language, which makes doing some things in PHP much easier than in C or Java. For example, functions with flexible signatures. So I think we should use it and not only try to restrict it.