Re: [PHP-DEV] Re: Crypt salts not random.. (fwd)

2001-04-29 Thread Andi Gutmans
At 02:50 PM 4/29/2001 +0300, Zeev Suraski wrote: So it's probably not a lot more random than it was before... I think it is because the time of the rinit()'s are different now (unless some of them run at exactly the same time). Andi Zeev At 15:44 29/4/2001, Andi Gutmans wrote: At 02:35 PM 4

[PHP-DEV] Interbase problem

2001-04-29 Thread Andi Gutmans
Hi, Can you please check the following bug report? http://www.php.net/bugs.php?id=10458edit=1 Thanks, Andi -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators,

[PHP-DEV] 4.0.6

2001-04-29 Thread Andi Gutmans
Guys, I think that despite the release of 4.0.5 tomorrow we are pretty close to having an RC1 for 4.0.6. Lots of things have been fixed/added since 4.0.5 (check the NEWS file). Can we make a list of things which still need to make it into 4.0.6 before we branch? Andi -- PHP Development

Re: [PHP-DEV] Re: Crypt salts not random.. (fwd)

2001-04-29 Thread Andi Gutmans
At 09:42 PM 4/29/2001 +0200, Jani Taskinen wrote: This is the line in question: php_srand(time(0) * getpid() * (php_combined_lcg() * 1.0)); This is now (in my patch) in RINIT and thus it is a different pid it doesn't matter if the RINIT happens the same second.. Or did I misunderstood

Re: [PHP-DEV] Output seems to be out of order

2001-04-29 Thread Andi Gutmans
You are confused :) What you did is: echo expr1 . expr2; meaning echo the expr1 concatenated with expr2. Both expressions are evaluated before the concatenation occurs. so print_r(posix_uname()) is evaluated first and prints out the posix uname info. The return value is 1 for success so what

Re: [PHP-DEV] Re: Crypt salts not random.. (fwd)

2001-04-29 Thread Andi Gutmans
At 10:01 PM 4/29/2001 +0200, Jani Taskinen wrote: On Sun, 29 Apr 2001, Andi Gutmans wrote: At 09:42 PM 4/29/2001 +0200, Jani Taskinen wrote: This is the line in question: php_srand(time(0) * getpid() * (php_combined_lcg() * 1.0)); This is now (in my patch) in RINIT and thus

Re: [PHP-DEV] 4.0.6

2001-04-29 Thread Andi Gutmans
At 10:09 PM 4/29/2001 +0200, [EMAIL PROTECTED] wrote: On Sun, 29 Apr 2001, Andi Gutmans wrote: Guys, I think that despite the release of 4.0.5 tomorrow we are pretty close to having an RC1 for 4.0.6. Lots of things have been fixed/added since 4.0.5 (check the NEWS file). Can we make

Re: [PHP-DEV] 4.0.6

2001-04-29 Thread Andi Gutmans
At 04:06 AM 4/29/2001 -0400, Sterling Hughes wrote: On Sun, 29 Apr 2001, Andi Gutmans wrote: Guys, I think that despite the release of 4.0.5 tomorrow we are pretty close to having an RC1 for 4.0.6. Lots of things have been fixed/added since 4.0.5 (check the NEWS file). Can we make

Re: [PHP-DEV] imap_mail_compose(): suggested bugfixes and improvements. Patch included

2001-04-29 Thread Andi Gutmans
Please also address the maintainers (written on the top of the .c file) to make sure this gets the right attention. Andi At 01:24 AM 4/30/2001 +0200, Johan Ekenberg wrote: Hi! I've been working a lot with the imap_*() functions in PHP lately, and have discovered a few shortcomings in the

Re: [PHP-DEV] Logic in sapi/cgi/cgi_main.c

2001-04-29 Thread Andi Gutmans
Can you give an example of how it looks with request_uri and how it looks with both? Then it'll be easier for someone like me who doesn't know the standard too well to check the PHP manual and the HTTP standard to see what the correct behavior should be. Andi At 07:55 AM 4/29/2001 -0400,

RE: [PHP-DEV] 4.0.6

2001-04-29 Thread Andi Gutmans
At 11:36 PM 4/29/2001 +0100, James Moore wrote: snip K I have a list of bugs that need to be at least reviewed by the appropraite developers, this list needs to be added to/altered etc can you please send feedback on which issues should be fixed before 4.0.6, there are some there that will not be

Re: [PHP-DEV] Troubles with DL'ed module

2001-04-28 Thread Andi Gutmans
At 12:20 AM 4/28/2001 -0500, Brian Foddy wrote: Both were compiled with debug ON. I'll try them off. I'm away for the weekend but will try it Sunday night or Monday. There is a known bug that if you load a shared library with dl(), compiled with debug and it leaks memory that it will crash.

Re: [PHP-DEV] intval($resource)

2001-04-28 Thread Andi Gutmans
At 08:28 AM 4/28/2001 -0400, Joe Brown wrote: Having said that, 1. is there a good reason OCI shouldn't free the resource reguardless of the reference count? There are different ways to look at this. Some people might think it should and some might think it shouldn't. I'm not even completely

Re: [PHP-DEV] intval($resource)

