Re: [PHP-DEV] Is this a bug?

2001-07-20 Thread Andi Gutmans
At 02:31 PM 7/20/2001 +0200, Sebastian Bergmann wrote: >Andi Gutmans wrote: > > > $foo->$method; // does not work > > > $bar->$method; // does not work > > > > This should be $foo->$method() and $bar->$me

Re: [PHP-DEV] Is this a bug?

2001-07-20 Thread Andi Gutmans
At 11:47 AM 7/20/2001 +0200, Sebastian Bergmann wrote: > class foo { > function bar() { > print 'bar() called'; > } > } > > $foo = new foo(); > $bar =& $foo; > $method = 'bar'; > > $foo->$method; // does not work > $bar

Re: [PHP-DEV] Help with corrupted defines [bug 11990]

2001-07-12 Thread Andi Gutmans
Brian, In order to debug this you'd really need to try and cut it down to a smaller reproducible script. Maybe the best start for you is to compile with --enable-debug and see if you get any error messages from the memory manage in your error_log file about memory overruns and stuff. That coul

Re: [PHP-DEV] Possible feature for current version of PHP or PHP 4.1/5.0.

2001-07-11 Thread Andi Gutmans
At 03:19 AM 7/12/2001 +0200, Piotr Pawlow wrote: >"Brian Moon" <[EMAIL PROTECTED]> wrote: > > I am -1 on yet another new function. Because, if you create a new > > include_local or whatever, people are gonna want include_local_once > > and so on and so forth. > >What do you say about include loca

Re: [PHP-DEV] ext/dom/php_domxml.c patch

2001-07-11 Thread Andi Gutmans
closing in on some memory >leaks...Paul, if possible, I may want to collaborate with you some, >because we seem to be working in the same areas of the code, and I could >use the help. > >On Wed, 11 Jul 2001, Andi Gutmans wrote the following to Paul Marquis and...: > > > At 0

Re: [PHP-DEV] ext/dom/php_domxml.c patch

2001-07-10 Thread Andi Gutmans
At 07:00 PM 7/10/2001 -0400, Paul Marquis wrote: >Attached is a patch to ext/dom/php_domxml.c that adds the ability to >set the context node when running xpath_eval(). xpath_eval() (and >xpath_eval_expression()) can now accept and optional second parameter >that is the context node. If no argume

[PHP-DEV] Re: php4 /main fopen_wrappers.c

2001-07-10 Thread Andi Gutmans
At 12:13 AM 7/11/2001 +0200, Jeroen van Wolffelaar wrote: > > - Right now this also effects things like opening php.ini. It'll now >always > > check in the current working directory for php.ini. I think this >doesn't > > screw up todays behavior. > >Isn't this a huge security risk? When

Re: [PHP-DEV] Preliminary patch for allowing relative includes

2001-07-10 Thread Andi Gutmans
l >break my code... The last resort will be the c.php in b.php's directory. So it will include the one in the a.php directory. Andi >thanks, > >Vlad > > >Andi Gutmans wrote: > >>Hi guys, >> >>Attached is a patch which I worked up quickly (could pr

Re: [PHP-DEV] zend_hash patch

2001-07-10 Thread Andi Gutmans
At 10:07 PM 7/10/2001 +0200, Thies C. Arntzen wrote: >On Tue, Jul 10, 2001 at 08:54:13PM +0200, Thies C. Arntzen wrote: > > On Tue, Jul 10, 2001 at 07:43:12PM +0300, Andi Gutmans wrote: > > > Hey, > > > > > > Has anyone had a chance to check the zend_hash

Re: [PHP-DEV] Preliminary patch for allowing relative includes

2001-07-10 Thread Andi Gutmans
You can nuke the fprintf() in the patch :) Andi At 08:24 PM 7/10/2001 +0300, Andi Gutmans wrote: >Hi guys, > >Attached is a patch which I worked up quickly (could probably use some >improving) which should solve the problem with includes of relative >includes :) >Simp

[PHP-DEV] Preliminary patch for allowing relative includes

2001-07-10 Thread Andi Gutmans
Hi guys, Attached is a patch which I worked up quickly (could probably use some improving) which should solve the problem with includes of relative includes :) Simpler said: a.php - b.php - c.php - This example should work when c.php is in the same directory as b.php and PHP is

[PHP-DEV] zend_hash patch

2001-07-10 Thread Andi Gutmans
Hey, Has anyone had a chance to check the zend_hash patch I wrote about yesterday? Andi -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECT

[PHP-DEV] Re: Str enhancement, final run

2001-07-10 Thread Andi Gutmans
At 06:00 PM 7/10/2001 +0200, André Langhorst wrote: >As it were Andi's last words, is it the finial decison now just to >implement $foo{x} to retrieve a single char? >I'm asking this again, because it will be irreversible because it is not >compatible with substr($foo,x) == $foo{x}!!! >And as I

Re: [PHP-DEV] PHP Working Groups

