[PHP-DEV] Resource array of arrays (variable at runTime)

2003-12-17 Thread Vivi Arno
Hello, I try to build an extension for my pleasure. I would like to make a function which return me an array of variable arrays. For example, I would like that the function "myfunction( $line, $col, $DefaultValue)", return me one array of line arrays with col colums. I mean: $array = { [0] => {

[PHP-DEV] Re: Resource array of arrays (variable at runTime)

2003-12-17 Thread Justin Hannus
Yes, Check out zend_hash_update() and zend_hash_index_update() to add elements to your array. For multidimensional arrays, each element (that is an array) mould be a *zval that was previously array_init()'d and filled with zvals pointers. Not sure but I think the PECL list might be a better place

Re: [PHP-DEV] Beta 3

2003-12-17 Thread Ilia Alshanetsky
On December 16, 2003 11:23 pm, Andi Gutmans wrote: > Hey guys, > > A couple of weeks too late, but I'd like to roll Beta 3 tomorrow. > The crucial bug we wanted fixing (the return reference problem) was fixed. > Other little things can be fixed during the code freeze after B3 whilst > getting ready

[PHP-DEV] changes in oci8

2003-12-17 Thread Antony Dovgal
Hi, all. I'm going to rename functions from oci8 to match the naming-conventions. Old names will be kept as aliases, of course, but should be deprecated. Imho these changes will make OCI extsension more handy and it's API more similar to other extensions' API. I'd like to hear your opinions about

[PHP-DEV] CVS Account Request: haitham

2003-12-17 Thread haitham nadeem
Translating the documentation in php4arabs.info team -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Beta 3

2003-12-17 Thread Zeev Suraski
#22510 is refixed. The other one is not a real issue (it died out right before, now it runs till the end - we'll try to fix the leaks though). Zeev At 17:49 17/12/2003, Ilia Alshanetsky wrote: On December 16, 2003 11:23 pm, Andi Gutmans wrote: > Hey guys, > > A couple of weeks too late, but I'd

[PHP-DEV] CVS Account Request: zamolxe

2003-12-17 Thread Serban Gh. Ghita
I want to contribute to the php manual translation into romanian. I think i have the necesary experience to do this because i have written some good php tutorials in romanian, i supported opensource scripts with patches and addons, i currently work as a php/sql web developer on a web design and

[PHP-DEV] Re: Resource array of arrays (variable at runTime)

2003-12-17 Thread VIVI Arno
Could you direct me to an example in the C source of PHP (or another extension) where they use multidimensional arrays (variable arrays containing a variable number of arrays) ? Thank you ! Arnaud. "Justin Hannus" <[EMAIL PROTECTED]> a écrit dans le message de news:[EMAIL PROTECTED] > Yes, > > C

Re: [PHP-DEV] changes in oci8

2003-12-17 Thread Stig S. Bakken
On Wed, 2003-12-17 at 18:00, Antony Dovgal wrote: > Hi, all. > > I'm going to rename functions from oci8 to match the naming-conventions. > Old names will be kept as aliases, of course, but should be deprecated. > Imho these changes will make OCI extsension more handy and it's API more similar to

[PHP-DEV] Yet other license issues on win32 libiconv, mbstring, and expat dll distribution

2003-12-17 Thread Moriyoshi Koizumi
Hi, I received a mail on the Japanese PHP users' mailing list that points out our distribution of the binaries of libiconv and libmbfl (linked by mbstring) infringes the section 6 of the GNU lesser general public license [1]. According to the mail, we have to have some notices included in each

[PHP-DEV] Beta 3 RC 1

2003-12-17 Thread Andi Gutmans
Please give the tar ball a short sanity check to see that it builds fine. You can get it at http://cvs.php.net/~andi/ I'll re-roll B3 in the morning (10 hours from now) unless I hear of something critical. Andi -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http:

[PHP-DEV] CVS Account Request: bishmila

2003-12-17 Thread José Manuel Puerta Peña
Help with the translation of the manual to the Spanish Language. Thanks in advance -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: [PHP-QA] Beta 3 RC 1

2003-12-17 Thread Derick Rethans
On Wed, 17 Dec 2003, Andi Gutmans wrote: > Please give the tar ball a short sanity check to see that it builds fine. > You can get it at http://cvs.php.net/~andi/ > I'll re-roll B3 in the morning (10 hours from now) unless I hear of > something critical. I get this error on running ./buildconf &&

Re: [PHP-DEV] Beta 3 RC 1

2003-12-17 Thread Andi Gutmans
Ouch :) I was sure cvs.php.net works for rolling RCs (I know my machine doesn't). I'll re-roll tomorrow morning. Can someone tell me which php.net machine is updated with all of the right versions of autoconf/libtool and so on? Jani, see why I needed an RC1 :) Andi At 10:43 PM 12/17/2003 +0100, D

[PHP-DEV] Re: [PHP-QA] Beta 3 RC 1

2003-12-17 Thread Jan Lehnardt
Hi Andi, On 17 Dec 2003, at 22:29, Andi Gutmans wrote: Please give the tar ball a short sanity check to see that it builds fine. You can get it at http://cvs.php.net/~andi/ I'll re-roll B3 in the morning (10 hours from now) unless I hear of something critical. is that package supposed to include

[PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Beta 3 RC 1

2003-12-17 Thread Derick Rethans
On Wed, 17 Dec 2003, Andi Gutmans wrote: > Ouch :) > I was sure cvs.php.net works for rolling RCs (I know my machine doesn't). > I'll re-roll tomorrow morning. > Can someone tell me which php.net machine is updated with all of the right > versions of autoconf/libtool and so on? snaps.php.net Der

[PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Beta 3 RC 1

2003-12-17 Thread Andi Gutmans
At 11:01 PM 12/17/2003 +0100, Derick Rethans wrote: On Wed, 17 Dec 2003, Andi Gutmans wrote: > Ouch :) > I was sure cvs.php.net works for rolling RCs (I know my machine doesn't). > I'll re-roll tomorrow morning. > Can someone tell me which php.net machine is updated with all of the right > version

[PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Beta 3 RC 1

2003-12-17 Thread Derick Rethans
On Thu, 18 Dec 2003, Andi Gutmans wrote: > Are these OK too? That's on www.php.net. > buildconf: autoconf version 2.13 (ok) > buildconf: libtool version 1.4.3 (ok) Versions are ok, but you need the patched libtool from snaps.php.net. Derick -- PHP Internals - PHP Runtime Development Mailing Li

[PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Beta 3 RC 1

2003-12-17 Thread Andi Gutmans
At 11:04 PM 12/17/2003 +0100, Derick Rethans wrote: On Thu, 18 Dec 2003, Andi Gutmans wrote: > Are these OK too? That's on www.php.net. > buildconf: autoconf version 2.13 (ok) > buildconf: libtool version 1.4.3 (ok) Versions are ok, but you need the patched libtool from snaps.php.net. Any chance w

[PHP-DEV] Beta 3 RC 1 Take #2

2003-12-17 Thread Andi Gutmans
OK, I re-rolled on snaps. I think we should address this issue in the future because it doesn't make sense that we can only roll one specific machine because it has some libtool patch. You can download the tars from http://snaps.php.net/~andi If there aren't any beta show stoppers (i.e. it doesn'

[PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Beta 3 RC 1

2003-12-17 Thread Derick Rethans
On Thu, 18 Dec 2003, Andi Gutmans wrote: > At 11:04 PM 12/17/2003 +0100, Derick Rethans wrote: > >On Thu, 18 Dec 2003, Andi Gutmans wrote: > > > > > Are these OK too? That's on www.php.net. > > > buildconf: autoconf version 2.13 (ok) > > > buildconf: libtool version 1.4.3 (ok) > > > >Versions are

[PHP-DEV] Re: Beta 3 RC 1

2003-12-17 Thread Christian Schneider
Andi Gutmans wrote: You can get it at http://cvs.php.net/~andi/ Errr, is it just me or is the directory empty? :-) - Chris -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: Beta 3 RC 1

2003-12-17 Thread Christian Schneider
Oops, sorry, saw the follow too late. - Chris -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: [PHP-QA] Beta 3 RC 1 Take #2

2003-12-17 Thread Derick Rethans
On Thu, 18 Dec 2003, Andi Gutmans wrote: > OK, I re-rolled on snaps. I think we should address this issue in the > future because it doesn't make sense that we can only roll one specific > machine because it has some libtool patch. > You can download the tars from http://snaps.php.net/~andi > If t

Re: [PHP-DEV] Re: [PHP-QA] Beta 3 RC 1 Take #2

2003-12-17 Thread Rasmus Lerdorf
I fixed this in the 4.3 branch a while ago but there were a lot of cries from the peanut gallery on the validity of the fix: http://cvs.php.net/diff.php/php-src/ext/gd/libgd/gdft.c?sbt=1&login=2&r1=1.11.2.10&r2=1.11.2.11&ty=h I still think it is the correct fix and will MFB it in a bit. -Rasmus

[PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Re: [PHP-QA] Beta 3 RC 1 Take #2

2003-12-17 Thread Derick Rethans
On Wed, 17 Dec 2003, Rasmus Lerdorf wrote: > I fixed this in the 4.3 branch a while ago but there were a lot of cries > from the peanut gallery on the validity of the fix: > > http://cvs.php.net/diff.php/php-src/ext/gd/libgd/gdft.c?sbt=1&login=2&r1=1.11.2.10&r2=1.11.2.11&ty=h > > I still think it

Re: [PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Re: [PHP-QA] Beta 3 RC 1 Take #2

2003-12-17 Thread Rasmus Lerdorf
Add the same fix there on line 71 On Wed, 17 Dec 2003, Derick Rethans wrote: > On Wed, 17 Dec 2003, Rasmus Lerdorf wrote: > > > I fixed this in the 4.3 branch a while ago but there were a lot of cries > > from the peanut gallery on the validity of the fix: > > > > http://cvs.php.net/diff.php/php

Re: [PHP-DEV] Beta 3 RC 1 Take #2

2003-12-17 Thread Jan Lehnardt
Hi Andi, On 17 Dec 2003, at 23:12, Andi Gutmans wrote: If there aren't any beta show stoppers (i.e. it doesn't format your harddrive) I'll re-roll final beta 3 tomorrow it formatted my harddrive, erm no. But see: http://jan.prima.de/~jan/php_test_results_20031217_2353.txt (MacOS X.3) http://jan.pr

[PHP-DEV] Re: Beta 3 RC 1 Take #2

2003-12-17 Thread Johannes Schlueter
Hi, while testing on my Linux-box (Gentoo, 2.4.22, gcc 3.2.3) I've got a segfault while make install (which I could localize to install-pear-packages) I had a snapshot from end-november with this prefix before. If I use an empty directory all works fine. $ ./configure --prefix=/opt/php5 $ make

[PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Re: [PHP-QA] Beta 3 RC 1 Take #2

2003-12-17 Thread Andi Gutmans
Is it OK with latest HEAD? I saw Rasmus commited a patch. Andi At 11:53 PM 12/17/2003 +0100, Derick Rethans wrote: On Wed, 17 Dec 2003, Rasmus Lerdorf wrote: > I fixed this in the 4.3 branch a while ago but there were a lot of cries > from the peanut gallery on the validity of the fix: > > http