Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:44375 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 25850 invoked from network); 19 Jun 2009 14:36:57 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Jun 2009 14:36:57 -0000 Authentication-Results: pb1.pair.com header.from=patrick.allaert@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=patrick.allaert@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.205 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: patrick.allaert@gmail.com X-Host-Fingerprint: 209.85.220.205 mail-fx0-f205.google.com Received: from [209.85.220.205] ([209.85.220.205:37277] helo=mail-fx0-f205.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 10/3B-09418-882AB3A4 for ; Fri, 19 Jun 2009 10:36:57 -0400 Received: by fxm1 with SMTP id 1so343403fxm.40 for ; Fri, 19 Jun 2009 07:36:53 -0700 (PDT) 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 :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=grF/o7zJXNiZdWQ/6n95KQPdHGqoN95d52ihWLTut2s=; b=n2JfxSpQMgBA+i65PzgQz1T/ujFhzGafPTCR0ZwC4FAdYTepNcftNx6LVMDsJuAcNN xmNkavKeJZ7CyYJ1EUSOK8dB2HwGqlB1TWpyOqL74NYjNuGsaOg07moplq6io+wfx4/5 OkaZmxMV3dW5/ImHobrnm3GCY2UoMg9ev+MTA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=vvd0+V3gh7LQdhBkGCylyZr6OVeyqwHhMcWMGC+G601vCa5QzkPKHLXweOilC1BOBK p/3JZbPjCGi4NzOV/f9y14ftEtAiMdDe//XHMBX5bcNNmxM3LCjRUEjfhpPC34/FtS0O pqzpKXYL+h9/g5KFPJgx7XMmhuQAfrrIPtt9Q= MIME-Version: 1.0 Received: by 10.239.159.208 with SMTP id z16mr240052hbc.8.1245422212827; Fri, 19 Jun 2009 07:36:52 -0700 (PDT) In-Reply-To: <4ecb15bc0906181505h1d56bc4elb2f93398dcd44377@mail.gmail.com> References: <4ecb15bc0906181505h1d56bc4elb2f93398dcd44377@mail.gmail.com> Date: Fri, 19 Jun 2009 16:36:52 +0200 Message-ID: To: Martin Wernstahl Cc: internals@lists.php.net Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] New to the PHP internals and I want to help From: patrick.allaert@gmail.com (Patrick ALLAERT) Hi Martin, Not sure it can help you, but you may found the following link interesting: http://phpbuilder.com/manual/en/internals.php Cheers, Patrick 2009/6/19 Martin Wernstahl : > Hi! > > I'm an 18 years old student from Sweden with an interest in > programming, particularly in solving more > complex problems (like creating a database abstraction, advanced > template parser etc.). > I use PHP because it is a very nice and adaptable language, and I work > as a web developer in my free time. > > I've wanted to add a few features to PHP for some time (a few years > ago I tried to implement closures, > but it didn't go well because I didn't really know where to start - by th= e way, > I really like the current implementation of closures so far!). > > Does anyone have somewhere to point me for resources on how to modify > the PHP core? > (More specifically, add/modify things to/in the Zend engine) > > I'm attempting to implement a kind of extend-on-the-fly thing, so it > would be possible to > add and replace methods on classes on the fly (for example it would be > helpful when extending > classes and still wanting to refer to them by the same name, eg. in a > framework). > > I've tried a few things but I cannot get the parser to parse the > syntax correctly, > it always complains about a T_STRING that according to my rules > *should* be there but it thinks not. > I haven't been able to get much information about re2c, so I'm > grateful for help and/or links. > > Also, if you think I should start by creating/modifying/fixing > something else (that is easier) > in the PHP core, just tell me ;) > > Best Regards > =C2=A0 =C2=A0Martin Wernst=C3=A5hl > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php