2001-07-09 Thread Andi Gutmans
At 10:24 PM 7/9/2001 -0700, Frank M. Kromann wrote: > > On Tue, Jul 10, 2001 at 07:51:14AM +0300, Andi Gutmans wrote: > > > > > I think it's something we should consider. From what Joey wrote it > sounds > > > as if the PHP Group is perceived as something

Re: [PHP-DEV] Possible feature for current version of PHP or PHP 4.1/5.0.

2001-07-09 Thread Andi Gutmans
At 07:03 AM 7/10/2001 +0200, Jani Taskinen wrote: > >>I am still +1, but think it should be at least a 4.1 thing. > > > >Does others also think it should wait for 4.1 or later? If so I'll leave it > >I don't. But I consider this more as a bug than missing feature.. >So it should be fixed ASAP. :)

Re: [PHP-DEV] [UPDATE] NGScan

2001-07-09 Thread Andi Gutmans
group, a PHP web group and so on. Just an idea. I haven't thought about it too much and I've just opened my eyes from sleep :) Andi >On Mon, 9 Jul 2001, Andi Gutmans wrote the following to Sascha Schumann : > > > At 10:30 PM 7/9/2001 +0200, Sascha Schumann wrote: > &g

Re: [PHP-DEV] [UPDATE] NGScan

2001-07-09 Thread Andi Gutmans
At 12:16 AM 7/10/2001 +0200, Thies C. Arntzen wrote: >On Mon, Jul 09, 2001 at 11:41:36PM +0300, Andi Gutmans wrote: > > Anyway, I think right now the easiest thing for us to do is to move to > re2c > > without your sources (it should be relatively trivial as it's just a

Re: [PHP-DEV] Possible feature for current version of PHP or PHP 4.1/5.0.

2001-07-09 Thread Andi Gutmans
At 04:04 PM 7/9/2001 -0500, Brian Moon wrote: >It is not so much BC. It is more like unexpected new behavior. > >As of now, a bad programmer might have this: > >/www/site.com/include/file.php >/www/site.com/include/config.php > >/www/site.com/index.php >/www/site.com/config.php > >if index.php in

Re: [PHP-DEV] Possible feature for current version of PHP or PHP 4.1/5.0.

2001-07-09 Thread Andi Gutmans
e file gets included. Now, granted, this may not be the best case, >>but it would cause some confusion if someone was not well aware of this >>change. >> >>I am still +1, but think it should be at least a 4.1 thing. >> >>Brian Moon >>-

Re: Fwd: [PHP-DEV] Faster zend_hash

2001-07-09 Thread Andi Gutmans
At 03:47 PM 7/9/2001 -0500, Andrei Zmievski wrote: >On Mon, 09 Jul 2001, Andi Gutmans wrote: > > I'd appreciate if people tested this. To check it out go into your > > php4/Zend CVS tree and do: > > cvs update -r PRE_NEW_HASH_FUNC_PATCH > >And don't forg

Fwd: [PHP-DEV] Faster zend_hash

2001-07-09 Thread Andi Gutmans
I'd appreciate if people tested this. To check it out go into your php4/Zend CVS tree and do: cvs update -r PRE_NEW_HASH_FUNC_PATCH Andi >Date: Mon, 09 Jul 2001 21:24:22 +0300 >To: [EMAIL PROTECTED] >From: Andi Gutmans <[EMAIL PROTECTED]> >Subject: [PHP-DEV] Faster zen

Re: [PHP-DEV] Possible feature for current version of PHP or PHP 4.1/5.0.

2001-07-09 Thread Andi Gutmans
At 03:43 PM 7/9/2001 -0500, Brian Moon wrote: >That is not completely true. If there is a file in the included scripts dir >that has the same name as one in the including scripts dir, that would cause >some unexpected problems. Well as I would only resort to looking according to the current file

Re: [PHP-DEV] [UPDATE] NGScan

2001-07-09 Thread Andi Gutmans
At 10:30 PM 7/9/2001 +0200, Sascha Schumann wrote: > > Sascha, don't come to conclusions too quickly if you do want to improve > > your weak spots. > > Andi, have you ever considered that your approach of > "guiding" other people is not appreciated? Yes. That is what a guide is. He can tr

Re: [PHP-DEV] [UPDATE] NGScan

2001-07-09 Thread Andi Gutmans
At 10:02 PM 7/9/2001 +0200, Sascha Schumann wrote: > > > I'd like to see Sascha's attitude change, ideally. > > > > Ok - Sascha, do you think that your attitude is a problem? > > I don't think that bears an answer considering the contents > of this thread and the amount of people who o

Re: [PHP-DEV] Possible feature for current version of PHP or PHP 4.1/5.0.

2001-07-09 Thread Andi Gutmans
At 12:03 PM 7/9/2001 -0700, Vlad Krupin wrote: >Is it better to break things once or twice? Ok, not completely break, but >now I have some code working with PHP4, later I will have some code that >will work with PHP4.1, and finally I will re-write it to work with the >latest-and-best PHP5. It i

Re: [PHP-DEV] [UPDATE] NGScan

2001-07-09 Thread Andi Gutmans
At 11:24 AM 7/9/2001 -0700, Rasmus Lerdorf wrote: > > I'm talking about real-world cases of developers who stopped > > contributing or were afraid to contribute because of your sucky, > > condescending attitude. > >Uh? I don't recall a single instance of Sascha scaring someone off. I don't want

[PHP-DEV] Faster zend_hash

2001-07-09 Thread Andi Gutmans
Guys, I've commited a patch for zend_hash.* in the Zend CVS branch PRE_NEW_HASH_FUNC_PATCH (yeah the branch name shouldn't be with the PRE ) which increases the speed of our hash tables significantly. Can you please try it out and see that it works for you and give me feedback if you notice a

