Re: [PHP-CVS] cvs: php-src /ext/standard basic_functions.c streamsfuncs.c streamsfuncs.h /ext/standard/tests/streams stream_context_get_params_001.phpt

2008-11-13 Thread Arnaud Le Blanc
Hi, On Thursday 13 November 2008 20:34:09 Marcus Boerger wrote: > Hello Arnaud, > > Thursday, November 13, 2008, 6:46:51 AM, you wrote: > > > lbarnaudThu Nov 13 05:46:51 2008 UTC > > > Added files: > > /php-src/ext/standard/tests/streams > >

Re: [PHP-CVS] cvs: php-src /ext/standard basic_functions.c streamsfuncs.c streamsfuncs.h /ext/standard/tests/streams stream_context_get_params_001.phpt

2008-11-13 Thread Marcus Boerger
Hello Arnaud, Thursday, November 13, 2008, 6:46:51 AM, you wrote: > lbarnaudThu Nov 13 05:46:51 2008 UTC > Added files: > /php-src/ext/standard/tests/streams > > stream_context_get_params_001.phpt >

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

2008-08-21 Thread Antony Dovgal
On 20.08.2008 22:09, Stanislav Malyshev wrote: Hi! static int add_config_entry_cb(zval *entry TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) { - zval *retval = (zval *) va_arg(args, int); + zval *retval = (zval *)(long)va_arg(args, int); Any reason why you fetc

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

2008-08-20 Thread Stanislav Malyshev
Hi! static int add_config_entry_cb(zval *entry TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) { - zval *retval = (zval *) va_arg(args, int); + zval *retval = (zval *)(long)va_arg(args, int); Any reason why you fetch int if you need zval *? Also, zval * doesn't

Re: [PHP-CVS] cvs: php-src /ext/standard basic_functions.c math.c php_math.h /ext/standard/tests/math acosh_basic.phpt acosh_error.phpt acosh_variation.phpt asinh_basic.phpt asinh_error.phpt asinh_va

2008-05-06 Thread Kalle Sommer Nielsen
Quoting Nuno Lopes <[EMAIL PROTECTED]>: Please add the 'static' qualifier to your new php_* functions. Thanks, Nuno - Original Message - From: "Kalle Sommer Nielsen" <[EMAIL PROTECTED]> To: ; <[EMAIL PROTECTED]> Sent: Monday, May 05, 2008 7:28 AM Subject: [PHP-CVS] cvs: php-src /ext/s

Re: [PHP-CVS] cvs: php-src /ext/standard basic_functions.c math.c php_math.h /ext/standard/tests/math acosh_basic.phpt acosh_error.phpt acosh_variation.phpt asinh_basic.phpt asinh_error.phpt asinh_va

2008-05-05 Thread Nuno Lopes
Please add the 'static' qualifier to your new php_* functions. Thanks, Nuno - Original Message - From: "Kalle Sommer Nielsen" <[EMAIL PROTECTED]> To: ; <[EMAIL PROTECTED]> Sent: Monday, May 05, 2008 7:28 AM Subject: [PHP-CVS] cvs: php-src /ext/standard basic_functions.c math.c php_ma

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

2008-04-15 Thread Hannes Magnusson
Looks like a good compromise. I'd argue the ini_get_all() addition is fine too. It looks like you forgot the FE entry though.. -Hannes On Tue, Apr 15, 2008 at 10:43 AM, Jani Taskinen <[EMAIL PROTECTED]> wrote: > janiTue Apr 15 08:43:48 2008 UTC > > Modified files: > /php-src/ex

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

2008-02-04 Thread Jani Taskinen
Please send patches, I'm very interested. :) Perhaps we can combine the work I already did in this.. --Jani On Mon, 2008-02-04 at 13:17 +0100, Marcus Boerger wrote: > Hello Jani, > > I did some experiments with b) and I would indeed ignore everything > that is configured out. I'll send you a

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

2008-02-04 Thread Marcus Boerger
Hello Jani, I did some experiments with b) and I would indeed ignore everything that is configured out. I'll send you a patch as soon as I have somethign that works. For getting the variables into the configuratrion hash prior to parsing the INI I can send you the patch tonight if you care how I

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

2008-02-04 Thread Jani Taskinen
a) requires that certain constants are defined prior to parse happens (I have patch for that waiting for commit already) b) Also requires the patch for constants but also a lot more modifications to the parser. I've been working on adding the if..else stuff but haven't had much time lately. It wo

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

