[PHP-DEV] Further outstanding 64-bit issues with PHP_4_3

2003-03-08 Thread James Devenish
Hi, Just looking at CVS diffs (can't compile at the moment due to ./configure breakage), I can see... Remaining zend_parse_parameters problems: php4/ext/ftp/php_ftp.c php4/ext/sockets/sockets.c General LP64 incompatabilities left over from my November patches:

[PHP-DEV] [PATCH] OCI8 link failure (Tru64/AIX) (#22324)

2003-03-08 Thread Michael Mauch
Hi, this is a repost of my article from Monday, 03 March. Perhaps it has gone unnoticed because of the discussion about OnUpdateInt()? If it was noticed, but the patch just sucks, please say so. My older patch for the link problems with OCI8 on Tru64 broke the build on AIX and maybe other

Re: [PHP-DEV] Namespaces

2003-03-08 Thread Derick Rethans
On Sat, 8 Mar 2003, l0t3k wrote: this may be a bit premature, but how do i inject the classes, functions and constants in my extension into a namespace ? You can't do that. Derick -- my other box is your windows PC

[PHP-DEV] Weak references

2003-03-08 Thread Chris Vandomelen
I've written a simple extension for supporting weak (non-refcounted) references in PHP, so that object graphs which reference themselves will function properly. I don't know if this will be useful to anyone else, but the code for the extension can be found at

Re: [PHP-DEV] Weak references

2003-03-08 Thread Chris Vandomelen
Ack. Helps if I 'chmod a+r ~/public_html/php-ext-weakref.tgz'. Chris On Sat, 8 Mar 2003, Chris Vandomelen wrote: I've written a simple extension for supporting weak (non-refcounted) references in PHP, so that object graphs which reference themselves will function properly. I don't know if

Re: [PHP-DEV] Apache2 SAPI

2003-03-08 Thread Jean-Michel Dault
Le ven 07/03/2003 à 20:29, Ian Holsman a écrit : I think it would be in everyone's best interest if apache2handler was introduced in 4.3.X series probably replace the current apache2filter all together. I'm big +1 on this as it can be considered as a FIX.. Let's just replace the

Re: [PHP-DEV] Namespaces

2003-03-08 Thread l0t3k
Derick, is this planned then ? it would make no sense not to support it. actually i should clarify that i want the extension to define its own namespace into which all its classes, consts and vars go (as opposed to inserting into a preexisting one). Derick Rethans [EMAIL PROTECTED] wrote in

Re: [PHP-DEV] Namespaces

2003-03-08 Thread Derick Rethans
On Sat, 8 Mar 2003, l0t3k wrote: Derick, is this planned then ? it would make no sense not to support it. actually i should clarify that i want the extension to define its own namespace into which all its classes, consts and vars go (as opposed to inserting into a preexisting one). Ah,

Re: [PHP-DEV] Bug fixing and CVS

2003-03-08 Thread Derick Rethans
On Fri, 7 Mar 2003, Jean-Michel Dault wrote: I maintain PHP for Mandrake Linux, and I try to ship a bug-free PHP. bug-free doesn't exist :) That is, if there were some showstopper bugs that were not corrected in 4.3.1, I take the bugfixes from CVS and apply them. If you want to do that,

[PHP-DEV] PHP 4 Bug Summary Report

2003-03-08 Thread php-dev
PHP 4 Bug Database summary - http://bugs.php.net Num Status Summary (1080 total including feature requests) ===[*Configuration Issues] 19282 Wont fix Place php4ts.dll into \sapi 20490 Analyzed enable versioning not supported on OSX

[PHP-DEV] Re: Further outstanding 64-bit issues with PHP_4_3

2003-03-08 Thread David Hill
Thanks, will look at these and see if I can't get them in with Jani's permission. The OnUpdateLong is in my cvs queue, but I was getting a karma issue on Friday. Out of curiosity - which platform do you use ? I am on Tru64 and am working with the HP-UX folks. It would be interesting to know what

Re: [PHP-DEV] Bug fixing and CVS

2003-03-08 Thread Jean-Michel Dault
Le sam 08/03/2003 à 10:31, Derick Rethans a écrit : I maintain PHP for Mandrake Linux, and I try to ship a bug-free PHP. bug-free doesn't exist :) I said I try ;-) I always try the impossible ;-) That is, if there were some showstopper bugs that were not corrected in 4.3.1, I take the

Re: [PHP-DEV] Bug fixing and CVS

2003-03-08 Thread Sascha Schumann
I would, but the problem is that the snaps are always updated, and the The constant names are php4-latest.tar.bz2 php4-STABLE-latest.tar.bz2 php5-latest.tar.bz2 old files deleted, and my QA requires that the sources be always available at the same URL. The sources are

Re: [PHP-DEV] Bug fixing and CVS

2003-03-08 Thread Derick Rethans
On Sat, 8 Mar 2003, Jean-Michel Dault wrote: Also, right now Mandrake is in deep freeze, so I can only add new patches if they are fully documented and tested. I just can't diff the cvs with the standard version and apply the changes, otherwise the package won't be accepted. That's not

[PHP-DEV] Re: Can't commit to /pear/PHPUnit

2003-03-08 Thread Derick Rethans
On Sat, 8 Mar 2003, Derick Rethans wrote: On Sat, 8 Mar 2003, Sebastian Bergmann wrote: For some hours now I get messages like cvs server: [10:05:26] waiting for cvs's lock in /repository/pear/PHPUnit Maybe someone could look into this, I did try to look into that,

Re: [PHP-DEV] Bug fixing and CVS

2003-03-08 Thread Jean-Michel Dault
Le sam 08/03/2003 à 12:59, Derick Rethans a écrit : Also, right now Mandrake is in deep freeze, so I can only add new patches if they are fully documented and tested. I just can't diff the cvs with the standard version and apply the changes, otherwise the package won't be accepted. That's

[PHP-DEV] Zend HEAD changes

2003-03-08 Thread Peter Bowen
There appear to have been changes checked in to Zend/ after it branched for PHP 4.3. Many of these have been backported the 4.3 branch, but a few things appear to be orphaned on HEAD. The attached patch has those changes which have not yet been backported. Is there chance that some of these,

[PHP-DEV] Re: php_xslt: xslt_set_encoding

2003-03-08 Thread Alexandru COSTIN
Hello, Indeed they don't have the set_encoding function compiled in (even if the full iconv is redistributed with php). Anyway, I suggest you to take a look at the domxslt extension, is way much faster (and uses directly UTF-8 internally) Alexandru Michel Sahyoun

Re: [PHP-DEV] Namespaces

2003-03-08 Thread Marcus Börger
At 08:10 08.03.2003, l0t3k wrote: this may be a bit premature, but how do i inject the classes, functions and constants in my extension into a namespace ? l0t3k See below :-) marcus /* {{{ register_namespace */ /* You will have to alloc the pns before the call */ void

Re: [PHP-DEV] Fix for wordwrap()

2003-03-08 Thread Tom Sommer
On Fri, 7 Mar 2003 08:20:19 +0100, Jedi/Sector One wrote: $a = w\nphprules\nw; print wordwrap($a, 10, 'br /', 10); Output : wwbr /wwbr /w phprbr /ules wbr / It's not it breaks with br / after 10 chars by force, because

Re: [PHP-DEV] Fix for wordwrap()

2003-03-08 Thread Derick Rethans
On Sun, 9 Mar 2003, Tom Sommer wrote: PS. cut should had been a boolean, IMHO :) It is: zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, s|lsb (b = boolean) Derick -- my other box is your windows PC