RE: [PHP-DEV] Possible feature for current version of PHP or PHP 4.1/5.0.

2001-07-09 Thread Andi Gutmans
g workarounds anyway. Just a thought. > >-Brian Tanner >-Original Message- >From: Zeev Suraski [mailto:[EMAIL PROTECTED]] >Sent: July 9, 2001 5:48 AM >To: Andi Gutmans >Cc: [EMAIL PROTECTED] >Subject: Re: [PHP-DEV] Possible feature for current version of PHP or >P

Re: [PHP-DEV] Possible feature for current version of PHP or PHP 4.1/5.0.

2001-07-09 Thread Andi Gutmans
I actually had in mind something like option #4 but not exactly what Zeev wrote. I thought that what we could do is if cwd and include_path fail then try and open at the same directory level as the currently executing script. I think it can be done but haven't completely checked it from a techn

Re: [PHP-DEV] Possible feature for current version of PHP or PHP 4.1/5.0.

2001-07-09 Thread Andi Gutmans
At 10:02 AM 7/9/2001 -0500, Andrei Zmievski wrote: >On Sun, 08 Jul 2001, Andi Gutmans wrote: > > Hey, > > > > I think one thing that bothers PHP developers is when they do: > > include "../foo.inc"; > > and in foo.inc they do: > > include "

Re: [PHP-DEV] tsrm patch

2001-07-08 Thread Andi Gutmans
Shane, Can you please also have Daniel Beulshausen <[EMAIL PROTECTED]> take a look at it as he did the original patch. Also please try and send unified diffs (cvs diff -u). Thanks, Andi At 03:12 PM 7/8/2001 -0700, Shane Caraveo wrote: >Hi Andi, > >Here is yet another patch to tsrm. The popen

[PHP-DEV] Possible feature for current version of PHP or PHP 4.1/5.0.

2001-07-08 Thread Andi Gutmans
Hey, I think one thing that bothers PHP developers is when they do: include "../foo.inc"; and in foo.inc they do: include "bar.inc"; That bar.inc is not searched for in foo.inc's current directory automatically. As we pretty much always have the expanded filename of the current executing scrip

Re: [PHP-DEV] tsrm patch

2001-07-07 Thread Andi Gutmans
Hi, I commited a patch. Andi At 12:59 PM 7/7/2001 -0700, Shane Caraveo wrote: >Hello, >Sending this little fix to the dev group, since I don't beleive I have >write access into TSRM. Can someone get this submitted? > >In tsrm_win32.c, line 138, change the +4 to +5 to allow for the trailing >nu

Fwd: Re: [PHP-DEV] php 4.1 or php 5.0