2008-02-04 Thread Marcus Boerger
Hello Jani, I am trying to add stuff to configuration hash prior to calling the ini parser and then somehow allowing the parser for instance to act on the version of php, whether it is a debug build, and whether it is a zts build. That way I could have one config that loads the correct xdebug ex

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

2008-02-04 Thread Jani Taskinen
Like what stuff? :) --Jani On Mon, 2008-02-04 at 11:40 +0100, Marcus Boerger wrote: > Hello Jani, > > for the moment probably only ofr me. But I am working on more stuff. > > marcus > > Monday, February 4, 2008, 10:28:09 AM, you wrote: > > > This function was actually just for debugging. I

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

2008-02-04 Thread Marcus Boerger
Hello Jani, for the moment probably only ofr me. But I am working on more stuff. marcus Monday, February 4, 2008, 10:28:09 AM, you wrote: > This function was actually just for debugging. I didn't include it in by > default since I don't think it has much value to the end users..:) > Did you f

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

2008-02-04 Thread Jani Taskinen
This function was actually just for debugging. I didn't include it in by default since I don't think it has much value to the end users..:) Did you find some real usage for it? --Jani On Sun, 2008-02-03 at 14:35 +, Marcus Boerger wrote: > helly Sun Feb 3 14:35:29 2008 UTC > > Modi

Re: [PHP-CVS] cvs: php-src /ext/standard basic_functions.c php_string.h string.c /ext/standard/tests/strings lcfirst.phpt

2008-01-27 Thread David Coallier
On Jan 27, 2008 2:36 PM, Hannes Magnusson <[EMAIL PROTECTED]> wrote: > 2008/1/19 David Coallier <[EMAIL PROTECTED]>: > > davidc Sat Jan 19 19:23:25 2008 UTC > > > > Added files: > > /php-src/ext/standard/tests/strings lcfirst.phpt > > > > Modified files: > > /php-src/ext/standa

Re: [PHP-CVS] cvs: php-src /ext/standard basic_functions.c php_string.h string.c /ext/standard/tests/strings lcfirst.phpt

2008-01-27 Thread Hannes Magnusson
2008/1/19 David Coallier <[EMAIL PROTECTED]>: > davidc Sat Jan 19 19:23:25 2008 UTC > > Added files: > /php-src/ext/standard/tests/strings lcfirst.phpt > > Modified files: > /php-src/ext/standard basic_functions.c php_string.h string.c > Log: > - Added lcfirst() funct

Re: [PHP-CVS] cvs: php-src /ext/standard basic_functions.c /ext/standard/tests/network ip_x86_64.phpt

2007-09-03 Thread Marcus Boerger
Hello Derick, Saturday, September 1, 2007, 8:37:27 PM, you wrote: > derick Sat Sep 1 18:37:27 2007 UTC > Added files: > /php-src/ext/standard/tests/network ip_x86_64.phpt > Modified files: > /php-src/ext/standard basic_functions.c >

Re: [PHP-CVS] cvs: php-src /ext/standard basic_functions.c php_string.h string.c /ext/unicode locale.c php_unicode.h unicode.c

2006-03-23 Thread Andrei Zmievski
Right. But in your commit message you said: There is also an implementation for unicode ucwords but that returns different results then strtotitle as it uppercases the first character of every word, and doesn't *titlecase* a word. That's why I asked why "titlecase" != "uppercase firs

Re: [PHP-CVS] cvs: php-src /ext/standard basic_functions.c php_string.h string.c /ext/unicode locale.c php_unicode.h unicode.c

2006-03-23 Thread Derick Rethans
On Wed, 22 Mar 2006, Andrei Zmievski wrote: > Derick, > > What do you think "titlecase" means in non-Unicode world? ucwords? :) Derick -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-CVS] cvs: php-src /ext/standard basic_functions.c php_string.h string.c /ext/unicode locale.c php_unicode.h unicode.c

