Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:46486 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 9892 invoked from network); 22 Dec 2009 13:02:02 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Dec 2009 13:02:02 -0000 Authentication-Results: pb1.pair.com header.from=grobmeier@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=grobmeier@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.225 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: grobmeier@gmail.com X-Host-Fingerprint: 209.85.220.225 mail-fx0-f225.google.com Received: from [209.85.220.225] ([209.85.220.225:33190] helo=mail-fx0-f225.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F3/F2-28791-843C03B4 for ; Tue, 22 Dec 2009 08:02:00 -0500 Received: by fxm25 with SMTP id 25so942815fxm.1 for ; Tue, 22 Dec 2009 05:01:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=M2pk9u6PaPHVTjcomuGciT7D6jFcF660Fns4m/3EbaY=; b=docCZQHsfR0ufUl0YhF0ERBv0Va71paQ//lNXMXJqkX7qNfRBooEz2cHFK496WiCGl lF11/vMZ7rDEq2UEovsIkqbwmgDqSWtvv0aDy+TEXFyZJudP+DXhhA6A+LSZcM5e27VA 4NL274vFvY3f8F7aWtsjms+GMmjfxOppOYqeU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=jD5OeL2yzV7lL1Zljvb9Q3eMaomFHG2237vPk5xupIx8HvNpjmQ7DtobmNJ77CBd5Q eNStv/euXhSuw5QAiS1Ykpm4B0EbYADLkIVJCyAPzsLKjwMFmp1SDsYrJcbP3ZhCSVZK VoaZtj6ciUFybsgIOxbgwgBpstemV8ZlSmDwo= MIME-Version: 1.0 Received: by 10.102.209.30 with SMTP id h30mr3646776mug.65.1261417307083; Mon, 21 Dec 2009 09:41:47 -0800 (PST) In-Reply-To: References: <1261413231.13430.46.camel@guybrush> Date: Mon, 21 Dec 2009 18:41:27 +0100 Message-ID: To: internals@lists.php.net Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [PHP-DEV] How does the interpreter work From: grobmeier@gmail.com (Christian Grobmeier) Hi all again, first thanks, for all the links. >> In java world there is the JVM specification, I hoped there is >> something for PHP too. > > Well there's one quite complete document about it available - the source > code ;-) PHP isn't developed following standards but simply by > implementing and extending it. PHP is defined by the implementation ... I was afraid it is :-) > 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. > This all will be compiled to Zend Opcodes which can be executed, cached > with APC, dumped by vld, ... > I hope I find the time to write the documentation around it, other than > that this code is absolutely useless :-) > > http://github.com/johannes/pasic Thanks for sharing this. However, I am not a skilled C developer nor do I know exactly what Opcodes are or even APC or vld. I really hoped that there is some kind of specification around. I also took a look at: http://www.php.net/manual/en/internals2.php but it helped me not too much. Its more about writing extensions to PHP. But I would like to understand how the object oriented features really work. I am afraid with my basic knowledge on C I have to dig very deep =C2=A0and need to compile everything myself on my Mac, which already gave me some headache. Thanks Christian > > johannes > > >