Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:65681 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 74775 invoked from network); 5 Feb 2013 20:43:44 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Feb 2013 20:43:44 -0000 Authentication-Results: pb1.pair.com header.from=gabrielwu84@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=gabrielwu84@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.210.177 as permitted sender) X-PHP-List-Original-Sender: gabrielwu84@gmail.com X-Host-Fingerprint: 209.85.210.177 mail-ia0-f177.google.com Received: from [209.85.210.177] ([209.85.210.177:44795] helo=mail-ia0-f177.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 31/31-01506-FFE61115 for ; Tue, 05 Feb 2013 15:43:43 -0500 Received: by mail-ia0-f177.google.com with SMTP id h8so658698iaa.36 for ; Tue, 05 Feb 2013 12:43:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=lgRGQuNpVHSpjyos9Uiu2biVY+XH6Uw6XImLEFnK2Fg=; b=FzHQj7BSK9I5nnRe5jujJP3FDmFWGh8vJGP0sHGc/Khi+P2Iai6Rjp/pHDpMXFAvOa W0NlJeF0s/sy27q2nQgsJ66NGFAFZhDcDqOHzuVgr/ymak4Ul4DwOOSDDujnRR/Exl0X +7wX+VrOH8LLvVWz2E3jq76R2JmdJl3IO85s3R7BtGWs55W9oNIUNuLKvNDL5v43qNI/ RZTNUYnkBr0Jqr0OUBZpChpCijDzjzQSyHNHldP1RtoD373oAXE4N5kv7ny6EcyM2jEB NZXeMRd9CVMNuTgWbl49D0Q6pLBrvcyZZBEWlrjnacNLRMuoBZTxEUYmYWcz3oc4ExUf o2dQ== MIME-Version: 1.0 X-Received: by 10.50.222.201 with SMTP id qo9mr602163igc.111.1360097020366; Tue, 05 Feb 2013 12:43:40 -0800 (PST) Received: by 10.50.25.198 with HTTP; Tue, 5 Feb 2013 12:43:40 -0800 (PST) Date: Wed, 6 Feb 2013 04:43:40 +0800 Message-ID: To: Ferenc Kovacs Cc: PHP internals Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: operator-0.3 extension update From: gabrielwu84@gmail.com (Gabriel Wu) Hi, thank you for pointing me in this direction. The opengrok program is awesome! And I managed to update the operator-0.3 extension to work with php 5.3 (will be working on making it compatible with 5.4 next). I was wondering whether (where) I should submit the code so that the package can be updated, and whether there are issues with supporting operator overloading that make it something that you will not want to support too much. Best regards, Gabriel On Sun, Feb 3, 2013 at 1:22 AM, Ferenc Kovacs wrote: > > > > On Sat, Feb 2, 2013 at 3:32 PM, Gabriel Wu wrote: >> >> Dear all, >> >> I am looking for the place to get support for writing a php extension. >> Just wondering if this is the right place. >> >> I am looking to create a custom class where I can overload the >> operators of the class. I have found an old extension called >> operator-0.3 authored by Sara Golemon , whom I >> noticed is CC'ed in the messages here. >> >> I just looked over her code, and was trying to make sense of it, but >> as it stands, I found a dearth of documentation on overloading php >> class operations. Is this the right place to ask for help for zend >> interfaces such as php_operator_zval_ptr, etc? >> >> Thanks in advance for your help! >> Gabriel >> >> -- >> PHP Internals - PHP Runtime Development Mailing List >> To unsubscribe, visit: http://www.php.net/unsub.php >> > > Hi, > > we have a bunch of information/docs/examples here and there, check out th= e > links at http://pecl.php.net/support.php#resources and using > http://lxr.php.net/ is also helps a lot for wading through the php > sourcecode. > > -- > Ferenc Kov=E1cs > @Tyr43l - http://tyrael.hu