2001-07-07 Thread Andi Gutmans
Resending as we only got one answer... Andi >Date: Fri, 06 Jul 2001 00:53:47 +0300 >To: [EMAIL PROTECTED],"Brian Moon" <[EMAIL PROTECTED]>, > "php developers" <[EMAIL PROTECTED]> >From: Andi Gutmans <[EMAIL PROTECTED]> >Subject: Re: [PHP-D

[PHP-DEV] rtfm

2001-07-07 Thread Andi Gutmans
Hey, Didn't we decide on nuking ext/rtfm? Can I go ahead? Andi -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP-DEV] rtfm

2001-07-07 Thread Andi Gutmans
Yep looks like it. I think I just had a stale directory. Andi At 11:00 AM 7/7/2001 +0200, Martin Jansen wrote: >On Sat, 07 Jul 2001 11:42:02 +0300, Andi Gutmans wrote: > > >Didn't we decide on nuking ext/rtfm? > >Can I go ahead? > >Isn't this extension alre

Re: [PHP-DEV] new/different problem in shutdown

2001-07-06 Thread Andi Gutmans
I haven't checked it but something like the following might give you a problem. Andi At 05:35 PM 7/6/2001 +0200, Thies C. Arntzen wrote: >On Fri, Jul 06, 2001 at 05:39:18PM +0300, Andi Gutmans wrote: > > At 04:31 PM 7/6/2001 +0200, Thies C. Arntzen wrote: > > >On Fri

Re: [PHP-DEV] new/different problem in shutdown

2001-07-06 Thread Andi Gutmans
At 04:31 PM 7/6/2001 +0200, Thies C. Arntzen wrote: >On Fri, Jul 06, 2001 at 05:12:07PM +0300, Andi Gutmans wrote: > > Thies, > > > > I have thought about your problem. Your patch fixed your test case but it > > won't fix all test cases. It is pretty much imposs

Re: [PHP-DEV] new/different problem in shutdown

2001-07-06 Thread Andi Gutmans
Thies, I have thought about your problem. Your patch fixed your test case but it won't fix all test cases. It is pretty much impossible to make sure on bailout (including exit() and errors) that all of the reference counts of the variables will go down to 0 even if we clean the call stack. Th

Re: [PHP-DEV] new/different problem in shutdown

2001-07-05 Thread Andi Gutmans
Thies, The patch you supplied looks like it's heading in the right direction but it is incorrect as not all of the stack is zval's. I'll try and take a look at it tomorrow (no time now). I think we can probably fix up your patch a bit and make it work with nested functions. In any case, if I d

Re: [PHP-DEV] want to be dev

2001-07-05 Thread Andi Gutmans
Nabeel, Please contact the PHP documentation group at [EMAIL PROTECTED] (to subscribe [EMAIL PROTECTED]). I'm sure many people will be glad to have an Arabic version of the documentation and I'm sure the PHP Documentation team can get you started. Andi At 05:04 PM 7/5/2001 +, Nabeel Aboha

Re: [PHP-DEV] php 4.1 or php 5.0

2001-07-05 Thread Andi Gutmans
I think both for Zend 2 and for the cleanup version of PHP (if they happen at the same time or not) it is important to come up with how to do the development. We can either work in a branch or create a new CVS tree. They both have their pros & cons, but especially for the PHP CVS which is a mov

Re: [PHP-DEV] Access 2000 Bug - Insert and Update statement does not work (no write access at all)

2001-07-03 Thread Andi Gutmans
Hi, I can't help you too much but I am pretty sure I bumped into problems after installing Access 2000 w/ an app which uses Access. I think the ODBC driver was changed in 2000. Maybe you can find something at msdn.microsoft.com. If you find anything useful please let me know. Andi At 05:25 P

Re: [PHP-DEV] Dom XML

2001-06-29 Thread Andi Gutmans
I would like to roll it back to 4.0.6 until the current version gets fixed. However, I have not used either of them so that's why I'm waiting for enough feedback from people who actually use it. Andi At 03:12 PM 6/28/2001 +0200, Derick Rethans wrote: >Hello, > >as I about to write PHP scripts w

Re: [PHP-DEV] Dom XML

2001-06-29 Thread Andi Gutmans
At 01:14 PM 6/29/2001 +0200, [EMAIL PROTECTED] wrote: >On Fri, 29 Jun 2001, Andi Gutmans wrote: > > > Well everyone would like to see it fixed but no one is fixing it. So we are > > better of rolling back. It means we will end up with one version and not > > three beca

Re: [PHP-DEV] Dom XML

2001-06-29 Thread Andi Gutmans
At 12:38 PM 6/29/2001 +0200, [EMAIL PROTECTED] wrote: >On Fri, 29 Jun 2001, Andi Gutmans wrote: > > > I would like to roll it back to 4.0.6 until the current version gets fixed. > > However, I have not used either of them so that's why I'm waiting for > > enough

Re: [PHP-DEV] DOM/XML in 4.0.7

2001-06-29 Thread Andi Gutmans
At 02:30 PM 6/27/2001 -0400, Colin Viebrock wrote: > > For 4.0.6 I rolled back the DOM/XML changes. It seems as if the current > > "upgrade" isn't being fixed. Maybe we should revert it back to what it was > > in 4.0.6 until it gets a thorough make over? > >You love to make me work, huh? :) > >Se

[PHP-DEV] CVS down!

2001-06-28 Thread Andi Gutmans
Guys, We are moving the CVS tree to a different server so please don't commit anything in the next few hours. Once it's up and running we'll post a message including the IP of the new machine (in case the DNS change doesn't propagate early enough for you). Andi -- PHP Development Mailing Li

Re: [PHP-DEV] DOM/XML in 4.0.7

2001-06-27 Thread Andi Gutmans
At 09:00 AM 6/27/2001 +0200, Christian Stocker wrote: >In article <[EMAIL PROTECTED]>, "Andi >Gutmans" <[EMAIL PROTECTED]> wrote: > > > Hey, > > > > For 4.0.6 I rolled back the DOM/XML changes. It seems as if the current > > "upgrade&q

[PHP-DEV] DOM/XML in 4.0.7

2001-06-27 Thread Andi Gutmans
Hey, For 4.0.6 I rolled back the DOM/XML changes. It seems as if the current "upgrade" isn't being fixed. Maybe we should revert it back to what it was in 4.0.6 until it gets a thorough make over? Andi -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROT

[PHP-DEV] Re: possible bug zend_hash_sort(...)

2001-06-26 Thread Andi Gutmans
Yep I agree. It can sense to sort a one element array because it might be coming from an external source. Andi At 04:47 PM 6/26/2001 +0300, Zeev Suraski wrote: >I'd say that this is a bug, and needs to be fixed. > >Zeev > >At 15:40 26/6/2001, Andre Langhorst wrote: >>Hi, >>apparently php-users

