[PHP-DEV] CVS Account Request: sokku

2003-11-24 Thread sokku
Lear PHP to developt my knowladge. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] SimpleXML XPath Namespace Support

2003-11-24 Thread Rob Richards
From: Adam Maccabee Trachtenberg > Ah. I see. Okay, I've prepared a modified patch that defers namespace > registration until the call to simplexml_ce_xpath_search(). Inside > that function, I iterate through the nsmapptr->nsmap hash and register > all the namespaces. Thanks, patch applied. Rob

[PHP-DEV] Re: #26379 [NEW]: php with Interbase extention under FreeBSD must be linked with -lcrypt

2003-11-24 Thread Ard Biesheuvel
Nicol At Aokp Dot Ru wrote: From: nicol at aokp dot ru Operating system: FreeBSD 4.9 PHP version: 4.3.4 PHP Bug Type: Compile Failure Bug description: php with Interbase extention under FreeBSD must be linked with -lcrypt Description: php 4.3.4/5.0.0.Beta2 same b

[PHP-DEV] [PATCH] Image sharpening function for ext/gd

2003-11-24 Thread Paul Troughton
Hello, I was surprised to find that, although the GD image-handling functions shipped with PHP do many useful things very well, there's no function to sharpen an image. I found a few posts bemoaning this absence, and therefore attach a patch which adds the function int imagesharpen ( resourc

Re: [PHP-DEV] CVS Account Request: lovchy

2003-11-24 Thread Boris lovchy Bezrukov
Joining the Russian Translation team. >> If someone told you to fill out the form here, make sure to mention them here! Ivan Kovalenko ([EMAIL PROTECTED]). I already work with russian translation team. CVS request was sent two weeks ago, but i have no answer yet. -- PHP Internals - PHP Runtime D

[PHP-DEV] Re: [PHP-CVS] cvs: php-src /ext/gmp config.m4 gmp.c php_gmp.h

2003-11-24 Thread Joe Orton
On Wed, Nov 19, 2003 at 04:44:07AM -, Jani Taskinen wrote: ... ... > + > + GMPG(rand_initialized) = 1; > + } > + mpz_urandomb(*gmpnum_result, GMPG(rand_state), GMP_ABS (limiter) * > BITS_PER_MP_LIMB); > Do you have a release of gmp older than 4.1.2 maybe? There is only _

Re: [PHP-DEV] [PATCH] Image sharpening function for ext/gd

2003-11-24 Thread Jani Taskinen
There's new function in PHP 5 CVS, imagefilter(), I'd guess this would be good addition into that one.. --Jani On Mon, 24 Nov 2003, Paul Troughton wrote: >Hello, > >I was surprised to find that, although the GD image-handling functions >shipped with PHP do many useful thin

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php-src /ext/gmp config.m4 gmp.c php_gmp.h

2003-11-24 Thread Jani Taskinen
That would be strange since I have the same GMP version.. With these RH9 rpms: gmp-4.1.2-2 gmp-devel-4.1.2-2 Some other buggie..? --Jani On Mon, 24 Nov 2003, Joe Orton wrote: >On Wed, Nov 19, 2003 at 04:44:07AM -, Jani Taskinen wrote: >.

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php-src /ext/gmp config.m4 gmp.c php_gmp.h

2003-11-24 Thread Jani Taskinen
Actually, it propably is okay to just use __GMP_BITS_PER_MP_LIMB and not include gmp-mparam.h at all? --Jani On Mon, 24 Nov 2003, Jani Taskinen wrote: > > That would be strange since I have the same GMP version.. > With these RH9 rpms: > > gmp-4.1.2-2 >

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php-src /ext/gmp config.m4 gmp.c php_gmp.h

2003-11-24 Thread Joe Orton
On Mon, Nov 24, 2003 at 05:47:09PM +0200, Jani Taskinen wrote: > > Actually, it propably is okay to just use __GMP_BITS_PER_MP_LIMB > and not include gmp-mparam.h at all? Ah, yes, that looks right: BITS_PER_MP_LIMB is only defined for arches where gmp has an assembler implementation; if g