2006-03-22 Thread Andrei Zmievski
Derick, What do you think "titlecase" means in non-Unicode world? -Andrei On Mar 22, 2006, at 2:20 AM, Derick Rethans wrote: derick Wed Mar 22 10:20:20 2006 UTC Modified files: /php-src/ext/standard basic_functions.c php_string.h string.c /php-src/ext/unicode

RE: [PHP-CVS] cvs: php-src /ext/standard basic_functions.c

2005-09-15 Thread Dmitry Stogov
rsday, September 15, 2005 8:17 PM > To: Dmitry Stogov > Cc: php-cvs@lists.php.net; 'Andi Gutmans'; 'Zeev Suraski' > Subject: Re: [PHP-CVS] cvs: php-src /ext/standard basic_functions.c > > > Dmitry, > > While passing by ref in this case would be a bit

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

2005-09-15 Thread Ilia Alshanetsky
;Ilia Alshanetsky'; php-cvs@lists.php.net; Andi Gutmans; >>Zeev Suraski >>Subject: Re: [PHP-CVS] cvs: php-src /ext/standard basic_functions.c >> >> >>Dmitry Stogov wrote: >> >>>Are you sure? >>>Passing by value may copy whole array. >&

RE: [PHP-CVS] cvs: php-src /ext/standard basic_functions.c

2005-09-14 Thread Dmitry Stogov
> Cc: 'Ilia Alshanetsky'; php-cvs@lists.php.net; Andi Gutmans; > Zeev Suraski > Subject: Re: [PHP-CVS] cvs: php-src /ext/standard basic_functions.c > > > Dmitry Stogov wrote: > > Are you sure? > > Passing by value may copy whole array. > >

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

2005-09-14 Thread Marcus Boerger
Hello Ilia, ilia, only as long as refcount = 1! If not it will be thousad times slower. Again another reaason i wanted to have const passing! marcus Wednesday, September 14, 2005, 4:11:10 PM, you wrote: > Dmitry Stogov wrote: >> Are you sure? >> Passing by value may copy whole array. > It ma

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

2005-09-14 Thread Ilia Alshanetsky
Dmitry Stogov wrote: > Are you sure? > Passing by value may copy whole array. It makes the functions a TINY bit slower 0.06 seconds for 100 itterations, but makes it possible to pass return values of functions that return arrays. Ilia -- PHP CVS Mailing List (http://www.php.net/) To unsubsc

RE: [PHP-CVS] cvs: php-src /ext/standard basic_functions.c

2005-09-13 Thread Dmitry Stogov
Are you sure? Passing by value may copy whole array. Dmitry. > -Original Message- > From: Ilia Alshanetsky [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 13, 2005 5:23 PM > To: php-cvs@lists.php.net > Subject: [PHP-CVS] cvs: php-src /ext/standard basic_functions.c > > > iliaa

Re: [PHP-CVS] cvs: php-src /ext/standard basic_functions.c math.c php_math.h /ext/standard/tests/math math_std_dev.phpt

2005-05-10 Thread Andi Gutmans
Yeah I know I'm lagging. Currently on vacation :) We don't usually use a rule of commonly used names in PH, but names that follow our coding standards. Personally, I also don't think std_dev is that common that everyone knows what it stands for (although they can guess). I don't bump into std_de

Re: [PHP-CVS] cvs: php-src /ext/standard basic_functions.c math.c php_math.h /ext/standard/tests/math math_std_dev.phpt

2005-05-10 Thread Andi Gutmans
Damn right! :) At 01:37 PM 5/2/2005 +0300, Jani Taskinen wrote: Why the cryptic name? Why not math_standard_deviation() ? And I'm pretty sure Andi will ask the same soon.. :) --Jani On Mon, 2 May 2005, Andrey Hristov wrote: andrey Mon May 2 05:17:50 2005 EDT Added files: /

Re: [PHP-CVS] cvs: php-src /ext/standard basic_functions.c math.c php_math.h /ext/standard/tests/math math_std_dev.phpt

2005-05-02 Thread Andrey Hristov
Good catch! Stefan Esser wrote: Why not catching division by zero? Stefan Andrey Hristov wrote: andreyMon May 2 05:17:50 2005 EDT Added files: /php-src/ext/standard/tests/math math_std_dev.phpt Modified files: /php-src/ext/standard basic_f

Re: [PHP-CVS] cvs: php-src /ext/standard basic_functions.c math.c php_math.h /ext/standard/tests/math math_std_dev.phpt

2005-05-02 Thread Stefan Esser
Why not catching division by zero? Stefan Andrey Hristov wrote: andrey Mon May 2 05:17:50 2005 EDT Added files: /php-src/ext/standard/tests/math math_std_dev.phpt Modified files: /php-src/ext/standard basic_functions.c math.c php_math.h Log:

Re: [PHP-CVS] cvs: php-src /ext/standard basic_functions.c math.c php_math.h /ext/standard/tests/math math_std_dev.phpt

2005-05-02 Thread Andrey Hristov
Let's see then :) Andrey Jani Taskinen wrote: Why the cryptic name? Why not math_standard_deviation() ? And I'm pretty sure Andi will ask the same soon.. :) --Jani On Mon, 2 May 2005, Andrey Hristov wrote: andreyMon May 2 05:17:50 2005 EDT Added files: /php-src/ext/standa