Re: [PHP-DEV] Support Apache 1.3.6 or not?

2001-06-26 Thread Andi Gutmans
At 11:17 PM 6/25/2001 +0200, Jani Taskinen wrote: >On Mon, 25 Jun 2001, Wilfredo Sanchez wrote: > > > > >On Monday, June 25, 2001, at 06:58 AM, Jani Taskinen wrote: > > > >> This happens because of your patch. What is the use of -S anyway? :) > >> Could you please check this out? > > > > -S sets

Re: [PHP-DEV] Re: Bug #11620 Updated: PHP has encountered an Access Violation at 012D24B6

2001-06-26 Thread Andi Gutmans
Do you have a short reproducing script which makes your server hang? Andi At 02:07 PM 6/25/2001 -0400, Dean Limbaugh wrote: >Yes, I installed 4.0.6 this AM and it's still happening. > >PHP has encountered an Access Violation at 013124B6 > >Error log entry > >The HTTP server encountered an unhand

Re: [PHP-DEV] About ext/sockets/

2001-06-24 Thread Andi Gutmans
At 08:21 PM 6/24/2001 +0200, Jani Taskinen wrote: >What new functionality? Why the hell should the API change? >Only the function names should have been changed, not break >the whole extension! It's a rewrite which is more in the PHP spirit. i.e. return true/false and not -1/0 and stuff like th

Re: [PHP-DEV] About ext/sockets/

2001-06-24 Thread Andi Gutmans
Maybe we should wait with this whole API change until a new sub-version? 4.1? Or keep the old functionality right now and just add the new functions? We can deprecate the old ones in 4.1. Andi At 03:03 PM 6/24/2001 +0200, Jani Taskinen wrote: >Since everybody seems to be using some stupid fil

Re: [PHP-DEV] module versioning

2001-06-23 Thread Andi Gutmans
At 06:26 AM 6/24/2001 +0200, Jani Taskinen wrote: >On Sun, 24 Jun 2001, Andi Gutmans wrote: > > >I think we should also consider saving the version in the extension > >structure and having generic function such as extension_version("xml"). > >This would save us

Re: [PHP-DEV] module versioning

2001-06-23 Thread Andi Gutmans
At 02:38 PM 6/24/2001 +1000, [EMAIL PROTECTED] wrote: >On Sun, 24 Jun 2001, Andi Gutmans wrote: > > > I think we should also consider saving the version in the extension > > structure and having generic function such as extension_version("xml"). > > This would s

Re: [PHP-DEV] module versioning

2001-06-23 Thread Andi Gutmans
I think we should also consider saving the version in the extension structure and having generic function such as extension_version("xml"). This would save us from having to bloat PHP by adding a foo_version() function to all extensions. Andi At 11:46 AM 6/24/2001 +1000, [EMAIL PROTECTED] wro

Re: [PHP-DEV] is_scalar

2001-06-23 Thread Andi Gutmans
At 05:21 PM 6/23/2001 -0600, Zak Greant wrote: >Hello All, > >I was just reviewing the is_scalar() function and noted that the function >does not consider resources to be scalar values. > >Shouldn't this be changed? I must have missed this when I initially wrote >the function... I don't think res

[PHP-DEV] Re: can we cange the "important" defines to enums in the zend-headers, please?

2001-06-22 Thread Andi Gutmans
Thies, I am not quite sure how many places need to be changed for this. On a whole, moving to enum's is something I've wanted to do for a long time but never had the time to do. If you're up to it maybe you can create a patch which we can look at. I suggest only trying to make the IS_OBJECT/IS_

[PHP-DEV] Re: can we cange the "important" defines to enums in the zend-headers, please?

2001-06-22 Thread Andi Gutmans
I want to mess with it a bit and think about it. Will get back to you ASAP. Andi At 08:50 AM 6/22/2001 +0200, Thies C. Arntzen wrote: > hi, > > it would make debugging for guys like me easier, as gdb will > then be able to show IS_OBJECT instead of 5 when > inspecting zvals. (gd

Re: [PHP-DEV] 4.0.6

2001-06-21 Thread Andi Gutmans
At 09:03 AM 6/21/2001 +0100, Phil Driscoll wrote: >On Wednesday 20 June 2001 17:22, Andi Gutmans wrote: > > > I suggest in order to get 4.0.6 out of the door I will package it today > > (the release), post it to php-dev&php-qa and we can announce it on Friday. > >Sound

Re: [PHP-DEV] 4.0.6 Packaged!

2001-06-21 Thread Andi Gutmans
At 05:54 AM 6/21/2001 -0700, Rasmus Lerdorf wrote: > > http://www.php.net/~andi/php-4.0.6.tar.gz > > > > Tomorrow I'll commit it to the phpweb CVS and we'll announce it on Friday. > > Please in the meanwhile make sure that no show stoppers have crept in. > > Show stoppers == something is completel

[PHP-DEV] 4.0.6 Packaged!

2001-06-21 Thread Andi Gutmans
http://www.php.net/~andi/php-4.0.6.tar.gz Tomorrow I'll commit it to the phpweb CVS and we'll announce it on Friday. Please in the meanwhile make sure that no show stoppers have crept in. Show stoppers == something is completely broken in the core or a terrible security hole which needs to be ad

Re: [PHP-DEV] Re: Bug #11562 Updated: PHP crashes everytime with little syntax error

2001-06-21 Thread Andi Gutmans
http://www.zend.com/snapshots (notice the n instead of the h ;) Andi At 12:26 PM 6/20/2001 +0200, [EMAIL PROTECTED] wrote: >http://www.zend.com/shapshots/ : page not found > >At 06:32 20-6-01 +, you wrote: >>ID: 11562 >>Updated by: derick >>Reported By: [EMAIL PROTECTED] >>Old-Status: Open >

[PHP-DEV] 4.0.6

2001-06-20 Thread Andi Gutmans
Hey, I suggest in order to get 4.0.6 out of the door I will package it today (the release), post it to php-dev&php-qa and we can announce it on Friday. Andi -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP-DEV] Re: Bug #11557 Updated: session,functions