2001-04-28 Thread Andi Gutmans
At 08:50 PM 4/28/2001 +0200, Thies C. Arntzen wrote: On Sat, Apr 28, 2001 at 06:12:19PM +0200, Andi Gutmans wrote: At 08:28 AM 4/28/2001 -0400, Joe Brown wrote: Having said that, 1. is there a good reason OCI shouldn't free the resource reguardless of the reference count

Re: [PHP-DEV] dirname() implementation question

2001-04-28 Thread Andi Gutmans
At 02:42 PM 4/28/2001 -0400, Sean R. Bright wrote: What was the thinking behind this bit of code from dirname() (ext/standard/string.c:799): PHPAPI void php_dirname(char *path, int len) { ... /* Strip trailing slashes */ --- This? while (end = path IS_SLASH(*end)) {

[PHP-DEV] Fwd: Re: [PHP-INST] AIX

2001-04-27 Thread Andi Gutmans
: Thu, 26 Apr 2001 18:22:37 -0500 To: Andi Gutmans [EMAIL PROTECTED], [EMAIL PROTECTED] From: Jacob Steinberger [EMAIL PROTECTED] Subject: Re: [PHP-INST] AIX Looks like that fixed everything. Now I'm just dealing with user/pass issues so at least its making it to the SQL DB. Simple enough things

Re: [PHP-DEV] PHP 4.0 Bug #10343 Updated: Mail function does not work ...

2001-04-27 Thread Andi Gutmans
Yeah but doesn't this function use sendmail with is suid root? Andi At 08:13 AM 4/27/2001 +, [EMAIL PROTECTED] wrote: ID: 10343 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: Mail related Description: Mail function does not work ... OK, I've found it ! Like i say in the previous

Re: [PHP-DEV] PHP 4.0 Bug #9933 Updated: readdir doesn't work see Bug ID # 9058

2001-04-27 Thread Andi Gutmans
At 12:34 PM 4/27/2001 +0200, Sascha Schumann wrote: On Fri, 27 Apr 2001, Andi Gutmans wrote: Larry, You are right if this code refers to the POSIX semantics of readdir_r. However, this code is in #if defined(HAVE_OLD_READDIR_R) and I don't know what is meant by old readdir_r (different

Re: [PHP-DEV] function table / hashes

2001-04-27 Thread Andi Gutmans
At 01:10 PM 4/27/2001 +0100, Wez Furlong wrote: On 2001-04-27 11:27:55, Andi Gutmans [EMAIL PROTECTED] wrote: At 12:03 AM 4/27/2001 -0400, David Croft wrote: Thank you Andi and Andrei. I have noticed that object method callbacks are consistently faster than global function callbacks

Re: [PHP-DEV] Troubles with DL'ed module

2001-04-27 Thread Andi Gutmans
Did you compile with debug on or off? Please try without debug in both PHP and your module and let us know if something changes. Also can you try and load it via php.ini (extension=module.so) and not with dl(). Andi At 01:41 PM 4/27/2001 -0500, Brian Foddy wrote: I'm having strange problems

Re: [PHP-DEV] intval($resource)

2001-04-27 Thread Andi Gutmans
At 06:03 PM 4/27/2001 -0400, Joe Brown wrote: Run into a spot of trouble using Metabase(db wrapper) because of it's use of casting a $var=intval($resource) where OCIFreeCursor fails to function after it has been casted. Guessing that it fails because intval is creating a reference to the

Re: [PHP-DEV] function table / hashes

2001-04-27 Thread Andi Gutmans
At 12:03 AM 4/27/2001 -0400, David Croft wrote: Thank you Andi and Andrei. I have noticed that object method callbacks are consistently faster than global function callbacks, and was wondering why: 1.3135770559311 seconds for 10 runs - with no function callback 6.9758139848709 seconds for

Re: [PHP-DEV] PHP 4.0 Bug #9933 Updated: readdir doesn't work see Bug ID # 9058

2001-04-27 Thread Andi Gutmans
Larry, You are right if this code refers to the POSIX semantics of readdir_r. However, this code is in #if defined(HAVE_OLD_READDIR_R) and I don't know what is meant by old readdir_r (different semantics?). Sascha? Can you shed some light on this? Andi At 06:23 AM 4/27/2001 +, [EMAIL

Re: [PHP-DEV] Fw: [PHP-DOC] cfunction?

2001-04-26 Thread Andi Gutmans
At 09:41 PM 4/26/2001 +0200, Hojtsy Gabor wrote: This is a question for the php-dev people too. What are the other hidden features not documented like this? Check the code. This is simply a legacy feature there only for backward compatibility and should not be documented as we

Re: [PHP-DEV] 4.0.5: Merge Request

2001-04-26 Thread Andi Gutmans
At 12:11 AM 4/26/2001 -0400, Sterling Hughes wrote: I'll agree that the inverse of the above is true ;))) But if you look at it over time, it averages out, making the net effect equal 0. anyway, I think we agree on the math, we just disagree on whether the short term affect is worth it.

Re: [PHP-DEV] Fw: [PHP-DOC] cfunction?

2001-04-26 Thread Andi Gutmans
At 12:51 PM 4/26/2001 -0700, Rasmus Lerdorf wrote: At 09:41 PM 4/26/2001 +0200, Hojtsy Gabor wrote: This is a question for the php-dev people too. What are the other hidden features not documented like this? Check the code. This is simply a legacy feature there only for

Re: [PHP-DEV] cfunction / old_function

2001-04-26 Thread Andi Gutmans
In PHP/FI 2 functions weren't written like in PHP 3 4. Their style was something like: function foo $a $b ( ) We added the more C-like functions and called it cfunction. Then we decided that should be the default so function became old_function and cfunction became function. Andi At 11:16

[PHP-DEV] Fwd: Re: [PHP-INST] AIX

2001-04-26 Thread Andi Gutmans
Has this happened to anyone else on AIX? Maybe the MySQL configure isn't doing something right. It should set a #define called HAVE_INT_8_16_32 but I don't seem to find a reference to it in any .m4. Andi Date: Thu, 26 Apr 2001 17:22:14 -0500 To: [EMAIL PROTECTED] From: Jacob Steinberger

Re: [PHP-DEV] is_link() behavior

2001-04-25 Thread Andi Gutmans
At 01:05 AM 4/25/2001 -0500, J. Jones wrote: On Wed, Apr 25, 2001 at 08:56:47AM +0200, Andi Gutmans wrote: I commited another fix. is_link() should work correctly now. If things have improved and you have problems with lstat() and filetype() (which I think there's a good chance

Re: [PHP-DEV] is_link() behavior

2001-04-25 Thread Andi Gutmans
At 01:19 AM 4/25/2001 -0500, J. Jones wrote: On Wed, Apr 25, 2001 at 01:05:00AM -0500, J. Jones wrote: On Wed, Apr 25, 2001 at 08:56:47AM +0200, Andi Gutmans wrote: I commited another fix. is_link() should work correctly now. If things have improved and you have problems with lstat

Re: [PHP-DEV] PHP, Xerces, Xalan

2001-04-25 Thread Andi Gutmans
At 06:14 PM 4/25/2001 +0200, Jascha Wetzel wrote: Greetings, i just implementet php_xalan and it kind of works but we're still having problems combining it with php-4.0.4pl1. Strange things happen when php uses libxalan and libxerces. After everything worked fine, the xslt sheet has been

Re: [PHP-DEV] 4.0.5: Merge Request

2001-04-24 Thread Andi Gutmans
At 03:59 PM 4/24/2001 +0300, Zeev Suraski wrote: A reproducible crash bug in a mainstream module is a show stopper IMHO... I think you mean in a mainstream module and in a situation which has a high chance of happening. Crash bugs which are 1 in a million don't necessarily need to be show

Re: [PHP-DEV] 4.0.5: Merge Request

2001-04-24 Thread Andi Gutmans
in a situation which is very likely to happen. Zeev At 17:09 24/4/2001, Andi Gutmans wrote: At 03:59 PM 4/24/2001 +0300, Zeev Suraski wrote: A reproducible crash bug in a mainstream module is a show stopper IMHO... I think you mean in a mainstream module and in a situation which has a high chance

Re: [PHP-DEV] 4.0.5 RC7 and TRANS_SID under Win32

2001-04-24 Thread Andi Gutmans
Did this work in the past? If so, any idea when it stopped working? Andi At 10:13 AM 4/24/2001 -0400, Matt White wrote: Hello... I'm banging around on PHP 4.0.5 RC7 Win32 (Apache module), and I'm having great difficultly getting the TRANS_SID feature to work. I have one web application which

Re: [PHP-DEV] 4.0.5: Merge Request

2001-04-24 Thread Andi Gutmans
At 02:24 AM 4/25/2001 +0300, Zeev Suraski wrote: While I'd say Jani's letter was slightly over emotional ;), he does have a point. I think that taking a stop to look closely at the bugs database would be a good thing, and the turn of a new version is a good time to do it. Deciding 4.0.6 won't

Re: [PHP-DEV] is_link() behavior

2001-04-24 Thread Andi Gutmans
think filetype() might also not work correctly on links which aren't pointing to anything (at least not give all the right information). Andi At 04:51 PM 4/24/2001 -0500, J. Jones wrote: On Tue, Apr 24, 2001 at 10:50:36AM +0200, Andi Gutmans wrote: It definitely seems as if the logic

Re: [PHP-DEV] 4.0.5: Merge Request

2001-04-24 Thread Andi Gutmans
At 10:35 PM 4/24/2001 -0700, Rasmus Lerdorf wrote: At 02:24 AM 4/25/2001 +0300, Zeev Suraski wrote: While I'd say Jani's letter was slightly over emotional ;), he does have a point. I think that taking a stop to look closely at the bugs database would be a good thing, and the turn of a

Re: [PHP-DEV] is_link() behavior

2001-04-24 Thread Andi Gutmans
at 07:22:03AM +0200, Andi Gutmans wrote: Hi, I just commited a patch which also cleaned up some other stuff (although it could still use some fixing up). Please check the latest CVS to see if it works now. Also can you please check the lstat() command? I think it has the same problem (I

Re: [PHP-DEV] is_link() behavior

2001-04-24 Thread Andi Gutmans
The readlink() function? You mean the is_link() function no? The readlink() function is something completely different. Can you also try those other two functions? lstat() and filetype()? Andi At 12:48 AM 4/25/2001 -0500, J. Jones wrote: Oh.. the readlink () function works fine in both

Re: [PHP-DEV] 4.0.5: Merge Request

2001-04-24 Thread Andi Gutmans
At 11:04 PM 4/24/2001 -0700, Rasmus Lerdorf wrote: Having a better defined/reproduced list of bugs is a must and if the QA team can do that PHP will definitely benefit from it. However, today when they ask people to fix bugs they are often not fixed and I don't even think that they are

Re: [PHP-DEV] unix install paths changed

2001-04-23 Thread Andi Gutmans
At 09:59 AM 4/23/2001 -0700, Frank M. Kromann wrote: These have to be defined on Win32 as well. In order to compile I can just put some default definitions in config.w32.h. I'm getting another error though: D:\php\php4\main\php_ini.c(190) : error C2065: 'llist_dtor_func_t' : undeclared

[PHP-DEV] Re: [PHP-QA] RC7 is out

2001-04-20 Thread Andi Gutmans
At 02:59 PM 4/20/2001 -0700, Andrew Sitnikov wrote: Hello Zeev, neljapev, 19.04.2001, you wrote: ZS I rolled RC7 - if there are no surprises (there'd better not be! :), it ZS can finally go out early next week. ZS Zeev Where i can get it ?

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 / TODO-4.1.txt

2001-04-19 Thread Andi Gutmans
At 08:03 AM 4/19/2001 -0400, Stig Sther Bakken wrote: [Andi Gutmans [EMAIL PROTECTED]] At 06:53 PM 4/18/2001 -0400, Stig Sther Bakken wrote: *BLAM* That's the sound of someone shooting himself in the foot. The PEAR installer needs the XML extension. :-) What do you mean? Has

Re: [PHP-DEV] Re: [PHP-CVS] Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 / TODO-4.1.txt

2001-04-19 Thread Andi Gutmans
At 08:13 AM 4/19/2001 -0400, Stig Sther Bakken wrote: [Andi Gutmans [EMAIL PROTECTED]] Right but if we chose XML this makes it much harder to have C clients (even Perl because the module might not be installed). I don't think Over my dead body. Take a look at all

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 / TODO-4.1.txt

2001-04-18 Thread Andi Gutmans
At 03:33 AM 4/19/2001 +0300, Zeev Suraski wrote: Guys, Over the years, there's always been a tendency to think about things which are 10 steps ahead. It never worked, and I don't think it would work here either. Moreover, I don't see any advantage in discussing this now - on the contrary -

Re: [PHP-DEV] always building cgi...

2001-04-17 Thread Andi Gutmans
Well I have been abroad and been reading Emails very slowly via international calls so I might have missed a few (no need for the sarcasm). What I describe is the situation I would like to see. I will try and catch up will the zillions of Email I have and see why this can't be achieved. Andi

Re: [PHP-DEV] Hash Functions API

2001-04-12 Thread Andi Gutmans
At 01:40 AM 4/12/2001 -0400, Stig Sther Bakken wrote: ["Brian Foddy" [EMAIL PROTECTED]] I've been looking everywhere for a good reference of how to read and update arrays. The Zend documentation (www.zend.com/apidoc) has descriptions of how to create an array, and how to add elements to

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 / NEWS php.ini-dist php.ini-optimized /ext/standard url_scanner.c url_scanner_ex.c url_scanner_ex.re /main main.c php_globals.h php_variables.c

2001-04-05 Thread Andi Gutmans
At 10:22 AM 4/5/2001 +0200, Sascha Schumann wrote: On Wed, 4 Apr 2001, Jani Taskinen wrote: sniperWed Apr 4 13:46:27 2001 EDT Modified files: /php4 php.ini-dist php.ini-optimized NEWS /php4/ext/standardurl_scanner.c url_scanner_ex.re

Re: [PHP-DEV] Request for new feature: $HTTP_SESSION_VARS when register_globals = on

2001-04-05 Thread Andi Gutmans
Yes, what you're saying definitely makes sense and I think it should be fixed. Andi At 09:20 PM 4/5/2001 +0200, Carsten Gehling wrote: One of the IMHO stranger behaviors in PHP is what happens to the $HTTP_SESSION_VARS array when changing register_globals from off to on. If register_globals is

Re: [PHP-DEV] Unix timestamp maximum

2001-04-04 Thread Andi Gutmans
By the time we close in on 2038 and UNIX is still around (*smile*) then most UNIX systems will most probably have moved to 64bit timestamps, thus requiring in the best place just a recompilation of your PHP binary and in the worse case if you saved binary file stamps to a file, some kind of

[PHP-DEV] What to do about 4.0.5

2001-04-04 Thread Andi Gutmans
OK guys, I feel VERY uncomfortable releasing 4.0.5 with this arg_separators problem. Let's brainstorm and try to think of a nice, clean and constructive way of solving this problem. Let's try to ditch the "screw the user because he didn't read RFC foo.bar approach :) The issue is with the

Re: [PHP-DEV] What to do about 4.0.5

2001-04-04 Thread Andi Gutmans
At 05:40 PM 4/4/2001 +0200, Jani Taskinen wrote: On Wed, 4 Apr 2001, Andi Gutmans wrote: I feel VERY uncomfortable releasing 4.0.5 with this arg_separators problem. Let's brainstorm and try to think of a nice, clean and constructive way of solving this problem. Let's try to ditch the "

Re: [PHP-DEV] RE: ; arg seperator

2001-04-04 Thread Andi Gutmans
At 07:11 PM 4/4/2001 +0200, Edin Kadribasic wrote: But commercial companies aside, the plethora of configuration options (like magic_quotes_gpc) can and does make life harder for people writing code libraries (like PEAR) that are meant to be dropped in anywhere, or for people trying to

Re: [PHP-DEV] 4.0.5 Comments change (leads to inappropriate parse error based on contents of comments)

2001-04-04 Thread Andi Gutmans
This was fixed to be consistent with ?. One line comments end at a new line or at a closing bracket (? or %) Andi At 05:54 PM 4/4/2001 -0700, Steven Roussey wrote: Hi, I found our problem. In 4.0.5, comments seem to be parsed differently. We have ASP style tags enabled so we can use % as well

[PHP-DEV] Re: [PHP-QA] PHP-4.0.5-RC6

2001-04-03 Thread Andi Gutmans
Anyone have an idea why this happens? Andi At 05:37 PM 4/3/2001 +0200, Andrew Sitnikov wrote: Hello php-qa, test.php ? echo $test; ? http://host/test.php?test=1;2;3 4.0.4pl1 Result: 1;2;3 4.0.5RC6 Result: 1 Best regards, Andrew Sitnikov e-mail : [EMAIL

Re: [PHP-DEV] Re: [PHP-QA] PHP-4.0.5-RC6

2001-04-03 Thread Andi Gutmans
'' and ';' are valid delimiters in a URL, so the new 4.0.5 behaviour is actually the valid one, I believe. Refer to the XHTML specification, or check out the bugs db for this. Anil - Original Message - From: "Andi Gutmans" [EMAIL PROTECTED] To: "Andrew Sitnikov" [EMAIL PROTECTE

Re: [PHP-DEV] Re: [PHP-QA] PHP-4.0.5-RC6

2001-04-03 Thread Andi Gutmans
:21 3/4/2001, Andi Gutmans wrote: Anyone have an idea why this happens? Andi At 05:37 PM 4/3/2001 +0200, Andrew Sitnikov wrote: Hello php-qa, test.php ? echo $test; ? http://host/test.php?test=1;2;3 4.0.4pl1 Result: 1;2;3 4.0.5RC6 Result: 1

Re: [PHP-DEV] RE: [PHP-QA] Re: [PHP-DEV] Re: [PHP-QA] PHP-4.0.5-RC6

2001-04-03 Thread Andi Gutmans
James, You have to be aware that now PHP has such a big user base we need to be very careful in the changes we make especially when we can be pretty certain that it might burn quite a lot of people. We can break compatibility more easily when we have a major release (as from PHP 3 to PHP 4)

RE: [PHP-DEV] RE: [PHP-QA] Re: [PHP-DEV] Re: [PHP-QA] PHP-4.0.5-RC6

2001-04-03 Thread Andi Gutmans
At 09:52 PM 4/3/2001 +0100, James Moore wrote: Well, I dont think any of us really know how much damage it will cause. But on the other hand we can do this for years and just say well we mustn't break backwards compatibility and we will end up with somthing looking and behaving like perl. When we

[PHP-DEV] Re: [PHP-QA] Re: ; arg seperator

2001-04-03 Thread Andi Gutmans
At 02:46 PM 4/3/2001 -0600, Joey Smith wrote: Just wanted to toss in my .02 here... Anyone who wrote scripts in the past expecting: foo.php?a=1;2;3 to get "$a=1;2;3" was relying on a bug, or at the very LEAST an undocumented feature. So if it goes away, it goes away. It should never have worked

[PHP-DEV] Re: [PHP-QA] Re: ; arg seperator

2001-04-03 Thread Andi Gutmans
At 03:18 PM 4/3/2001 -0600, Joey Smith wrote: Speaking of this, I think we need to collect all of these types of issues that are waiting for a "4.1" release somewhere, so we can get a clear idea of when 4.1 is appropriate. Anyone know of any off-hand? If not, I can go search the archives... In

Re: [PHP-DEV] Re: [PHP-QA] PHP 4.0.5 Release Candidate testing

2001-04-02 Thread Andi Gutmans
Andrei, Can you please merge this to 4.0.5. I think it should be in and we better release a final RC6. I think it's better to have another quick RC (I can roll it today or tomorrow) before we get 4.0.5 out of the door. Andi At 08:25 AM 4/2/2001 -0500, Andrei Zmievski wrote: On Mon, 02 Apr

Re: [PHP-DEV] Re: [PHP-QA] PHP 4.0.5 Release Candidate testing

2001-04-02 Thread Andi Gutmans
Thanks! Does anyone else have any critical bug fixes which need to be in 4.0.5? (I mean critical ones and not huge patches). Andi At 11:17 AM 4/2/2001 -0500, Andrei Zmievski wrote: It's done. On Mon, 02 Apr 2001, Andi Gutmans wrote: Andrei, Can you please merge this to 4.0.5. I think

Re: [PHP-DEV] Can we have a PING function?

2001-04-02 Thread Andi Gutmans
Maybe Dave will volunteer to implement this for 4.0.6 :) Andi At 10:42 AM 4/2/2001 +0200, Alexander Feldman wrote: Do most servers and OS's (for example Windows) support the sending of a UDP package to the echo port? Andi Yeah, What about a new ICMP extension - ping, traceroute,

[PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Re: [PHP-QA] PHP 4.0.5 Release Candidate testing

2001-04-02 Thread Andi Gutmans
At 05:37 PM 4/2/2001 +0100, Anil Madhavapeddy wrote: Andi Gutmans wrote: Does anyone else have any critical bug fixes which need to be in 4.0.5? (I mean critical ones and not huge patches). Zeev's output buffering fix hasn't been committed yet; it's a one-line change, and it makes

[PHP-DEV] RE: [PHP-QA] PHP 4.0.5 Release Candidate testing

2001-04-02 Thread Andi Gutmans
At 03:18 PM 4/2/2001 +0100, James Moore wrote: 1. The function array_flip($array) puts one extra zero byte at the end of each element in the return array thus making the result non binary safe. I've just fixed it in CVS. How critical is this? does it need to also be in 4.0.5 (sorry

[PHP-DEV] RC6 available!

2001-04-02 Thread Andi Gutmans
You can get RC6 at http://cvs.php.net/~andi/php-4.0.5RC6.tar.gz (no time to commit to phpweb cvs and wait for it to update, if someone has time then even better, I need some sleep :) In case you're testing it within the next few hours you might need to "touch *" the files in the php4/

Re: [PHP-DEV] PHP 4.0.5 Release Midgard Problems

2001-04-01 Thread Andi Gutmans
I very much liked Andrei's implementation of Smary templates. It uses the Zend (PHP) scripting language and caches templated scripts without messing with the core of PHP. I haven't used it but from reading the specs it looks like Andrei his guys did a great job. Andi At 11:10 AM 4/1/2001

Re: [PHP-DEV] Can we have a PING function?

2001-04-01 Thread Andi Gutmans
Do most servers and OS's (for example Windows) support the sending of a UDP package to the echo port? Andi At 12:39 AM 4/2/2001 -0400, Dave Crawford wrote: Before I ask for a PING function in a future build of PHP, is there a way to ping a remote host using the existing PHP functions or

Re: [PHP-DEV] Question about socket ext. file descriptors

2001-03-29 Thread Andi Gutmans
Why do you need to rely on such behavior? Are you trying to do something naught? :) I think in general it's not a good idea to rely on the value and type of resources (even though this is an integer). I'm not quite sure why it returns integers and not resources. Looks like a bad thing to me as

Re: [PHP-DEV] Question about socket ext. file descriptors

2001-03-29 Thread Andi Gutmans
but in the least it should be fixed not to leak fd's even if you go with the integer fix implementation. But it is not very PHP to do that. You already have an fd resource as far as I know in ext/standard so you can use that. Andi At 02:02 AM 3/29/2001 -0800, Lars Torben Wilson wrote: Andi

Re: [PHP-DEV] Question about socket ext. file descriptors

2001-03-29 Thread Andi Gutmans
At 03:35 PM 3/29/2001 +0200, Zeev Suraski wrote: Note that the situation isn't as bad as you thought - it's not that it's not using the resource mechanism. It is, if it wasn't, we'd be getting loads of complaints from people running out of descriptors very quickly. It just uses old, PHP 3

[PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4(PHP_4_0_5) /sapi/fastcgi

2001-03-21 Thread Andi Gutmans
, the error_reporting() pl1 in 4.0.1 was due to a bug which was in the CVS a long time. It was not a spontaneous bug that was introduced. Andi At 07:50 PM 3/21/2001 +0100, Sascha Schumann wrote: On Wed, 21 Mar 2001, Andi Gutmans wrote: A couple of these were buffer overflows IIRC which were security

[PHP-DEV] Re: [PHP-CVS] cvs: php4(PHP_4_0_5) /sapi/fastcgi

2001-03-20 Thread Andi Gutmans
At 08:32 PM 3/20/2001 +0100, Derick Rethans wrote: On Tue, 20 Mar 2001, Andi Gutmans wrote: andi Tue Mar 20 10:13:21 2001 EDT Added files: (Branch: PHP_4_0_5) /php4/sapi/fastcgiCREDITS Makefile.in README.FastCGI config.m4

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4(PHP_4_0_5) /sapi/fastcgi

2001-03-20 Thread Andi Gutmans
At 07:41 PM 3/20/2001 +0100, Jani Taskinen wrote: On Tue, 20 Mar 2001, Andi Gutmans wrote: At 08:32 PM 3/20/2001 +0100, Derick Rethans wrote: On Tue, 20 Mar 2001, Andi Gutmans wrote: andi Tue Mar 20 10:13:21 2001 EDT Added files: (Branch: PHP_4_0_5

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4(PHP_4_0_5) /sapi/fastcgi

2001-03-20 Thread Andi Gutmans
At 07:57 PM 3/20/2001 +0100, Jani Taskinen wrote: On Tue, 20 Mar 2001, Andi Gutmans wrote: I couldn't find any indication that this can break any of the other sapi builds so I don't think there's a problem with adding it. Okay. But still I find it very annoying that we don't follow the rules

RE: [PHP-DEV] feature request

2001-03-19 Thread Andi Gutmans
Suraski [mailto:[EMAIL PROTECTED]] Sent: Monday, 19 March, 2001 7-04 aM To: Phil Driscoll Cc: Chris Newbill; Andi Gutmans; PHP DEV Subject: Re: [PHP-DEV] feature request Phil is right. The only thing that may be both useful and practical would be isset() on multiple variables

RE: [PHP-DEV] feature request

2001-03-19 Thread Andi Gutmans
Newbill; Andi Gutmans; PHP DEV Subject: Re: [PHP-DEV] feature request Phil is right. The only thing that may be both useful and practical would be isset() on multiple variables, returning either true or false. Zeev At 11:31 19/3/2001, Phil Driscoll wrote: $a = 1; $b = 2

Re: [PHP-DEV] feature request

2001-03-19 Thread Andi Gutmans
At 07:58 PM 3/19/2001 +, Phil Driscoll wrote: My earlier post to the list doesn't seem to have arrived yet, so here it is again. You'll note from the posting that I'm not keen on the patch staying in. There are considerable efforts being made by several of us on the QA team trying to make the

Re: [PHP-DEV] feature request

2001-03-19 Thread Andi Gutmans
to handle multi args, we could offer things in the new function such as an optional argument that passes back an array of results. -Jason - Original Message - From: "Phil Driscoll" [EMAIL PROTECTED] To: "Chris Newbill" [EMAIL PROTECTED]; "Zeev Suraski" [EMAIL PRO

Re: [PHP-DEV] feature request

2001-03-19 Thread Andi Gutmans
I think it makes sense to have empty() behave the same as isset() (they are brother functions). empty($a, $b, $c) would return 0 if non are empty and 1 if one of those variables is empty. Andi At 12:22 AM 3/20/2001 -0500, Jon Parise wrote: On Mon, Mar 19, 2001 at 11:35:31PM +0200, Zeev

Re: [PHP-DEV] Getting Started with new module

2001-03-18 Thread Andi Gutmans
I'm not too familiar with Tuxedo but the first step would be for you to actually write a PHP module which interfaces with Tuxedo. Once you're done with it/tested it and you feel it's worth putting into PHP we can open you a CVS account. I don't think there are many people who will need this

RE: [PHP-DEV] feature request

2001-03-18 Thread Andi Gutmans
It should be possible to do this. I'll look into it. But I also need to think about how much sense it makes :) Today you're asking for isset(...,...,...). Tomorrow you will ask to know which one was not set if it failed. So I hope what youreally want is only the first. Andi At 09:42 PM

[PHP-DEV] Re: [PHP-QA] RE: [PHP-DEV] 4.0.5RC1

2001-03-15 Thread Andi Gutmans
At 04:03 PM 3/13/2001 -0800, Lon Baker wrote: The source compiles and installs as a DSO under: Mac OS X 10.0 RC1 Apache 1.3.19 MySQL 3.23.34a Config line used: ./configure --with-apxs=/usr/sbin/apxs --enable-track-vars --with-mysql=/usr/local/mysql --with-zlib With the following issues:

[PHP-DEV] Re: [PHP-QA] QA: chunked output buffering does not work on win32 + internal function output callbacks

2001-03-15 Thread Andi Gutmans
This is extremely reproducible. Definitely a show stopper until Zeev fixes this one. Andi At 01:38 AM 3/14/2001 +0100, Andr Langhorst wrote: Hi Zeev, chunked output buffering seems to work on Linux. Unfortunately several things do not work (anymore) on win32 (tested CGI): 1) Using

Fwd: RE: [PHP-DEV] 4.0.5RC1

2001-03-14 Thread Andi Gutmans
Any idea what the problem could be? I doubt Mac OS X uses \r\n. Andi From: Lon Baker [EMAIL PROTECTED] To: [EMAIL PROTECTED], "Zeev Suraski" [EMAIL PROTECTED], [EMAIL PROTECTED] [EMAIL PROTECTED] Subject: RE: [PHP-DEV] 4.0.5RC1 The source compiles and installs as a DSO under: Mac OS X

[PHP-DEV] Re: Memory corruption in Zend, should we allow this?

2001-03-14 Thread Andi Gutmans
I tried the following (command line): ? $foobar-rfoo=$a; $foobar-r2foo=$foobar-rfoo; $foobar-rfoo=4; print $a; and it didn't crash. Are you sure this reproduces a crash for you? On which platform? And any other information you can give us. Andi At 03:27 AM 3/15/2001 +0100, Andr Langhorst

Re: [PHP-DEV] Re: [ZEND-ENGINE] cvs: Zend / zend_API.c zend_API.h

2001-03-12 Thread Andi Gutmans
I commited a patch but didn't test it. Andrei, please make sure I don't have some dumb bug there. Andi At 10:12 AM 3/12/2001 -0600, Jason Greene wrote: strlcpy, and strlcat are in the win32 build (main/strlcat.c main/strlcpy.c) why dont you malloc a buffer that would fit the sprintf data, and

Re: [PHP-DEV] Re: [ZEND-ENGINE] cvs: Zend / zend_API.c zend_API.h

2001-03-12 Thread Andi Gutmans
Because snprintf() sucks and what we did is faster :) Andi At 09:25 AM 3/12/2001 -0800, Shane Caraveo wrote: Why not add a: #define snprintf _snprintf to the zend_config.w32.h file? That should take care of the mentioned compile problem under windows. - Original Message - From:

Re: [PHP-DEV] whats the standard for OO builtin_functions?

2001-03-12 Thread Andi Gutmans
If it's not an alias I think you probably want PHP_FE(member_function, NULL) and use PHP_FUNCTION(member_function) in the function decleration. Andi At 12:06 PM 3/12/2001 -0600, Jason Greene wrote: Can anyone tell me what the standard is for the builtin_functions function_entry in OO, should

Re: [PHP-DEV] Re: static call bugs?

2001-03-10 Thread Andi Gutmans
At 08:49 PM 3/10/2001 +0100, Andr Langhorst wrote: When you say that people shouldn't use references because of performance what do you mean? I think you are right in general but when you are passing around objects you should use references. for example: function foo($obj) { } foo($myobject);

[PHP-DEV] Re: popen() spans 100 processes

2001-03-09 Thread Andi Gutmans
I'm not quite sure if it is related but in general popen() doesn't work on non-console PHP under windows. I think your CGI is running without a console and the same happens with ISAPI. Someone is working on fixing this Windows issue but no results yet. Andi At 07:20 AM 3/9/2001 +0100, Andr

[PHP-DEV] Re: Static vars in methods

2001-03-09 Thread Andi Gutmans
Yeah, it's supposed to be this way. We copied C++. Andi At 10:50 AM 3/9/2001 -0600, Andrei Zmievski wrote: Just ran into something (well, actually searching for it) and wanted to know what everyone's thoughts on this were and whether it should stay that way. ?php class Foo { function

[PHP-DEV] Re: Static vars in methods

2001-03-09 Thread Andi Gutmans
00, Andrei Zmievski wrote: On Fri, 09 Mar 2001, Andi Gutmans wrote: We need to think of static class variables. I don't think it's very easy to do this in a way which wouldn't cause a general performance loss but I'll put on my thinking cap. Ok, I was gonna try to hack it in mysel

[PHP-DEV] Re: static call bugs?

2001-03-09 Thread Andi Gutmans
At 12:56 AM 3/10/2001 +0100, Andr Langhorst wrote: Hi, 1) I am currently completing the php documentation to cover all undocumented features and I have noticed that using a static method call to the same class from on instanciated object exhibits the presence of the instance within the static

Re: [PHP-DEV] Re: static call bugs?

2001-03-09 Thread Andi Gutmans
At 01:30 AM 3/10/2001 +0100, Andr Langhorst wrote: There are no static functions in PHP. This syntax is used to call a method of the parent. It can be used to call other methods and thus have parent::foo(); If you remember, it has been implemented *after* [classname]::[functionname]() ... I

[PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Re: [PHP-QA] ctype function (re?)naming

2001-03-08 Thread Andi Gutmans
At 02:20 PM 3/8/2001 +0100, Hellekin O. Wolf wrote: At 22:33 07/03/2001 +0200, Andi Gutmans wrote: Why not bzip2_? *** Well, if bzip2_, then gzip_ ! If gz_ then bz_ or bz2_. Am I wrong or too fastidious ? No, because gz_ has existed for a long time. If we'd give it a name today we'd probably

Re: [PHP-DEV] Re: [PHP-QA] ctype function (re?)naming

2001-03-07 Thread Andi Gutmans
At 11:07 AM 3/7/2001 +0100, Hellekin O. Wolf wrote: At 23:48 06/03/2001 -0700, Zak Greant wrote: Andi wrote: [snip] Yep. Let's start doing some damage. bzip2 is a very good victim. bzclose - bz_close bzcompress - bz_compress bzdecompress - bz_decompress bzerrno - bz_errno bzerror

[PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Re: [PHP-QA] ctype function (re?)naming

2001-03-07 Thread Andi Gutmans
At 04:34 PM 3/7/2001 +0100, Hellekin O. Wolf wrote: At 17:22 07/03/2001 +0200, Andi Gutmans wrote: *** What is the difference between error ad errstr ? Maybe errstr should be changed to errmsg ? (Did I say that elsewhere ? ;-) As the file extension is .bz2, maybe the prefix should be bz2_

[PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Re: [PHP-QA] ctype function (re?)naming

2001-03-07 Thread Andi Gutmans
At 10:20 AM 3/7/2001 -0700, Zak Greant wrote: Andi wrote: At 04:34 PM 3/7/2001 +0100, Hellekin O. Wolf wrote: At 17:22 07/03/2001 +0200, Andi Gutmans wrote: *** What is the difference between error ad errstr ? bzerror returns an array containing the error string and error number

<    4   5   6   7   8   9   10   >