Re: [PHP-DEV] empty variables_order, was PHP CLI environment variables

2002-11-06 Thread Marcus Boerger
Interesting, i have $_ENV when variables_order is empty in ini using cli. But i still do get memory leaks. However i do get the expected result when i use -d option for the call. I also tested all the possible version to get this failed. [marcus@zaphod php4-HEAD]$ php -d "variables_order=\"\"" -r

Re: [PHP-DEV] empty variables_order, was PHP CLI environment variables

2002-11-06 Thread Melvyn Sopacua
At 13:52 6-11-2002, Marcus Boerger wrote: When ini setting variables_order is empty there are memory leaks in cgi as well as cli version. See below: marcus [marcus@zaphod marcus]$ echo "" ==> $_ENV isn't set in /bin/sh So memleaks on var_dump(void) Met vriendelijke groeten / With kind rega

[PHP-DEV] empty variables_order, was PHP CLI environment variables

2002-11-06 Thread Marcus Boerger
When ini setting variables_order is empty there are memory leaks in cgi as well as cli version. See below: marcus [marcus@zaphod marcus]$ echo "" | /usr/src/php4-ZE1/sapi/cgi/php-cgi /home/marcus/-(1) : Warning - Wrong parameter count for var_dump() Status: 200 Content-type: text/html X-Powered-

Re: [PHP-DEV] empty("0") issue

2001-11-19 Thread Zeev Suraski
Whatever the functionality is, it's here to stay :) At 07:13 19/11/2001, Chris Newbill wrote: >What ever came of this issue? I m running into a lot of instances lately >where this is very annoying. I ll check the archives latter just thought >I d ask. > > > >-Chris -- PHP Development Mail

[PHP-DEV] empty("0") issue

2001-11-18 Thread Chris Newbill
What ever came of this issue?  I’m running into a lot of instances lately where this is very annoying.  I’ll check the archives latter just thought I’d ask.   -Chris

Re: [PHP-DEV] empty("0")

2001-10-30 Thread Pierre-Alain Joye
On Tue, 30 Oct 2001 20:47:26 +0100 Hartmut Holzgraefe <[EMAIL PROTECTED]> wrote: > sterling hughes wrote: > > > I don't know if this has been discussed yet, but while we're getting all > > crazy with breaking compat in 4.1 and/or 5.0, why not go ahead and > > finally fix empty("0") t

Re: [PHP-DEV] empty("0")

2001-10-30 Thread Hartmut Holzgraefe
sterling hughes wrote: > I don't know if this has been discussed yet, but while we're getting all > crazy with breaking compat in 4.1 and/or 5.0, why not go ahead and > finally fix empty("0") to return false, like it really should (a > string with 0 in it, is *not* imho an empty s

[PHP-DEV] empty("0")

2001-10-30 Thread sterling hughes
I don't know if this has been discussed yet, but while we're getting all crazy with breaking compat in 4.1 and/or 5.0, why not go ahead and finally fix empty("0") to return false, like it really should (a string with 0 in it, is *not* imho an empty string). -Sterling -- PHP

[PHP-DEV] empty

2001-08-19 Thread GaM3R
is it possible to make empty and is_array etc. act the same as isset at the moment how you can do this   isset ( $_POST['name'], $_POST['email'], $_POST['phone'], $_POST['message'] )   it should also be documented that isset has this behaviour . . .     Cameron outworld.cx

[PHP-DEV] Empty RCS template entities

2001-03-29 Thread Jon Parise
The current RCS template contains: PR: Submitted by: Reviewed by: Obtained from: It's unnecessary to print one of those extra RCS template fields in the commit log if it's been left empty. Adding the attached script (procured from the FreeBSD project) to CVSROOT/ will strip the empty RCS lines