2001-06-20 Thread Andi Gutmans
Do you have a d:/tmp directory? Andi At 09:37 AM 2/9/2001 +0530, Vikram-burlee wrote: >Hi, this is the snippete > >session_start(); >?> >and error is >" >Warning: open(/tmp\sess_e381bf8b6b5aea5756925a218535fdd3, O_RDWR) failed: m >(2) in D:\php\vik\test.php on line 2 >" > >Iam not able to use an

Re: [PHP-DEV] 4.0.6 - ?

2001-06-20 Thread Andi Gutmans
Hopefully ASAP. We should release RC4 unless people find *serious* problems. Andi At 02:53 PM 6/19/2001 -0500, Andrei Zmievski wrote: >When are we releasing 4.0.6? I'm asking more as an end user because it >has a few bug fixes that affect our products. > >-Andrei >* Power corrupts. Atomic power

[PHP-DEV] 4.0.6RC4 out.

2001-06-19 Thread Andi Gutmans
Part of the getting back to normal process is getting 4.0.6 out of the door :) Please test it http://www.php.net/~andi/php-4.0.6RC4.tar.gz I *really* would like to get it out. By the way, I commited a very important patch which should lower memory use considerably (up to about 2/3). Please let m

Re: [PHP-DEV] Rollback of DOM/XML to 4.0.5 version

2001-05-24 Thread Andi Gutmans
At 03:08 PM 5/24/2001 +, Christian Stocker wrote: >On 24 May 2001 05:39:14 -0700, [EMAIL PROTECTED] (Andi Gutmans) wrote: > > >Hi, > > > >I rolled back DOM/XML and will hopefully roll RC2 today. I think my > >mmmh. > >checking for DOM support... yes >./c

Re: [PHP-DEV] Warning

2001-05-24 Thread Andi Gutmans
At 03:07 PM 5/24/2001 +0200, Sascha Schumann wrote: >On Thu, 24 May 2001, Boian Bonev wrote: > > > > At link I'm getting "gcc: unrecognized option `-prefer-non-pic'" > > > My gcc version: > > > Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs > > > gcc version egcs-2.91.66

[PHP-DEV] Warning

2001-05-24 Thread Andi Gutmans
At link I'm getting "gcc: unrecognized option `-prefer-non-pic'" My gcc version: Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release) It's not an error but is this option really necessary? Andi -- PHP Development

[PHP-DEV] Rollback of DOM/XML to 4.0.5 version

2001-05-24 Thread Andi Gutmans
Hi, I rolled back DOM/XML and will hopefully roll RC2 today. I think my rollback of config.m4 might not have been completely correct because some reorganizations of the config.m4 files were made I think before we branched 4.0.6. Can someone please check my commit and see if I should fully or p

Re: [PHP-DEV] 4.0.6RC2

2001-05-24 Thread Andi Gutmans
n 23 May 2001 09:58:18 -0700, [EMAIL PROTECTED] (Andi Gutmans) wrote: > > >At 12:23 PM 5/23/2001 +0200, Christian Stocker wrote: > >>In article <[EMAIL PROTECTED]>, "Andi > >>Gutmans" <[EMAIL PROTECTED]> wrote: > >> > >> > Guys, >

Re: [PHP-DEV] 4.0.6RC2

2001-05-23 Thread Andi Gutmans
At 12:23 PM 5/23/2001 +0200, Christian Stocker wrote: >In article <[EMAIL PROTECTED]>, "Andi >Gutmans" <[EMAIL PROTECTED]> wrote: > > > Guys, > > > > I'd like to roll 4.0.6RC2 this evening (my evening which is in like 12 > > hours) as I

Re: [PHP-DEV] output/threads aborting

2001-05-23 Thread Andi Gutmans
Shane, Please try the latest CVS. I commited a patch. Andi At 03:48 PM 5/22/2001 -0700, Shane Caraveo wrote: >Hello everyone, > >With the current CVS debug_ts build I'm getting an abort in the TSRM >library. I've tracked this down to php_module_startup() in main.c. The >call to php_output_sta

