[PHP-DEV] Re: crc32() improvements

2004-06-13 Thread Ard Biesheuvel
Alexander Valyalkin wrote: 1) Automatic initialization of crc32tab[] at first call. So, the file crc32.h with definition of this tab is not nessesary any more now. First of all, crc32tab is no longer in the .text segment, so it will not be shared between forked processes, taking more memory

[PHP-DEV] simplexml build broken

2004-06-13 Thread Stanislav Malyshev
I'm trying to build php with simplexml from PHP5 CVS head, and it fails with a lot of undefined symbols like php_libxml_register_export, which are from ext/libxml. Looks like configure script does not configure libxml to build by default, moreover - I don't see a way to enable it either. Am I d

RE: [PHP-DEV] simplexml build broken

2004-06-13 Thread Steph
shouldn't there be an error message in that case? > -Original Message- > From: Marcus Boerger [mailto:[EMAIL PROTECTED] > Sent: 13 June 2004 13:15 > To: Stanislav Malyshev > Cc: PHP Development > Subject: Re: [PHP-DEV] simplexml build broken > > > Hello Stanislav, > > libxml is configured

Re: [PHP-DEV] simplexml build broken

2004-06-13 Thread Stanislav Malyshev
MB>>libxml is configured by --enable-libxml which is required by MB>>simplexml. The only way this could fail is that no libxml directory is MB>>found. Can you check that? No, libxml was in place. Clean checkout seems to build, so looks like I somehow has managed to break my configure script in th

Re: [PHP-DEV] simplexml build broken

2004-06-13 Thread Marcus Boerger
Hello Stanislav, libxml is configured by --enable-libxml which is required by simplexml. The only way this could fail is that no libxml directory is found. Can you check that? marcus Sunday, June 13, 2004, 1:46:23 PM, you wrote: > I'm trying to build php with simplexml from PHP5 CVS head, and i

Re: [PHP-DEV] str_repeat() patch

2004-06-13 Thread Michael Walter
Well, surely memmove() needs an additional branch to check for overlapping, though (the OP was wrong in that memmove() would need a temporary buffer, though - it doesn't, it usually copies from high addres to low in the overlapping case). Cheers, Michael George Schlossnagle wrote: On Jun 12, 20

Re: [PHP-DEV] str_repeat() patch

2004-06-13 Thread Stefan Esser
Michael Walter wrote: Well, surely memmove() needs an additional branch to check for overlapping, though (the OP was wrong in that memmove() would need a temporary buffer, though - it doesn't, it usually copies from high addres to low in the overlapping case). The whole discussion about memcpy b

Re: [PHP-DEV] str_repeat() patch

2004-06-13 Thread Michael Walter
Stefan Esser wrote: The whole discussion about memcpy beeing faster than memmove is completely pointless. [..] Agreed. Cheers, Michael -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Pack function : a suggestion - allow array as second argument.

2004-06-13 Thread l0t3k
Scenario : i have an extension which requires an external binary (data) file. Since the extension has to be cross platform, the data file has to be built on the target platform to ensure that there are no endian issues. Therefore, i transform the file into a csv file of byte values, hoping to use

Re: [PHP-DEV] Pack function : a suggestion - allow array as second argument.

2004-06-13 Thread Derick Rethans
On Sun, 13 Jun 2004, l0t3k wrote: > Suggestion: > Allow for an array as the second parameter. That way all i need to do is : Why not use call_user_func_array? See: http://no2.php.net/call_user_func_array regards, Derick -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, vi

Re: [PHP-DEV] Pack function : a suggestion - allow array as second argument.

2004-06-13 Thread l0t3k
thanks, i hadn't noticed that. still in the interest of efficiency i think an array should be allowed. or am i the only one having to use Pack on large sets of data ? "Derick Rethans" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Sun, 13 Jun 2004, l0t3k wrote: > Why not use cal

[PHP-DEV] CVS Account Request: holst

2004-06-13 Thread Jonathan Holst
Translating the manual into Danish. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

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

2004-06-13 Thread Tom Sommer
Jonathan Holst wrote: Translating the manual into Danish. I can vouch for him -- Tom Sommer, da-doc translation editor -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] crc32() improvements

2004-06-13 Thread Curt Zirzow
* Thus wrote Alexander Valyalkin ([EMAIL PROTECTED]): > Here is improved version of crc32() function. > Features: > 1) Automatic initialization of crc32tab[] at first call. >So, the file crc32.h with definition of this tab is not >nessesary any more now. I'm not sure what advantage this is

[PHP-DEV] CVS Account Request: tera18

2004-06-13 Thread JOe Lu
Translating the documentation -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php