Re: [PHP-DEV] Fix for wordwrap()

2003-03-08 Thread Tom Sommer
On Sun, 9 Mar 2003 01:05:01 +0100 (CET), Derick Rethans wrote: It is: zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, s|lsb (b = boolean) Ok, the documentation says it is an integer... (ofcause true == 1, but still) -- Tom Sommer, denmark www.tsn.dk - www.dreamcoder.dk -- PHP

Re: [PHP-DEV] Fix for wordwrap()

2003-03-08 Thread Derick Rethans
On Sun, 9 Mar 2003, Tom Sommer wrote: On Sun, 9 Mar 2003 01:05:01 +0100 (CET), Derick Rethans wrote: It is: zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, s|lsb (b = boolean) Ok, the documentation says it is an integer... (ofcause true == 1, but still) Docs were wrong, I just

Re: [PHP-DEV] Fix for wordwrap()

2003-03-08 Thread Tom Sommer
On Sun, 9 Mar 2003 01:07:53 +0100 (CET), Derick Rethans wrote: Docs were wrong, I just fixed that. methodparam choice=opttypeboolean/typeparametercut/parameter/methodparam should be methodparam choice=opttypebool/typeparametercut/parameter/methodparam since all other doc elements use bool

Re: [PHP-DEV] Fix for wordwrap()

2003-03-08 Thread Tom Sommer
On Sun, 9 Mar 2003 01:07:53 +0100 (CET), Derick Rethans wrote: Docs were wrong, I just fixed that. oh, and the examples and the text about cut needs to be changed to :) If the parametercut/parameter is set to *1* -- Tom Sommer, denmark www.tsn.dk - www.dreamcoder.dk -- PHP Development

[PHP-DEV] news.php.net - mailing list gateway broken?

2003-03-08 Thread Michael Mauch
Hi, I'm using nntp://news.php.net to post to the php-dev mailing list - at least I hoped so. My (very few) articles show up nicely on http://news.php.net and on http://groups.google.com, but in the mailing list archives they end up with just an IP address as From: address (see e.g.

[PHP-DEV] Re: news.php.net - mailing list gateway broken?

2003-03-08 Thread Michael Mauch
I wrote: [...] in the mailing list archives they end up with just an IP address as From: address (see e.g. http://marc.theaimsgroup.com/?l=php-devm=104712105011151w=2). I suspect that this sort of From: is dropped right on the floor by the mailing list software. No, the article looks ok

Re: [PHP-DEV] Namespaces

2003-03-08 Thread l0t3k
You, sir, are a gentleman and a scholar ;-) i assume that given your familiarity and recent work with ZE2 that this will be merged ? i can live with a locally patched tree for the moment.. i assume i ZE2 cleans all this up for me after MSHUTDOWN (i.e. i dont need to worry about doing so

Re: [PHP-DEV] Namespaces

2003-03-08 Thread Marcus Börger
At 03:36 09.03.2003, l0t3k wrote: You, sir, are a gentleman and a scholar ;-) i assume that given your familiarity and recent work with ZE2 that this will be merged ? i can live with a locally patched tree for the moment.. No plans on that yet. For now i am using this functionality for a new

[PHP-DEV] iterating objects with interfaces

2003-03-08 Thread Marcus Börger
Hi, i've just done the first step for a new extension which shall make use of interfaces newly implemented in ZE2. currently the extension implements the namespace spl and the interfaces spl_foreach, spl_forward and spl_key. A class that implements these can be used in a foreach() call. This

[PHP-DEV] Re: iterating objects with interfaces

2003-03-08 Thread l0t3k
you're not campaigning for sainthood, are you ;-) ive been reading python docs today, and their iterators and sequences are one of the things that make it so powerful yet simple because of their consistency throughout. what do you mean you didnt have to modify the engine ? did you mess with the