Re: [PHP-DEV] Latest CVS on Win32

2001-05-23 Thread Andi Gutmans
I just commited a fix. Please try the latest CVS. Andi At 06:37 AM 5/23/2001 +0200, Sebastian Bergmann wrote: > Latest CVS on Win32 builds, but it crashes on startup (CGI). > >-- > sebastian bergmann[EMAIL PROTECTED] >http://

[PHP-DEV] 4.0.6RC2

2001-05-22 Thread Andi Gutmans
Guys, I'd like to roll 4.0.6RC2 this evening (my evening which is in like 12 hours) as I mentioned a couple of days ago. I think we can also send it with a "good" explanation of what it is and what it isn't to php-general@ and get some more testing done and hopefully release 4.0.6 ASAP. Andi

Re: [PHP-DEV] Fix for bugs 8808, 8821, 9130, and possibly 10209

2001-05-22 Thread Andi Gutmans
I patched and commited the source. You just wanted to add CS_PUBLIC, right? You should specify it next time so that I don't have to do a diff in my head :) Also, what does CS_PUBLIC mean? Does it translate to __declspec(dllexport)? If so maybe we should be removing the static? Andi At 02:34 PM

Re: [PHP-DEV] output/threads aborting

2001-05-22 Thread Andi Gutmans
At 03:48 PM 5/22/2001 -0700, Shane Caraveo wrote: >Hello everyone, > >With the current CVS debug_ts build I'm getting an abort in the TSRM >library. I've tracked this down to php_module_startup() in main.c. The >call to php_output_startup() on line 783 accesses thread specific data, >however the

Fwd: Re: [PHP-DEV] Using $HTTP_SESSION_VARS with register_globals On

2001-05-22 Thread Andi Gutmans
If any of the documentation team has time to take care of this it would be great. Thanks, Andi >Date: Tue, 22 May 2001 12:54:26 -0500 >From: Andrei Zmievski <[EMAIL PROTECTED]> >To: Andi Gutmans <[EMAIL PROTECTED]> >Cc: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL

Re: [PHP-DEV] Bug or undocumented feature: static?

2001-05-22 Thread Andi Gutmans
It is supposed to behave like this. We took the C++ model. Andi At 12:13 PM 5/22/2001 +0200, Ulf Wendel wrote: >Hi, > >I stepped into something yesterday I would call an undocumented feature >or a bug, don't know if I should make a bug report. Here's the snippet: > >function bar() { > static $

Re: [PHP-DEV] Using $HTTP_SESSION_VARS with register_globals On

2001-05-22 Thread Andi Gutmans
At 05:02 PM 5/21/2001 -0500, Andrei Zmievski wrote: >On Mon, 21 May 2001, [EMAIL PROTECTED] wrote: > > I guess logically we should make the global variable take precedence and > > perhaps even export any changes to $HTTP_SESSION_VARS into the global > > symbol table. Somewhat magical, but what el

Re: [PHP-DEV] 4.0.6RC2

2001-05-21 Thread Andi Gutmans
At 03:53 AM 5/21/2001 -0400, Sterling Hughes wrote: >Andi Gutmans wrote: > >>At 03:43 AM 5/21/2001 -0400, Sterling Hughes wrote: >> >>>Colin Viebrock wrote: >>> >>>>>Can you please check 4.0.6RC1? >>>> >>>>(http://www.ph

Re: [PHP-DEV] 4.0.6RC2

2001-05-21 Thread Andi Gutmans
At 03:43 AM 5/21/2001 -0400, Sterling Hughes wrote: >Colin Viebrock wrote: > >>>Can you please check 4.0.6RC1? >>(http://www.php.net/~andi/php-4.0.6RC1.tar.gz) >>Getting make errors with CURL (which I never got before): > > >upgrade to cURL 7.7.3 What about a configure msg? It's probably worth it

[PHP-DEV] Removed php4/ext/saprfc

2001-05-21 Thread Andi Gutmans
Hey, I've removed the SAP model so that we can make a clean and easy 4.0.6 release. We can return it after 4.0.6 although it's probably best only to return it once it's in a relatively OK state. You should all remove the following from your php4/ext/CVS/Entries file or you'll get an annoying b

Re: [PHP-DEV] 4.0.6RC2

2001-05-21 Thread Andi Gutmans
At 03:13 PM 5/21/2001 -0400, Colin Viebrock wrote: > > > Do you know what to revert to? Apparently it didn't work in 4.0.5 >either. > > > > Huh? Revision 1.29 says "complete rewrite of domxml module", and 1.28 is > > where 4.0.5 was branched so that's what you'd revert back to. > >I'm sorry but I'

Re: [PHP-DEV] 4.0.6RC2

2001-05-21 Thread Andi Gutmans
At 01:42 PM 5/21/2001 -0500, Andrei Zmievski wrote: >On Mon, 21 May 2001, Andi Gutmans wrote: > > Do you know what to revert to? Apparently it didn't work in 4.0.5 either. > >Huh? Revision 1.29 says "complete rewrite of domxml module", and 1.28 is >where 4.0.5

Re: [PHP-DEV] 4.0.6RC2

2001-05-21 Thread Andi Gutmans
At 01:37 PM 5/21/2001 -0500, Andrei Zmievski wrote: >On Mon, 21 May 2001, Andi Gutmans wrote: > > Well php-dev, wake up! :) What do we do with this one? I don't think 4.0.6 > > should linger forever because of it. > >My vote is to revert the changes made to it. Do

Re: [PHP-DEV] 4.0.6RC2

2001-05-21 Thread Andi Gutmans
At 07:56 PM 5/21/2001 +0200, Sebastian Bergmann wrote: >Andi Gutmans wrote: > > a) the SAP extension. I want to nuke it from the CVS repository > > completely and have Uwe return it when he has time to continue the > > work. > > s/Uwe/Hartmut Yep. > > b)

