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
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 pollita@php.net, 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--
Hi,
we have a bunch of information/docs/examples here and there, check out the
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ács
@Tyr43l - http://tyrael.hu
Have you you got a php.net svn account? If so, go ahead and push the
fixes yourself, if not: Get access and go for it.
As to support, everything in PECL is supported precisely as much as
community members are willing to keep it up to date with patches and
fixes. :)
-Sara
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,
GabrielDear 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 pollita@php.net, 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--
Hi,
we have a bunch of information/docs/examples here and there, check out the
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ács
@Tyr43l - http://tyrael.hu
Hi Sara,
Good to hear from you! I have just submitted a pecl account request
listing you as the sponsor.
I'll be figuring out how to go about submitting the packages, etc, but
I'll need the account first.
Thanks for your advice!
Gabriel
Have you you got a php.net svn account? If so, go ahead and push the
fixes yourself, if not: Get access and go for it.As to support, everything in PECL is supported precisely as much as
community members are willing to keep it up to date with patches and
fixes. :)-Sara
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,
GabrielDear 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 pollita@php.net, 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--
Hi,
we have a bunch of information/docs/examples here and there, check out the
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ács
@Tyr43l - http://tyrael.hu
Hi Sara,
Good to hear from you! I have just submitted a pecl account request
listing you as the sponsor.I'll be figuring out how to go about submitting the packages, etc, but
I'll need the account first.Thanks for your advice!
Gabriel
Hi,
I've approved your pecl account request and assigned you to the package,
but it seems that you didn't requested a php.net account.
Which is fine, if you want to host the code externally(github, bitbucket,
etc.) and only upload there releases on pecl.php.net, but if you want to
host the code on svn.php.net or git.php.net, you should also request a
php.net account (http://php.net/git-php.php).
ps: we prefer top posting on the php.net mailing lists, see
http://www.php.net/reST/README.MAILINGLIST_RULES for the rules.
--
Ferenc Kovács
@Tyr43l - http://tyrael.hu
if you want to host the code externally(github, bitbucket,
etc.) and only upload there releases on pecl.php.net, but if you want to
host the code on svn.php.net or git.php.net, you should also request a
php.net account (http://php.net/git-php.php).ps: we prefer top posting on the php.net mailing lists, see
http://www.php.net/reST/README.MAILINGLIST_RULES for the rules.
Sorry about the top posting thing... it took me a while to figure out
what it meant, and for a moment I was worried that I had posted to the
wrong newsgroup.
I am requesting for a git-php account, sending the request to the 'PHP
Group', and mentioning you (Ferenc Kovács) as sponsor.
Best regards,
Gabriel
if you want to host the code externally(github, bitbucket,
etc.) and only upload there releases on pecl.php.net, but if you want to
host the code on svn.php.net or git.php.net, you should also request a
php.net account (http://php.net/git-php.php).ps: we prefer top posting on the php.net mailing lists, see
http://www.php.net/reST/README.MAILINGLIST_RULES for the rules.Sorry about the top posting thing... it took me a while to figure out
what it meant, and for a moment I was worried that I had posted to the
wrong newsgroup.I am requesting for a git-php account, sending the request to the 'PHP
Group', and mentioning you (Ferenc Kovács) as sponsor.Best regards,
Gabriel
I think mentioning Sara as a sponsor would weight in more than myself. ;)
--
Ferenc Kovács
@Tyr43l - http://tyrael.hu
I think mentioning Sara as a sponsor would weight in more than myself. ;)
Oh, you aren't the one approving the application?
Anyway I was wondering how to go about submitting the update - are
there any howto's on creating the pear package that I should upload on
http://pecl.php.net/release-upload.php?
Also, how are compatibility with different php versions incorporated?
Do users download the appropriate extension version? or is there an
automatic way of detecting the version that I should incorporate into
the script?
Regardless, I can upload the two updates first, one compatible with
php5.3 and another with php5.4 (calling them operator-0.4 and
operator-0.5?), and I will learn up these intricacies on the go. Also,
please feel free to correct my coding convention. I will comment on
the parts of the code that I have changed, so people can review and
see if it is sound.
Many thanks for your help!
Gabriel
hi,
I think mentioning Sara as a sponsor would weight in more than myself. ;)
Oh, you aren't the one approving the application?
Many do that.
Anyway I was wondering how to go about submitting the update - are
there any howto's on creating the pear package that I should upload on
http://pecl.php.net/release-upload.php?
See the pear documentation and the existing extensions in pecl, you
only need to update the package.xml information (changelog, lead devs,
etc.) and run "pecl package package.xml" from the src directory.
Also, how are compatibility with different php versions incorporated?
You deal with it using #ifdef in one tree. See the other extensions as
well for example.
Regardless, I can upload the two updates first, one compatible with
php5.3 and another with php5.4 (calling them operator-0.4 and
operator-0.5?),
Please do it all in one release only unless you plan to drop support
for one a given version :)
Cheers,
Pierre
@pierrejoye
Am 06.02.13 14:14, schrieb Gabriel Wu:
I think mentioning Sara as a sponsor would weight in more than myself. ;)
Oh, you aren't the one approving the application?
Anyway I was wondering how to go about submitting the update - are
there any howto's on creating the pear package that I should upload on
http://pecl.php.net/release-upload.php?
hi,
great, that someone is updating this extension. will you also offer an
updated version for php-5.5 later (if it does not already work)? i just
wanted to give it a try, but there seems to be a problem with the
uploaded package: it seems to only contain the "package.xml"?
greetings,
harald
great, that someone is updating this extension. will you also offer an
updated version for php-5.5 later (if it does not already work)? i just
wanted to give it a try, but there seems to be a problem with the uploaded
package: it seems to only contain the "package.xml"?
% tar -i
--
Regards,
Mike
Am 07.02.13 11:40, schrieb Michael Wallner:
great, that someone is updating this extension. will you also offer an
updated version for php-5.5 later (if it does not already work)? i just
wanted to give it a try, but there seems to be a problem with the uploaded
package: it seems to only contain the "package.xml"?% tar -i
i feel really stupid, but i am unable to extract this archive on my
system (mac). neither with bsdtar nor with gnutar. i've not had such
issue with any other archive ever downloaded from php.net before.
Am 07.02.13 11:40, schrieb Michael Wallner:
great, that someone is updating this extension. will you also offer an
updated version for php-5.5 later (if it does not already work)? i just
wanted to give it a try, but there seems to be a problem with the
uploaded
package: it seems to only contain the "package.xml"?% tar -i
i feel really stupid, but i am unable to extract this archive on my system
(mac). neither with bsdtar nor with gnutar. i've not had such issue with any
other archive ever downloaded from php.net before.--
Hi Micheal,
I have uploaded a new tarball which hopefully contains the src files.
I had problems previously with a bug on the pecl package system, which
I thought I sorted out, but apparently not. I will test it on php-5.5
on my own sometime, but please let me know of the outcome of your
tests!
Best regards,
Gabriel