Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:46492 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 41523 invoked from network); 22 Dec 2009 15:16:46 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Dec 2009 15:16:46 -0000 Authentication-Results: pb1.pair.com smtp.mail=ceo@l-i-e.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ceo@l-i-e.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain l-i-e.com designates 67.139.134.202 as permitted sender) X-PHP-List-Original-Sender: ceo@l-i-e.com X-Host-Fingerprint: 67.139.134.202 o2.hostbaby.com FreeBSD 4.7-5.2 (or MacOS X 10.2-10.3) (2) Received: from [67.139.134.202] ([67.139.134.202:1597] helo=o2.hostbaby.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6D/28-28791-CD2E03B4 for ; Tue, 22 Dec 2009 10:16:45 -0500 Received: (qmail 99421 invoked by uid 98); 22 Dec 2009 15:16:43 -0000 Received: from localhost by o2.hostbaby.com (envelope-from , uid 1013) with qmail-scanner-2.05 (clamdscan: 0.88.7/10209. Clear:RC:1(127.0.0.1):. Processed in 0.072536 secs); 22 Dec 2009 15:16:43 -0000 Received: from localhost (HELO l-i-e.com) (127.0.0.1) by localhost with SMTP; 22 Dec 2009 15:16:43 -0000 Received: from webmail (SquirrelMail authenticated user ceo@l-i-e.com) by www.l-i-e.com with HTTP; Tue, 22 Dec 2009 09:16:43 -0600 (CST) Message-ID: <1529.98.193.1261495003.squirrel@www.l-i-e.com> In-Reply-To: References: <1261413231.13430.46.camel@guybrush> Date: Tue, 22 Dec 2009 09:16:43 -0600 (CST) To: "Christian Grobmeier" Cc: internals@lists.php.net User-Agent: Hostbaby Webmail MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Re: [PHP-DEV] How does the interpreter work From: ceo@l-i-e.com ("Richard Lynch") On Mon, December 21, 2009 11:41 am, Christian Grobmeier wrote: >> But: What exactly do you want to learn? Do you want to learn how to >> use >> it better or "academic reasons" or something else? - Depending on >> all >> that the focus of the learning might be quite different. > > I don't want to start with PHP development itself. I just want to be > able to learn how to use the language best. For example, I can tell > you quite good when to use what in java world, because I know how an > object is being created. This helps me with writing performant code > and with debugging. I want to getthat ability with PHP too. I really don't think you need to understand PHP internals at the same level as Java to get performant code. Most of your performance issues are either A) obvious (long loops with expensive bodies), or B) outside of PHP (i.e., the DB, network calls, disk access). The core language of PHP is very minimalist. -- Some people ask for gifts here. I just want you to buy an Indie CD for yourself: http://cdbaby.com/search/from/lynch