[PHP-DEV] Re: [PHP-CVS] cvs: php-src / NEWS /ext/standard basic_functions.c basic_functions.h

2003-11-24 Thread Sebastian Bergmann
Ilia Alshanetsky wrote: > +typedef struct yy_buffer_state *YY_BUFFER_STATE; > + > +#include "zend.h" > +#include "zend_language_scanner.h" > +#include "zend_language_parser.h" On my Linux laptop basic_functions.c is compiled before the zend_language_{scanner|parser}.h files are created. -- S

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php-src /ext/gmp config.m4 gmp.c php_gmp.h

2003-11-24 Thread Jani Taskinen
Fixed. --Jani On Mon, 24 Nov 2003, Joe Orton wrote: >On Mon, Nov 24, 2003 at 05:47:09PM +0200, Jani Taskinen wrote: >> >> Actually, it propably is okay to just use __GMP_BITS_PER_MP_LIMB >> and not include gmp-mparam.h at all? > >Ah, yes, that looks right: BITS_PER_MP_LIMB

Re: [PHP-DEV] [PATCH] Image sharpening function for ext/gd

2003-11-24 Thread Paul Troughton
Second attempt at posting, this time hopefully with the patch as a MIME type that won't be stripped... On Nov 24, 2003, at 15:09, Paul Troughton wrote: Hello, I was surprised to find that, although the GD image-handling functions shipped with PHP do many useful things very well, there's no fun

Re: [PHP-DEV] Re: #26379 [NEW]: php with Interbase extention under FreeBSD must be linked with -lcrypt

2003-11-24 Thread Jani Taskinen
On Mon, 24 Nov 2003, Ard Biesheuvel wrote: >Nicol At Aokp Dot Ru wrote: >> From: nicol at aokp dot ru >> Operating system: FreeBSD 4.9 >> PHP version: 4.3.4 >> PHP Bug Type: Compile Failure >> Bug description: php with Interbase extention under FreeBSD must be linked with >>

[PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_API.c zend_builtin_functions.c zend_compile.c zend_compile.h zend_constants.c zend_execute.c zend_execute_API.c zend_reflection_api.c

2003-11-24 Thread Jan Lehnardt
Hi Andi, On 24 Nov 2003, at 19:13, Andi Gutmans wrote: - Fix __autoload() to preserve class case. - Heads up, this patch might break stuff so please let me know if you - bump into any problems. See http://jan.prima.de/~jan/test_php5_before_andi.txt and http://jan.prima.de/~jan/test_php5_after

[PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_API.c zend_builtin_functions.c zend_compile.c zend_compile.h zend_constants.c zend_execute.c zend_execute_API.c zend_reflection_api.c

2003-11-24 Thread Andi Gutmans
At 08:44 PM 11/24/2003 +0100, Jan Lehnardt wrote: Hi Andi, On 24 Nov 2003, at 19:13, Andi Gutmans wrote: - Fix __autoload() to preserve class case. - Heads up, this patch might break stuff so please let me know if you - bump into any problems. See http://jan.prima.de/~jan/test_php5_before_and

Re: [PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_API.c zend_builtin_functions.c zend_compile.c zend_compile.h zend_constants.c zend_execute.c zend_execute_API.c zend_reflection_api.c

2003-11-24 Thread Jan Lehnardt
Hi, On 24 Nov 2003, at 21:04, Andi Gutmans wrote: Hey, Can you please send me a small code snippet of something which worked before and doesn't work anymore. I knew stuff would break because I had to touch some very sensitive mechanisms but hopefully we'll iron out the problems quickly (if I get

[PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_API.c zend_builtin_functions.c zend_compile.c zend_compile.h zend_constants.c zend_execute.c zend_execute_API.c zend_reflection_api.c

2003-11-24 Thread Andi Gutmans
I commited a fix. I only tested it on one of the scripts you sent me. Thanks, Andi At 08:44 PM 11/24/2003 +0100, Jan Lehnardt wrote: Hi Andi, On 24 Nov 2003, at 19:13, Andi Gutmans wrote: - Fix __autoload() to preserve class case. - Heads up, this patch might break stuff so please let me know i

Re: [PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_API.c zend_builtin_functions.c zend_compile.c zend_compile.h zend_constants.c zend_execute.c zend_execute_API.c zend_reflection_api.c

2003-11-24 Thread Jan Lehnardt
Hi, On 24 Nov 2003, at 21:48, Andi Gutmans wrote: I commited a fix. I only tested it on one of the scripts you sent me. ok, seems fixed, I overlooked two more though: http://cvs.php.net/co.php/php-src/ext/standard/tests/array/007.phpt http://cvs.php.net/co.php/php-src/ext/standard/tests/array/ arr

[PHP-DEV] Re: [PHP-CVS] cvs: php-src /tests/classes array_access_001.phpt array_access_002.phpt array_access_003.phpt array_access_004.phpt ZendEngine2 zend_execute.c zend_interfaces.c zend_interfaces.h zend_object_handlers.c zend_operators.c zend_operators.h

2003-11-24 Thread Sebastian Bergmann
Marcus Boerger wrote: > Log: > Add new interface ArrayAccess to use objects as Arrays How about a ZEND_CHANGES entry for this? -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Das Buch zu PHP 5: http://professionelle-softwareentwicklung-mit-p

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php-src /tests/classes array_access_001.phpt array_access_002.phpt array_access_003.phpt array_access_004.phpt ZendEngine2 zend_execute.c zend_interfaces.c zend_interfaces.h zend_object_handlers.c zend_operators.c zend_operators.h

2003-11-24 Thread Marcus Boerger
Hello Sebastian, Monday, November 24, 2003, 10:37:50 PM, you wrote: > Marcus Boerger wrote: >> Log: >> Add new interface ArrayAccess to use objects as Arrays > How about a ZEND_CHANGES entry for this? Sure, keep cool :-) > -- > Sebastian Bergmann > http://sebastian-bergmann.de/

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php-src /tests/classes array_access_001.phpt array_access_002.phpt array_access_003.phpt array_access_004.phpt ZendEngine2 zend_execute.c zend_interfaces.c zend_interfaces.h zend_object_handlers.c zend_operators.c zend_operators.h

2003-11-24 Thread Michael Walter
And how about calling it Indexable, or something that can be used in a "is a" sentence? As in, you could say "MyArray is an Indexable", but "MyArray is an ArrayAccess" sounds just wrong ;) Cheers, Michael Marcus Boerger wrote: Hello Sebastian, Monday, November 24, 2003, 10:37:50 PM, you wrote:

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php-src /tests/classes array_access_001.phpt array_access_002.phpt array_access_003.phpt array_access_004.phpt ZendEngine2 zend_execute.c zend_interfaces.c zend_interfaces.h zend_object_handlers.c zend_operators.c zend_operators.h

2003-11-24 Thread Michael Walter
(Gotta admit though, that it goes okay with "implements". Not sure whether I still have a point, though, as still dealing with inheritance) And how about calling it Indexable, or something that can be used in a "is a" sentence? As in, you could say "MyArray is an Indexable", but "MyArray is an

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php-src /tests/classes array_access_001.phpt array_access_002.phpt array_access_003.phpt array_access_004.phpt ZendEngine2 zend_execute.c zend_interfaces.c zend_interfaces.h zend_object_handlers.c zend_operators.c zend_operators.h

2003-11-24 Thread Sebastian Bergmann
Marcus Boerger wrote: >> How about a ZEND_CHANGES entry for this? > Sure, keep cool :-) This was not intended to sound harsh, sorry. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Das Buch zu PHP 5: http://professionelle-softwareentwicklung-m