Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:44365 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 54025 invoked from network); 18 Jun 2009 22:05:51 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Jun 2009 22:05:51 -0000 Authentication-Results: pb1.pair.com smtp.mail=m4rw3r@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=m4rw3r@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.219.214 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: m4rw3r@gmail.com X-Host-Fingerprint: 209.85.219.214 mail-ew0-f214.google.com Received: from [209.85.219.214] ([209.85.219.214:62220] helo=mail-ew0-f214.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 01/E6-08167-E3ABA3A4 for ; Thu, 18 Jun 2009 18:05:51 -0400 Received: by ewy10 with SMTP id 10so1841433ewy.23 for ; Thu, 18 Jun 2009 15:05:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=y+tE5q4NE1IQQWlERkCjFOLxC8tZYFxIQATDST5oYks=; b=jogJfJt1WLiOcFDdg9KQUn4j8QAvcsavoqNIqj4xVl7cIk3ki0+3Q0fc1+z2LlEQXy /GqygisP7UrPaPvJGnlEH2T8R4kB0meno6wGFsSkfftA2aXuNPzO/V/UJyA8+0f6vPoU yn0FxryoIFmz0gFek7vKf93borTrU0BBnQ8ME= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=KfuDWgOqgTD1qwmXa+so5YiTqdSV+AYfTgRJ+Dcf819wxfk6uCtptbS0u25km/EMZv ABzaqgsuxM3BK4cTShPA41Igka7v7dUKGVQdsoz/r6lLNoPBi+cltUsRpUeRz59oSs5a ZFSCnTDQjQUnrlCm/YGwVNI69kSuYI7q81sBs= MIME-Version: 1.0 Received: by 10.216.52.78 with SMTP id d56mr670359wec.143.1245362748272; Thu, 18 Jun 2009 15:05:48 -0700 (PDT) Date: Fri, 19 Jun 2009 00:05:48 +0200 Message-ID: <4ecb15bc0906181505h1d56bc4elb2f93398dcd44377@mail.gmail.com> To: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: New to the PHP internals and I want to help From: m4rw3r@gmail.com (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 the = 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 Martin Wernst=E5hl