Re: [PHP-DEV] Help with generating a stack trace on IIS6

2006-05-01 Thread Wez Furlong
Switching to linking against the release build of libc should help. Change /MDd to /MD in the dsp/dsw or whatever it is. --Wez. On 4/30/06, Sharad Gupta <[EMAIL PROTECTED]> wrote: Ok, when I compile a "release" version .. I dont get "no input file specified" error when opening php scripts in br

[PHP-DEV] ext/filter, add input_get_args, support of scalar or array result

2006-05-01 Thread Pierre
Hello, Here is another patch for ext/filter (I still wait the answer for the other one about decimal separator...). This patchs adds the input_get_args function. This functions allows to fetch all input you like in one call using a definition array. It is also more flexible than input_get as you

Re: [PHP-DEV] ext/filter, add input_get_args, support of scalar or array result

2006-05-01 Thread Pierre
hello, I forgot the scalar/array part :) I also added FILTER_FLAG_SCALAR and FILTER_FLAG_ARRAY. These flags let you choose if you allow scalar only or array. For example: foo.php?a[]=1&a[]=2 will be invalid if you use the FILTER_FLAG_SCALAR. I like to add this feature to input_get as well. FIL

[PHP-DEV] escaping braces

2006-05-01 Thread Brian Moon
There are severals bugs about this and I would like some clarification. http://bugs.php.net/bug.php?id=35527 http://bugs.php.net/bug.php?id=37263 Reproduce: --- PHP4: -- ... abc ... ... {abc} ... PHP 5.1.2: --- ... abc ... ... \{abc} ... === Now, I

[PHP-DEV] Re: ext/filter, add input_get_args, support of scalar or array result

2006-05-01 Thread Pierre
On Mon, 1 May 2006 16:17:54 +0200 [EMAIL PROTECTED] (Pierre) wrote: > I also like to change input_get behaviors. We actually have no way to > know if a variable does not exists or is invalid. Both return NULL. > > I like to return false when a variable does not fit the condition and > NULL when

Re: [PHP-DEV] resources vs objects?

2006-05-01 Thread Andrey Hristov
Hi, Brandon Fosdick wrote: From the point of view of an extension, what's the difference between a resource and an object? Is there any reason to favor one over the other? sqlite seems to use resources for the procedural interface and objects otherwise. Whereas mysqli uses objects all arou

Re: [PHP-DEV] [PATCH] LDAP module patch (adding new functionality).

2006-05-01 Thread Marcus Boerger
Hello Ignacio, thanks for your efforts so far. What the test is missing now is that skipif doesn't detect whether an ldap server can be connected after all, just like the database test's skipif try to connect the database. Maybe you need some settings, prefereable in environment variables for th

Re: [PHP-DEV] ext/filter, add input_get_args, support of scalar or array result

2006-05-01 Thread Rasmus Lerdorf
Pierre wrote: I put a small example here: http://pecl.php.net/~pierre/filter_input_get_args_example.phps and the patch: http://pecl.php.net/~pierre/patch_filter_input_get_args.txt I think this looks ok. I have been trying to come up with a shorter and cleaner syntax to specify these things,