Re: [PHP-CVS] cvs: php-src /ext/standard basic_functions.c math.c php_math.h /ext/standard/tests/math math_std_dev.phpt

2005-05-02 Thread Jani Taskinen
Why the cryptic name? Why not math_standard_deviation() ? And I'm pretty sure Andi will ask the same soon.. :) --Jani On Mon, 2 May 2005, Andrey Hristov wrote: andrey Mon May 2 05:17:50 2005 EDT Added files: /php-src/ext/standard/tests/math math_std_dev.phpt Modified

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

2004-09-25 Thread Wez Furlong
On Sat, 25 Sep 2004 13:19:51 -, Anantha Kesari H Y <[EMAIL PROTECTED]> wrote: > hyanantha Sat Sep 25 09:19:51 2004 EDT > > Modified files: > /php-src/ext/standard basic_functions.c > Log: > cleaned up confusing NetWare specific check. disabled chown and chgrp for

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

2004-09-21 Thread Wez Furlong
Yeah, shouldn't hurt anyone. Check with Ilia before merging to 4_3 though... :) --Wez. Andrey Hristov wrote: Wez Furlong wrote: wezMon Sep 20 18:08:07 2004 EDT Modified files: /php-src/ext/standard basic_functions.c math.c Log: Enable hypot for all Do you think

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

2004-09-21 Thread Andrey Hristov
Wez Furlong wrote: wez Mon Sep 20 18:08:07 2004 EDT Modified files: /php-src/ext/standard basic_functions.c math.c Log: Enable hypot for all Do you think it is feasible the fix to be merged in 4_3 and 5_0 ? Andrey -- PHP CVS Mailing List (http://www.php.net/)

Re: Re: [PHP-CVS] cvs: php-src /ext/standard basic_functions.c syslog.c /win32 globals.c php_win32_globals.h pwd.c time.c wsyslog.c /win32/build config.w32

2004-07-30 Thread Frank M. Kromann
I'll do that when I get to work in an hour or so. Wez: What about the ini patch (zend_ini.c). That shhould be merged to 4.x and 5.0 as well. The problem exists there as well. - Frank > Merged to 5.0 and 4.3. > I don't have VC6 installed, so someone will need to update the .dsp > file, and also t

Re: Re: [PHP-CVS] cvs: php-src /ext/standard basic_functions.c syslog.c /win32 globals.c php_win32_globals.h pwd.c time.c wsyslog.c /win32/build config.w32

2004-07-30 Thread Wez Furlong
Merged to 5.0 and 4.3. I don't have VC6 installed, so someone will need to update the .dsp file, and also test that it does actually compile under 4.3. --Wez. On Fri, 30 Jul 2004 14:34:02 +0200, Edin Kadribasic <[EMAIL PROTECTED]> wrote: > OK. Can we have this merged alredy? > > Edin -- PHP CV

Re: [PHP-CVS] cvs: php-src /ext/standard basic_functions.c syslog.c /win32 globals.c php_win32_globals.h pwd.c time.c wsyslog.c /win32/build config.w32

2004-07-30 Thread Edin Kadribasic
OK. Can we have this merged alredy? Edin Wez Furlong wrote: Yeah :) I wonder how many "encountered an access violation" reports were caused by this. --Wez. Andi Gutmans wrote: How did these survive for such a long time? :) At 02:59 AM 7/29/2004 +, Wez Furlong wrote: wez Wed Jul 28