[PHP-DEV] 4.0.6RC2

2001-05-21 Thread Andi Gutmans
At 07:05 PM 5/21/2001 +0200, Sebastian Bergmann wrote: >Andi Gutmans wrote: > > Well it sounds like a bug in domxml to me. > > Damn. The first time I need this extension it turns out that it's >broken :-/ > > > Maybe yesterday's patch unveiled this bug becau

Re: [PHP-DEV] Latest CVS on Win32

2001-05-21 Thread Andi Gutmans
22 PM 5/21/2001 +0200, Sebastian Bergmann wrote: >Andi Gutmans wrote: > > Are you sure you rebuilt the whole tree? It works fine for me. > > Yes, I rebuilt completely. > > > Do you have an extremely short reproducing script? > >$xmldoc = domxml_new_xmldoc(&#

[PHP-DEV] db vs. dba

2001-05-21 Thread Andi Gutmans
Hey, Do people still use db or has it become an antique due to dba? Andi -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP-DEV] Latest CVS on Win32

2001-05-21 Thread Andi Gutmans
Are you sure you rebuilt the whole tree? It works fine for me. Do you have an extremely short reproducing script? Andi At 06:58 AM 5/21/2001 +0200, Sebastian Bergmann wrote: > With the latest CVS on Win32 I get the following warnings > > Warning: Unknown list entry type in request shutdown

Re: [PHP-DEV] memory allocation for PG() variables.

2001-05-20 Thread Andi Gutmans
I'm pretty sure it's malloc()'ed. In any case, you'll crash pretty quickly if you use the wrong one :) Andi At 09:41 PM 5/20/2001 -0400, Egan wrote: >I see that PG(open_basdir) holds the value of open_basedir. I need to >make a local hack to alter that value, adding a path from an Apache >envir

Re: [PHP-DEV] gd/config.m4 - some issues left

2001-05-20 Thread Andi Gutmans
Please don't forget the 4.0.6 branch when you address this. Andi At 01:45 PM 5/20/2001 +0200, Sascha Schumann wrote: > These three lines contain the and operator (-a) which is not > followed by an expression: > > if test "$PHP_JPEG_DIR" != "no" -a "$PHP_JPEG_DIR"; then > if test

RE: [PHP-DEV] mailparse extension

2001-05-20 Thread Andi Gutmans
Was that in chinese? :) Andi At 12:28 PM 5/20/2001 +0100, Wez Furlong wrote: >Ooops. > >That says something along the lines of: > >I have commited my mailparse extension since there was no negative feedback >when I asked about doing it a couple of weeks ago. > >--Wez. > > > SGksDQoNCkkndmUgY29tb

Re: [PHP-DEV] Open issues for 4.0.6

2001-05-19 Thread Andi Gutmans
At 07:11 PM 5/19/2001 +0200, [EMAIL PROTECTED] wrote: >On Sat, 19 May 2001, Andi Gutmans wrote: > > > I don't know but I feel it's wrong to do an == check because people might > > be using this PHP version when 2.4.18 is out. > >True, but I just tried 2.4.13, and

Re: [PHP-DEV] Open issues for 4.0.6

2001-05-19 Thread Andi Gutmans
I don't know but I feel it's wrong to do an == check because people might be using this PHP version when 2.4.18 is out. Andi At 06:47 PM 5/19/2001 +0200, [EMAIL PROTECTED] wrote: >On Sat, 19 May 2001, Andi Gutmans wrote: > > > >I just committed a fix to the CVS, this

Re: [PHP-DEV] Open issues for 4.0.6

2001-05-19 Thread Andi Gutmans
Can you grab the latest CVS and check if this is fixed. Derick commited a couple of fixes yesterday. Andi At 05:13 PM 5/18/2001 +0100, Chris Walker wrote: >Hello Andi, > >Friday, May 18, 2001, 5:07:46 PM, you wrote: > >AG> I think there are two main open issues for 4.0.6. >AG> The crash in mcrypt

<    2   3   4   5   6   7   8   9   10   11   >