Re: [PHP-CVS] cvs: php-src /ext/standard basic_functions.c syslog.c /win32 globals.c php_win32_globals.h pwd.c time.c wsyslog.c /win32/build config.w32

2004-07-30 Thread Wez Furlong
Yeah :) I wonder how many "encountered an access violation" reports were caused by this. --Wez. Andi Gutmans wrote: How did these survive for such a long time? :) At 02:59 AM 7/29/2004 +, Wez Furlong wrote: wez Wed Jul 28 22:59:44 2004 EDT Added files: /php-src/win32 gl

Re: [PHP-CVS] cvs: php-src /ext/standard basic_functions.c syslog.c /win32 globals.c php_win32_globals.h pwd.c time.c wsyslog.c /win32/build config.w32

2004-07-30 Thread Antony Dovgal
On Thu, 29 Jul 2004 23:58:14 -0700 Andi Gutmans <[EMAIL PROTECTED]> wrote: >>Wed Jul 28 22:59:44 2004 EDT > How did these survive for such a long time? :) Everybody was just sleeping =) --- WBR, Antony Dovgal aka tony2001 [EMAIL PROTECTED] || [EMAIL PROTECTED] -- PHP CVS Mailing List (http:/

Re: [PHP-CVS] cvs: php-src /ext/standard basic_functions.c syslog.c /win32 globals.c php_win32_globals.h pwd.c time.c wsyslog.c /win32/build config.w32

2004-07-29 Thread Andi Gutmans
How did these survive for such a long time? :) At 02:59 AM 7/29/2004 +, Wez Furlong wrote: wez Wed Jul 28 22:59:44 2004 EDT Added files: /php-src/win32 globals.c php_win32_globals.h Modified files: /php-src/ext/standard basic_functions.c syslog.c /php-src/

Re: [PHP-CVS] cvs: php-src /ext/standard basic_functions.c syslog.c /win32 globals.c php_win32_globals.h pwd.c time.c wsyslog.c /win32/build config.w32

2004-07-29 Thread Antony Dovgal
On Thu, 29 Jul 2004 12:13:05 +0400 Antony Dovgal <[EMAIL PROTECTED]> wrote: > On Thu, 29 Jul 2004 02:59:44 - > "Wez Furlong" <[EMAIL PROTECTED]> wrote: > > > wez Wed Jul 28 22:59:44 2004 EDT > > > > Added files: > > /php-src/win32 globals.c php_win32_globals.h

Re: [PHP-CVS] cvs: php-src /ext/standard basic_functions.c syslog.c /win32 globals.c php_win32_globals.h pwd.c time.c wsyslog.c /win32/build config.w32

2004-07-29 Thread Antony Dovgal
On Thu, 29 Jul 2004 02:59:44 - "Wez Furlong" <[EMAIL PROTECTED]> wrote: > wez Wed Jul 28 22:59:44 2004 EDT > > Added files: > /php-src/win32globals.c php_win32_globals.h > > Modified files: > /php-src/ext/standard basic_functions.

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

2004-03-29 Thread Ard Biesheuvel
Andi Gutmans wrote: FreeBSD doesn't reach that rule. I meant, I tested it on FreeBSD before even suggesting it as a solution to Marcus: [EMAIL PROTECTED]:~$ uname -a FreeBSD romeo.mindwarp 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Thu Sep 11 14:29:33 CEST 2003 [EMAIL PROTECTED]:/usr/src/sys/compile/R

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

2004-03-29 Thread Andi Gutmans
FreeBSD doesn't reach that rule. At 04:47 PM 3/29/2004 +0200, Ard Biesheuvel wrote: Andi Gutmans wrote: Not sure on what platforms you expect the last #else to be reached but it would raise a sigfloatingpoint on FreeBSD. Dividing by zero does not seem like a good idea. Actually, one of the platf

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

2004-03-29 Thread Ard Biesheuvel
Andi Gutmans wrote: Not sure on what platforms you expect the last #else to be reached but it would raise a sigfloatingpoint on FreeBSD. Dividing by zero does not seem like a good idea. Actually, one of the platforms I tested this on is FreeBSD, and it was no problem at all. SIGFPE is raised by

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

2004-03-28 Thread Marcus Boerger
Hello Andi, i updated the source on a mips machine (thx Joerg) and here is the relevant configure part: checking for fpclass... yes checking for isinf... no checking for isnan... yes checking whether atof() accepts NAN... yes checking whether atof() accepts INF... no that means INF will be handle

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

2004-03-28 Thread Marcus Boerger
Hello Andi, it's just a fall back that for example works on intel and alpha machines. FreeBSD should use the direct setting (1st #if) on intel and the atof() way for other cpus. The problem here is i cannot check all systems but i could offer three solutions so far of which the first two work on m

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

2004-03-28 Thread Andi Gutmans
Not sure on what platforms you expect the last #else to be reached but it would raise a sigfloatingpoint on FreeBSD. Dividing by zero does not seem like a good idea. Andi At 09:46 PM 3/28/2004 +, Marcus Boerger wrote: #include "php_streams.h" @@ -957,9 +957,10 @@ ((php_uint32*)&val

Re: [PHP-CVS] cvs: php-src /ext/standard basic_functions.c /ext/standard/tests/math bug27646.phpt

2004-03-26 Thread Marcus Boerger
EMAIL PROTECTED]> > To: "Wez Furlong" <[EMAIL PROTECTED]> > Cc: "Marcus Boerger" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > Sent: Friday, March 26, 2004 7:32 PM > Subject: Re: [PHP-CVS] cvs: php-src /ext/standard basic_functions.c > /ext/st

Re: [PHP-CVS] cvs: php-src /ext/standard basic_functions.c /ext/standard/tests/math bug27646.phpt

2004-03-26 Thread Wez Furlong
>; <[EMAIL PROTECTED]> Sent: Friday, March 26, 2004 7:32 PM Subject: Re: [PHP-CVS] cvs: php-src /ext/standard basic_functions.c /ext/standard/tests/math bug27646.phpt > Hello Wez, > > the general idea is from other source (one that MS copied from ..i forgot > the details). On t

Re: [PHP-CVS] cvs: php-src /ext/standard basic_functions.c /ext/standard/tests/math bug27646.phpt

2004-03-26 Thread Marcus Boerger
Hello Wez, the general idea is from other source (one that MS copied from ..i forgot the details). On the mentioned systems a double is 8 bytes (wow). And hence i need to DWORDS to set it, one gein the high DWORD and one the low. Does that sound meaningful enough - or do you have a better idea for

Re: [PHP-CVS] cvs: php-src /ext/standard basic_functions.c /ext/standard/tests/math bug27646.phpt

2004-03-25 Thread Wez Furlong
> +#define PHP_DOUBLE_INFINITY_HIGH 0x7ff0 > +#define PHP_DOUBLE_QUIET_NAN_HIGH 0xfff8 > + > +static double php_get_inf() > +{ > +#if defined(__i386__) || defined(_X86_) || defined(ALPHA) || defined(_ALPHA) || defined(__alpha) > + double val; > + ((php_uint32*)&val)[1] = PHP_DOU

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

2003-12-19 Thread Andi Gutmans
This doesn't look right. Don't you mean to check Z_STRLEN_PP(str) == 0? "" has a static address. Andi At 01:33 PM 12/19/2003 +, Ilia Alshanetsky wrote: Z_STRVAL_PP(str) == "" -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2003-08-22 Thread Derick Rethans
On Wed, 20 Aug 2003, Brian France wrote: > bfrance Wed Aug 20 16:51:11 2003 EDT > > Modified files: > /php-src/ext/standard head.h head.c basic_functions.c > Log: > > Added a parameter to php_setcookie to toggle URL encoding of the cookie data > Add

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

2003-08-20 Thread Adam Maccabee Trachtenberg
On Wed, 20 Aug 2003, Brian France wrote: > bfrance Wed Aug 20 16:51:11 2003 EDT > > Modified files: > /php-src/ext/standard head.h head.c basic_functions.c > Log: > > Added a parameter to php_setcookie to toggle URL encoding of the cookie data > Add