Re: Re[4]: [PHP-DEV] [NEW EXTENSTION]: templates

2001-12-07 Thread Andi Gutmans
At 05:07 PM 12/5/2001 +0200, Andrey Hristov wrote: I don't think that If I wrote an extension it will go into the public because the rights on it are owned by the university I study. It will never be GPLed if not rewritten after I get the degree. You can ask for permission to put it in the

Re: [PHP-DEV] Re: [PHP] PHP XML

2001-12-08 Thread Andi Gutmans
At 11:50 AM 12/8/2001 +0100, Stig S. Bakken wrote: Rasmus Lerdorf wrote: Guys, relax. No, this does not work. The only reason your example works is because min() is a built-in PHP function already. man now i am crushed... i knew it wouldn't work - that's why i never

Re: [PHP-DEV] Re: Headers

2001-12-11 Thread Andi Gutmans
At 01:31 PM 12/11/2001 -0500, Jon Parise wrote: On Tue, Dec 11, 2001 at 02:18:50PM +0100, Sebastian Bergmann wrote: http://www.sebastian-bergmann.de/header_changes.txt Quite some -Copyright (c) 1997, 1998, 1999, 2000 The PHP Group | +Copyright (c) 1997-2002

Re: [PHP-DEV] Unbuffered fgetc needed for stdin

2001-12-15 Thread Andi Gutmans
This usually depends on how you configured your tty. I think by default it is buffered by the OS until a newline so it's probably not PHP which needs changing but your settings. Andi At 12:30 PM 12/15/2001 -0800, August Zajonc wrote: I've really run into a wall trying to get single

Re: [PHP-DEV] ext/adt - futher devel?!

2001-12-17 Thread Andi Gutmans
At 12:06 AM 12/18/2001 +0100, Sterling Hughes wrote: Hi, as ext/adt hasn't experienced any updates for a while, I'd just like to know if further development ist planned. I've been pretty as of late -- I should have time during the holidays to play around with it a bit... Its

Re: [PHP-DEV] PHP for Win32 without MySQL?

2001-12-18 Thread Andi Gutmans
Your best bet is to remove all files which are related to MySQL from your project. (and not define HAVE_MYSQL) Andi At 11:16 AM 12/18/2001 -0500, Matt White wrote: Has anyone attempted to build a version of PHP on Win32 without MySQL? In config.w32.h there is the following couple of lines: /*

[PHP-DEV] exit()

2001-12-21 Thread Andi Gutmans
Guys, I just read the whole thread about exit() now. Boy you guys write a lot :) Unlike Zeev I think that overloading exit() is the best solution we have right now. Have exit(integer) exit with an exit status and exit(string) print the error. I also very much liked the proposal of exit(string,

Re: [PHP-DEV] Bug in 4.1.0; _SESSION

2001-12-21 Thread Andi Gutmans
I guess this bug needs to be fixed somehow but I'd probably just not allow it to be defined as global. The whole reason for making it an auto-global was so that it'll be easy to use. People know (and will know) that $_SESSION is a global. I think your explicit marking of it as a global is not

Re: [PHP-DEV] SAPI Module Leaking

2001-12-21 Thread Andi Gutmans
Does this web server spawn a new thread for each request? Or does it reuse its threads? Andi At 12:22 PM 12/21/2001 -0600, Alex Leigh wrote: I'm sure it's leaking, it'll readily consume a gig of memory and shows no signs of slowing down. I originally was calling phpinfo(), but it also leaks

Re: [PHP-DEV] SAPI Module Leaking

2001-12-21 Thread Andi Gutmans
Check out DllMain() in php4isapi.c. Are you running the thread attach and thread detach code? Andi At 12:43 PM 12/21/2001 -0600, Alex Leigh wrote: It can do both. In the testing configuration, it is not pooling but destroying the threads. They are created as detached threads, which at least on

Re: [PHP-DEV] exit()

2001-12-25 Thread Andi Gutmans
be introduced - where these BC changes will be announced - when these DB changes will be announced - what kind of procedure may be appropriate for BC changes As we already know, there were BC changes in past. Why not for future changes? - Original Message - From: Andi Gutmans [EMAIL

Re: [PHP-DEV] References - good or bad

2001-12-28 Thread Andi Gutmans
As I mentioned on the ZE2 mailing list there general rule of thumb is: a) Objects should be passed by reference. b) Everything else including arrays should be used by value whenever possible semantically. In the ZE2 objects will join b). Basically what this means, as long as you're not

Re: [PHP-DEV] References - good or bad

2001-12-29 Thread Andi Gutmans
At 08:20 AM 12/29/2001 +0800, Alan Knowles wrote: Andi Gutmans wrote: As I mentioned on the ZE2 mailing list there general rule of thumb is: a) Objects should be passed by reference. b) Everything else including arrays should be used by value whenever possible semantically. In the ZE2 objects

Re: [PHP-DEV] Re: is_array_multidimensional

2001-12-29 Thread Andi Gutmans
At 09:06 PM 12/29/2001 +, Jim Winstead wrote: Derick Rethans [EMAIL PROTECTED] wrote: Log: - Added extra parameter to count() that recursively counts elements in an array and added is_array_multidimensional(). (patch by Vlad Bosinceanu [EMAIL PROTECTED]) do we really want to

[PHP-DEV] Fwd: [Zend Engine 2] Zend Engine 2 Examples

2001-12-29 Thread Andi Gutmans
is attached or can be downloaded from http://www.php.net/~andi/zend2.zip Please don't announce it anywhere else because I don't think it's ready for a wider audience. Andi Date: Fri, 28 Dec 2001 07:35:22 +0200 To: [EMAIL PROTECTED] From: Andi Gutmans [EMAIL PROTECTED] Subject: [Zend Engine 2] Zend Engine

Re: [PHP-DEV] Re: is_array_multidimensional

2001-12-29 Thread Andi Gutmans
At 10:42 PM 12/29/2001 +0100, Stig Venaas wrote: On Sat, Dec 29, 2001 at 11:13:11PM +0200, Andi Gutmans wrote: I agree with Jim. Arrays can contain things. Things can also be other arrays. You can have an array which contains two other arrays and four integers. I don't think we should add

Re: [PHP-DEV] Moving extensions to PECL

2001-12-31 Thread Andi Gutmans
Before we move stuff to PECL can you give us an overview of how this is supported? How do I get a list of extensions which are in PECL, download what I want and add them to my PHP tree for a static compile or build them dynamically? I assume you guys automated these things. Please can you give

Re: [PHP-DEV] MOPS Benchmark

2002-01-01 Thread Andi Gutmans
At 04:59 PM 1/1/2002 +0100, Sebastian Bergmann wrote: I don't mind PHP to be slower than Perl or Python that much. But what I would not mind would be the Zend Engine 2 beeing slower than the Zend Engine 1... That's pretty weird. I ran the same script and they are pretty much the same

[PHP-DEV] PHP 5

2002-01-01 Thread Andi Gutmans
Hey, The Zend Engine 2 has made lots of progress. I think we should have a discussion of what other things besides the scripting engine we'd like to change for PHP 5. I know there was talk on deprecating some stuff such as old-style function names, moving extensions to PECL etc.. I think it's

Re: [PHP-DEV] Re: PHP 5

2002-01-01 Thread Andi Gutmans
At 05:56 PM 1/1/2002 +, Jim Winstead wrote: (and 'unimportant' is a dangerous word. obviously that depends on the situation.) I think it's obvious what I meant. Andi -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: [PHP-DEV] PHP 5

2002-01-01 Thread Andi Gutmans
At 07:24 PM 1/1/2002 +0100, Georg Richter wrote: Although we're planning on only move the unimportant extensions out of PHP I still think it should be extremely easy to get a list of available extensions (maybe even a part of the ./configure process) and to easily download/configure/install

Re: [PHP-DEV] SOAP and CORBA

2002-01-01 Thread Andi Gutmans
At 12:44 AM 1/2/2002 +, Nick Loman wrote: Hello PHP developers, Interesting to think about what might make a nice foundation technology for all the exciting potential of PHP5. SOAP is obviously an important technology for websites in the future. But given that (I guess) most of us are not

Re: [PHP-DEV] Built-in SOAP based Web Services support (wasRe: PHP 5)

2002-01-01 Thread Andi Gutmans
At 09:13 PM 1/1/2002 -0200, Manuel Lemos wrote: I already have some SOAP components written in this meta-language. If I work on something that would make it easier to provide and consume Web servers (and I have been doing some work), I will invest my time better on doing it with this

[PHP-DEV] PECL (was PHP 5)

2002-01-02 Thread Andi Gutmans
I think that if PECL ends up being very good and actually works very nicely and transparently, we would PECLize all extensions. At release time of a new version of PHP we'd create a huge .tar.gz with the latest STABLE versions of the extensions we decide should be in the release tar.gz (I

Re: [PHP-DEV] PHP 5

2002-01-02 Thread Andi Gutmans
Creating a CLI sapi module w/o all of the CGI crap is extremely easy. What might be more challenging is fixing the build so that it always builds the cli. Then again I don't really know because I don't know the whole build system too well. Andi -- PHP Development Mailing List

Re: [PHP-DEV] Re: [PEAR-DEV] PECL (was PHP 5)

2002-01-02 Thread Andi Gutmans
I suggest keeping it on php-dev. All of the build stuff has been done by php-dev in the past as build/PECL related discussions really are php-dev. It also means that php-dev won't be allowed to cut themselves out of what's happening with PECL and it won't lead to some php-dev ppl who don't

Re: [PHP-DEV] Proposed updates and extensions to the MySQL extension

2002-01-03 Thread Andi Gutmans
Zak, You will probably be better off waiting for the ZE2's new object overloading facilities. It will hopefully be easier to write and will allow you to do some things which you can't do today. If you write it for ZE1 your extension's API might look different than if you had written it for

Re: [PHP-DEV] Always building command line PHP

2002-01-03 Thread Andi Gutmans
At 04:39 PM 1/3/2002 -0500, Jon Parise wrote: On Thu, Jan 03, 2002 at 04:26:38PM -0500, J Smith wrote: Just a little annoyance I guess. Nothing to get in knots over. But in the end, I would prefer separate php.ini files, maybe something like php-cli.ini for the default CLI file and and

Re: [PHP-DEV] Proposed updates and extensions to the MySQL extension

2002-01-04 Thread Andi Gutmans
At 10:37 AM 1/4/2002 +0100, Markus Fischer wrote: On Fri, Jan 04, 2002 at 09:24:33AM +, Phil Driscoll wrote : On Thursday 03 January 2002 11:08 pm, Zak Greant wrote: Why? Because not everyone wants to use *(#$ing objects in a simple script! No one will be forced to use

Re: [PHP-DEV] adding finite(), isnan(), isinf()

2002-01-05 Thread Andi Gutmans
At 07:12 PM 1/4/2002 -0800, Jim Winstead wrote: these are the standard C library names. are people going to insist they be phpified? is_finite() is_nan(), is_infinite()? Yes I think they should be phpified. The fact that we have some historic problems doesn't mean we should fix it now. It

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard string.c /ext/standard/tests/strings wordwrap.phpt

2002-01-05 Thread Andi Gutmans
At 06:03 PM 1/5/2002 +, Jim Winstead wrote: Andi Gutmans [EMAIL PROTECTED] wrote: If you need to use something like strncat()/strncpy() you should use strlcpy()/strlcat(). We changed to these functions a couple of years ago. in the case of wordwrap(), it is only copying part

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard string.c /ext/standard/tests/strings wordwrap.phpt

2002-01-05 Thread Andi Gutmans
At 10:44 AM 1/5/2002 -0800, Jim Winstead wrote: On Sat, Jan 05, 2002 at 08:22:24PM +0200, Andi Gutmans wrote: You're missing the point. In order to minimize the amount of API misuse of the str*cat() family of functions we decided only to use the ones I mentioned, everywhere. I am sure

Re: [PHP-DEV] Advice wanted on function arguments

2002-01-05 Thread Andi Gutmans
Just be aware that POST/GET/COOKIE data is always saved as a string. So if someone sends you 2 it'll be the string 2. If the arguments to your function won't originate from the above but are written by the developer then overloading will work well. If not you might want to consider splitting

Re: [PHP-DEV] mkdir() , making 'mode' parameter optional

2002-01-11 Thread Andi Gutmans
Sounds fine to me. Andi At 10:41 PM 1/10/2002 +0100, Markus Fischer wrote: Is there someone who would object modifying mkdir() so it only needs the dirname to create and mode is optonal and defaults to 0777 ? bool mkdir(string pathname[, int mode = 0777]); There're no

Re: [PHP-DEV] mkdir() , making 'mode' parameter optional

2002-01-11 Thread Andi Gutmans
At 05:31 AM 1/11/2002 +0100, Markus Fischer wrote: On Fri, Jan 11, 2002 at 05:22:54AM +0100, Markus Fischer wrote : In any case - a hardcoded 0777 isn't logical, apart from being less safe. It makes totally sense because it only relies on the umask() being set. Well, maybe

Re: [PHP-DEV] consistent way to handle structs

2002-01-11 Thread Andi Gutmans
On Fri, 11 Jan 2002, Markus Fischer wrote: On Fri, Jan 11, 2002 at 11:22:22AM +0100, Hartmut Holzgraefe wrote : Georg Richter wrote: is there (should be) a consistent way to pass or return a structure?! e.g.: a) Function mktime splits the structure in lot of parameters b)

Re: [PHP-DEV] consistent way to handle structs

2002-01-11 Thread Andi Gutmans
On Fri, 11 Jan 2002, Markus Fischer wrote: What other way do we have to specify arbitray optional parameters without an ordering? Teh disadvantage of optional parmeters is when you need to only set the last one, you'll have to define all preceding optional parameters too. How

Re: [PHP-DEV] consistent way to handle structs

2002-01-11 Thread Andi Gutmans
On Fri, 11 Jan 2002, Hartmut Holzgraefe wrote: Andi Gutmans wrote: ... it'll encourage passing parameters in hashes which is something we really wouldn't want. it is already common practice in userland so you are fighting a war that is already lost IMHO Facts say it's not lost

Re: [PHP-DEV] consistent way to handle structs

2002-01-11 Thread Andi Gutmans
On Fri, 11 Jan 2002 [EMAIL PROTECTED] wrote: ** Reply to note from Markus Fischer [EMAIL PROTECTED] Fri, 11 Jan 2002 12:48:15 +0100 What other way do we have to specify arbitray optional parameters without an ordering? Teh disadvantage of optional parmeters is when you need to only

[PHP-DEV] Build problem since introduction of cli

2002-01-13 Thread Andi Gutmans
Hey, When building PHP not from the php4 directory (e.g. in php4/cgi doing a ../configure) the build dies. I can't send in the error message right now but hopefully whoever changed the build can try it. Andi -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL

Re: [PHP-DEV] zend variable handling

2002-01-14 Thread Andi Gutmans
You should use MAKE_STD_ZVAL(). In the past this macro allocated zval's in a faster way via a cache. It has been disabled right now but it very probably will be redone a bit and then re-enabled. Andi On Mon, 14 Jan 2002, brad lafountain wrote: Can someone explain the difference from

Re: [PHP-DEV] Re: strtok bug

2002-01-14 Thread Andi Gutmans
On Mon, 14 Jan 2002, Manuel Lemos wrote: Hello, Robert Mena wrote: Hi Manuel and all developers. I understand that the implementation of strtok was broken (non POSIX compliant) but since it has been like this for ages would be better to give a chance to developers worldwide

Re: [PHP-DEV] BEGIN_EXTERN_C()

2002-01-18 Thread Andi Gutmans
No good reason. If you need to add it in someplaces go ahead and send in a patch. Andi On 18 Jan 2002, Robin Ericsson wrote: Is there any reason that only parts of Zend is using BEGIN_EXTERN_C()? regards Robin -- PHP Development Mailing List http://www.php.net/ To

[PHP-DEV] Preview of PHP 5

2002-01-18 Thread Andi Gutmans
Hey, I'd like to get more people to play around with the Zend Engine 2. I think the only way of getting this done is by posting a package on www.php.net. I'm not sure if we should call it alpha or preview (it's both) but I don't think the name matters too much as long as we get people to try it.

RE: [PHP-DEV] Preview of PHP 5

2002-01-18 Thread Andi Gutmans
On Fri, 18 Jan 2002, Robinson, Mike wrote: Andi Gutmans wrote: I'd like to get more people to play around with the Zend Engine 2. I think the only way of getting this done is by posting a package on www.php.net. I think this is a good idea. I think 'alpha' would be better than

Re: [PHP-DEV] Preview of PHP 5

2002-01-18 Thread Andi Gutmans
On Fri, 18 Jan 2002, Jan Lehnardt wrote: Hi, On Fri, 18 Jan 2002 18:18:26 +0200 (IST) Andi Gutmans [EMAIL PROTECTED] wrote: I agree. I think alpha is better. what about pre-alpha to make things re-al-ly clear? Well the definition of alpha is before all features are in so I think

Re: [PHP-DEV] Re: [PHP] Re: [PHP-DEV] Re: Computer Science and PHP

2002-01-19 Thread Andi Gutmans
On Sat, 19 Jan 2002, Alan Knowles wrote: This kind of bytes at a nerve when you are hunting for work and almost nobody mentions PHP here Anyway, A quick few ideas to throw in the pot.. - Press releases, for PHP5 pre-alpha, PHP-GTK's, (Derick - srm?) upcomming release etc. which

Re: [PHP-DEV] free_zval not working?

2002-01-22 Thread Andi Gutmans
On Tue, 22 Jan 2002, Thies C. Arntzen wrote: On Tue, Jan 22, 2002 at 09:27:53AM +0100, Robin Ericsson wrote: I'm using this on php 4.0.6, it know it's old, but things will break if I upgrade :) This is the code: zval *z_return; MAKE_STD_ZVAL(z_return);

Re: [PHP-DEV] FeatureRequest for PHP5

2002-01-23 Thread Andi Gutmans
You can already use constant arrays such as array(1, 2, 3) as constants. Andi On Wed, 23 Jan 2002, Christian Dickmann wrote: Hi all, It would be great if it was possible to have CONSTANTS of types like as Arrays or Objects. This way one could have a Config-Constant and you wouldn't

Re: [PHP-DEV] Re: RFE: $HTTP_POST_VARS = $_POST;

2002-01-24 Thread Andi Gutmans
PHP 5 per-class constants can already except static arrays such as array(1, 2, 3) as their value. I'll put the issue of global constants on my TODO and believe PHP 5 will also support these for global constants. However, you won't be able to create a constant with a non-constant value such as

Re: [PHP-DEV] Re: Bug #15186 Updated: define/mysql_connect problem

2002-01-25 Thread Andi Gutmans
Yasuo, I don't quite understand. define() hasn't been changed in the Zend Engine 1. Can you please send me a reproducing script without pg_*() which works on 4.0.6 and crashes on 4.2.0-dev? Thanks, Andi On Fri, 25 Jan 2002, Yasuo Ohgaki wrote: Hi Andi, I think you are interested in this

Re: [PHP-DEV] is_subclass_of() patch

2002-01-30 Thread Andi Gutmans
Sounds OK to me although it might be confusing with the name of this function. Andi On Tue, 29 Jan 2002, Andrei Zmievski wrote: Right now is_subclass_of() will return false if the object is exactly of the class you are trying to test for. I propose the following patch: ---

Re: [PHP-DEV] PECL/PHPDoc

2002-01-30 Thread Andi Gutmans
None of the PEAR guys ever answered my Email about PECL. Is there something which actually works? Andi On Wed, 30 Jan 2002, Sebastian Bergmann wrote: 'lo, could someone please fix, if possible, the PHPDoc extension from PECL so that it compiles in ZTS mode? Thanks, Sebastian

Re: [PHP-DEV] PHP 4.2.0 / PHP 5.0.0-alpha

2002-02-04 Thread Andi Gutmans
At 12:39 PM 2/4/2002 +0100, Sebastian Bergmann wrote: 'lo there, what are the plans for the PHP 4.2.0 release? Shouldn't we branch PHP_4_2_0 from HEAD somewhen soon? NEWS already contains about 150 lines of changes since PHP 4.1.1. I think this is probably a good idea. What about

RE: [PHP-DEV] PHP 4.2.0 / PHP 5.0.0-alpha

2002-02-04 Thread Andi Gutmans
At 08:56 PM 2/4/2002 +, James Cox wrote: Andi, with regard to the release of a v.5 [pre-]alpha, what are your thoughts on a developer vs public announcement? I think we need to think of a forum (possibly dev/qa/advanced mailing lists) which is big enough in order to give it a thorough test

Re: [PHP-DEV] PHP 4.2.0 / PHP 5.0.0-alpha

2002-02-04 Thread Andi Gutmans
At 04:00 PM 2/4/2002 -0500, Dan Kalowsky wrote: On Mon, 4 Feb 2002, Andi Gutmans wrote: I think this is probably a good idea. What about Sascha's build patch? Sounds like an even better idea to me. A new build system for a new engine. And hopefully a whole lot of bug fixes :) I meant

RE: [PHP-DEV] PHP 4.2.0 / PHP 5.0.0-alpha

2002-02-04 Thread Andi Gutmans
At 09:04 PM 2/4/2002 +, James Cox wrote: I think we need to think of a forum (possibly dev/qa/advanced mailing lists) which is big enough in order to give it a thorough test run and find lots of bugs. I wouldn't want this to be a complete public front page php.net announcement.

Re: [PHP-DEV] PHP Safe Mode Filesystem Circumvention Problem (fwd)

2002-02-04 Thread Andi Gutmans
We have always said that safe mode isn't very safe. I'm sure there are other ways of circumventing it. Unless a few people focus specifically on safe mode I don't think this will change. Andi At 12:26 AM 2/5/2002 -0500, James E. Flemer wrote: BTW I just noticed that this has been entered as

Re: [PHP-DEV] Tabs Vs Spaces (and other coding styles)

2002-02-05 Thread Andi Gutmans
At 05:19 PM 2/5/2002 +, James Cox wrote: Guys, have we ever decided on this? in our code do we go for tabs or spaces? Is there a style guide anywhere on this? [4] When indenting, use the tab character. A tab is expected to represent four spaces. It is important to maintain

Re: [PHP-DEV] [Fwd: Re: [Zend Engine 2] Case sensitivity: Conclusion(?)]

2002-02-06 Thread Andi Gutmans
I very much agree with this Email and am -1. Andi At 11:01 PM 2/6/2002 +0800, John Lim wrote: Thanks for posting this request for comments, Yasuo. I think from a C developer's point of view, it makes perfect sense to have case-sensitivity. From a scripting point-of-view, I think it is a step

Re: [PHP-DEV] [Fwd: Re: [Zend Engine 2] Case sensitivity: Conclus ion(?)]

2002-02-06 Thread Andi Gutmans
At 06:04 PM 2/6/2002 -0600, Jason Greene wrote: On Wed, 2002-02-06 at 10:13, Zeev Suraski wrote: While I agree with Marko's vote (I'm also very much against it), I derive my conclusion from a whole different perspective. Guys, we are not next to the drawing board right now. The specs

Re: [PHP-DEV] Refcount in var_dump()

2002-02-06 Thread Andi Gutmans
At 11:03 PM 2/6/2002 -0600, Jason Greene wrote: Would anyone object if I added refcount information to var_dump? me. I think it would really confuse people. I suggest adding another function. It should probably be only enabled in debug builds because the end user shouldn't be worrying about

Re: [PHP-DEV] [Fwd: Re: [Zend Engine 2] Case sensitivity: Conclusion(?)]

2002-02-07 Thread Andi Gutmans
At 07:58 AM 2/7/2002 +0100, Stig S. Bakken wrote: After careful consideration on the CS issue I must say I agree with John here. The _only_ case where I feel CS is a problem, is when dealing with other environments. But the price for changing this today is simply too high. It should have been

Re: [PHP-DEV] Refcount in var_dump()

2002-02-07 Thread Andi Gutmans
At 06:52 AM 2/7/2002 +0100, Markus Fischer wrote: On Thu, Feb 07, 2002 at 07:21:07AM +0200, Andi Gutmans wrote : At 11:03 PM 2/6/2002 -0600, Jason Greene wrote: Would anyone object if I added refcount information to var_dump? me. I think it would really confuse people. I suggest adding

[PHP-DEV] Re: Case sensitivity: Conclusion(?)

2002-02-08 Thread Andi Gutmans
At 07:59 PM 2/8/2002 +0900, Yasuo Ohgaki wrote: Andi Gutmans wrote: At 06:55 PM 2/8/2002 +0900, Yasuo Ohgaki wrote: Andi Gutmans wrote: At 07:58 AM 2/7/2002 +0100, Stig S. Bakken wrote: After careful consideration on the CS issue I must say I agree with John here. The _only_ case where I feel

Re: [PHP-DEV] Re: Case sensitivity: Conclusion(?)

2002-02-08 Thread Andi Gutmans
At 09:20 PM 2/8/2002 +0900, Yasuo Ohgaki wrote: Andi Gutmans wrote: Name space BC problem is bad, since script may misbehave without proper error message where to fix. It's a bad BC problem since it's harder to fix/notice. In some cases, it seems works well while it's not. The question is how

Re: [PHP-DEV] Re: Case sensitivity: Conclusion(?)

2002-02-08 Thread Andi Gutmans
At 01:15 PM 2/8/2002 +0100, Hartmut Holzgraefe wrote: Yasuo Ohgaki wrote: It will be confusing PHP preserve case for other while internally case insensitve... exactly as confusing as the file systems 90+% of computer users (Win+MacOS that is) are used to ... Amen. Andi -- PHP Development

Re: [PHP-DEV] Separating Bug report emails to own list.. Re: Re[3]: [PHP-DEV] Suggestion:

2002-02-08 Thread Andi Gutmans
-1 :) For the reasons mentioned every six months when this matter is raised. At 02:49 PM 2/8/2002 +0200, Zeev Suraski wrote: +1 At 04:06 AM 2/8/2002, Jani Taskinen wrote: Just wanted to let you know that I'm doing exactly that. Filtering that annoying noise to other folder. :)

Re: [PHP-DEV] Separating Bug report emails to own list.. Re: Re[3]: [PHP-DEV] Suggestion:

2002-02-08 Thread Andi Gutmans
At 03:04 PM 2/8/2002 +0200, Jani Taskinen wrote: Do you filter these? :) I didn't do that before, but now that I am doing it, it makes following php-dev@ a LOT easier. I do :) But I still think that people subscribed to php-dev@ need to not only enjoy upsides but also the downsides of

[PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Re: Case sensitivity: Conclusion(?)

2002-02-08 Thread Andi Gutmans
At 01:42 PM 2/8/2002 +0100, Stig S. Bakken wrote: On Fri, 2002-02-08 at 13:38, Yasuo Ohgaki wrote: Andi Gutmans wrote: At 09:20 PM 2/8/2002 +0900, Yasuo Ohgaki wrote: Andi Gutmans wrote: Name space BC problem is bad, since script may misbehave without proper error message

Re: [PHP-DEV] Separating Bug report emails to own list.. Re: Re[3]: [PHP-DEV] Suggestion:

2002-02-08 Thread Andi Gutmans
At 03:15 PM 2/8/2002 +0200, Zeev Suraski wrote: At 03:13 PM 2/8/2002, Andi Gutmans wrote: At 03:04 PM 2/8/2002 +0200, Jani Taskinen wrote: Do you filter these? :) I didn't do that before, but now that I am doing it, it makes following php-dev@ a LOT easier. I do :) But I still think that people

[PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Re: Case sensitivity: Conclusion(?)

2002-02-08 Thread Andi Gutmans
At 02:20 PM 2/8/2002 +0100, Stig S. Bakken wrote: On Fri, 2002-02-08 at 14:14, Andi Gutmans wrote: At 01:42 PM 2/8/2002 +0100, Stig S. Bakken wrote: On Fri, 2002-02-08 at 13:38, Yasuo Ohgaki wrote: Andi Gutmans wrote: At 09:20 PM 2/8/2002 +0900, Yasuo Ohgaki wrote: Andi

Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Re: Case sensitivity: Conclusion(?)

2002-02-08 Thread Andi Gutmans
At 02:39 PM 2/8/2002 +0100, Stig S. Bakken wrote: On Fri, 2002-02-08 at 14:30, Andi Gutmans wrote: At 02:20 PM 2/8/2002 +0100, Stig S. Bakken wrote: On Fri, 2002-02-08 at 14:14, Andi Gutmans wrote: At 01:42 PM 2/8/2002 +0100, Stig S. Bakken wrote: On Fri, 2002-02-08 at 13:38, Yasuo

RE: [PHP-DEV] Separating Bug report emails to own list.. Re: Re[3]: [PHP-DEV] Suggestion:

2002-02-08 Thread Andi Gutmans
At 02:16 PM 2/8/2002 +, James Cox wrote: Someone suggested having php-bugs set up, and anyone with the relevant karma would automatically be on it. if it was closed subscribtion/unsubscription, then when someone gives karma, they also subscribe the person to that list. Perhaps that's a

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 / php.ini-dist php.ini-recommended /ext/tokenizer

2002-02-10 Thread Andi Gutmans
At 09:21 AM 2/10/2002 +0100, Sebastian Bergmann wrote: Markus Fischer wrote: It is not publicly exposed with ZEND_API(). I can't test right now, but maybe just need to modify the zend_compile.h file and prepend the prototype definition with ZEND_API ? Yes, prefixing the

Re: [PHP-DEV] msession tech note, feature (buglet), call for suggestions.

2002-02-12 Thread Andi Gutmans
At 10:16 PM 2/12/2002 -0500, [EMAIL PROTECTED] wrote: There are a number of ways to deal with this, but creating a socket pool of active sockets, and have a number of threads handle the sockets in a classing queue fashion seems like the best way. Anyone have a better idea? Either do a thread

Re: [PHP-DEV] msession tech note, feature (buglet), call for suggestions.

2002-02-12 Thread Andi Gutmans
At 06:23 AM 2/13/2002 +0100, Sterling Hughes wrote: At 10:16 PM 2/12/2002 -0500, [EMAIL PROTECTED] wrote: There are a number of ways to deal with this, but creating a socket pool of active sockets, and have a number of threads handle the sockets in a classing queue fashion seems like the

Re: [PHP-DEV] passing by reference

2002-02-13 Thread Andi Gutmans
At 07:28 PM 2/12/2002 +0100, Markus Fischer wrote: On Tue, Feb 12, 2002 at 10:05:06AM -0500, Chad Cunningham wrote : 4.1.1 seems to have gotten rid of ParameterPassedByReference. What is the proper, backwards compatable way to handle this now? PZVAL_IS_REF(z) defined in zend.h Even

[PHP-DEV] Re: Bug in current Object Model

2002-02-13 Thread Andi Gutmans
I don't think it's a bug. This weird behavior is due to the Engine 1 object model (which will be different in Engine 2). At 07:38 PM 2/12/2002 -0600, Jason Greene wrote: Zeev, Andi It appears that the bug we talked about in private correspondence does not just apply to object overloading. It

[PHP-DEV] Re: [PHP-CVS] cvs: ZendEngine2 / zend_compile.c zend_compile.h zend_language_parser.y

2002-02-13 Thread Andi Gutmans
Can we change the commit address to [EMAIL PROTECTED]? I like to filter my mail with the Qmail Delivered-To: directive so it help if the mailing list name would be different. Andi At 07:26 PM 2/13/2002 +, Andi Gutmans wrote: andiWed Feb 13 14:26:07 2002 EDT Modified files

Re: [PHP-DEV] Re: Bug in current Object Model

2002-02-13 Thread Andi Gutmans
At 01:34 PM 2/13/2002 -0600, Jason Greene wrote: Yes I do realize that the function would copy the value; however, I would think the output before and after $obj-do_something would be equal The problem I was mainly refering to is the reference count of the properties elements. Why would it grow

[PHP-DEV] Re: [PHP-CVS] Re: cvs: php4 /main main.c /sapi/cgi cgi_main.c /sapi/cli php_cli.c /sapi/pi3web pi3web_sapi.c

2002-02-15 Thread Andi Gutmans
At 09:25 AM 2/15/2002 +0100, [EMAIL PROTECTED] wrote: On Fri, 15 Feb 2002, Andi Gutmans wrote: At 08:47 PM 2/14/2002 -0600, Andrei Zmievski wrote: Andi Gutmans wrote: Exit status == -1 doesn't sound right to me. They can range from 0-255. That will only be set if there is a parse

Re: [PHP-DEV] fmod() function

2002-02-20 Thread Andi Gutmans
You can do $a % $b to calculate the remainder. Andi At 12:59 PM 2/21/2002 +1100, Graeme Merrall wrote: I was porting some Python scripts to PHP and came across the fmod() function. Since it's not implemented in PHP so I whipped up an fmod function for inclusion into ext/standard/math.c which

Re: [PHP-DEV] fmod() function

2002-02-20 Thread Andi Gutmans
Just realized now you're talking about doubles :) Never mind my previous Email... Andi At 12:59 PM 2/21/2002 +1100, Graeme Merrall wrote: I was porting some Python scripts to PHP and came across the fmod() function. Since it's not implemented in PHP so I whipped up an fmod function for

Re: [PHP-DEV] php + cygwin

2002-02-21 Thread Andi Gutmans
At 01:23 PM 2/21/2002 +0200, Stanislav Malyshev wrote: Did anyone have success in compiling PHP4 with cygwin? For me, configure fails with: checking if libtool supports shared libraries... yes ../ltconfig: Can't open ../ltconfig: No such file or directory configure: error: libtool tag

Re: [PHP-DEV] php + cygwin

2002-02-21 Thread Andi Gutmans
At 01:30 PM 2/21/2002 +0200, Stanislav Malyshev wrote: AG I don't think anyone has every compiled PHP with cygwin. But it should be possible? I.e., I don't see why wouldn't it be possible. Everything's possible :) I just don't think anyone has done it. Andi -- PHP Development Mailing List

Re: [PHP-DEV] fmod() function

2002-02-21 Thread Andi Gutmans
At 09:57 AM 2/21/2002 -0500, Jon Parise wrote: On Thu, Feb 21, 2002 at 08:08:28AM +0200, Andi Gutmans wrote: Just realized now you're talking about doubles :) Never mind my previous Email... Would it be worth extending the engine to apply the fmod() behavior to the % operator when operating

Re: [PHP-DEV] call_user_function()

2002-02-26 Thread Andi Gutmans
Can you send a unified diff of what call_user_function() would look like with your changes? Andi At 06:04 AM 2/25/2002 -0800, brad lafountain wrote: Ok, I know ive already posted this but no responded. So I'll do it again. Currently call_user_function() doesn't call overloaded class

Re: [PHP-DEV] Apache2 and PHP CVS from today

2002-02-26 Thread Andi Gutmans
I completely understand your point. Some people feel they need those extra 10% for production machines. But are you actually planning on running Apache 2 on a heavily loaded production machine? If yes, I think it might still be a bit early to abandon 1.3.x. If no and you just want to mess

Re: [PHP-DEV] Mutex deadlock problem?

2002-02-26 Thread Andi Gutmans
Hey, Can you please try the latest CVS of PHP Zend and let us know if it fixes the problem? Thanks, Andi At 02:01 AM 2/26/2002 -0700, Venkat Raghavan wrote: Hi. There seems to be a mutex deadlock problem in TSRM / Zend. ts_free_thread() function locks the tsmm_mutex mutex and calls

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 / configure.in /main php_version.h

2002-02-27 Thread Andi Gutmans
I don't see any reason not to postpone the branching by a couple of days if that's enough time for you. Andi At 11:57 AM 2/27/2002 -0600, Jason Greene wrote: I was hoping the sockets work I was planning on would make the 4.2 branch. I guess thats not possible? -Jason On Wed, 2002-02-27 at

Re: [PHP-DEV] [PATCH] Better fix for PHP Safe Mode Filesystem Circumvention Problem

2002-02-28 Thread Andi Gutmans
At 05:03 AM 2/28/2002 -0700, Zak Greant wrote: Hi Jason, Did this actually work? I wrote almost the same code on my own and tested it, only to find that nothing changed I walked through the code, but did not spot a point where the CLIENT_LOCAL_FILES is actually used other than: % grep -rn

Re: [PHP-DEV] GD Shared library confusion

2002-03-02 Thread Andi Gutmans
At 07:56 AM 3/2/2002 -0800, Rasmus Lerdorf wrote: Ok, so the situation is this: --with-gd=/some/dir This will go through and do configure checks to figure out which version of GD live in /some/dir Say a static libgda built from gd-201 is sitting in there If the system also has a

Re: [PHP-DEV] GD Shared library confusion

2002-03-02 Thread Andi Gutmans
At 08:03 AM 3/2/2002 -0800, Rasmus Lerdorf wrote: If the system also has a /usr/lib/libgdso then as of 420 the -lgd is picking up this shared library I suppose the only way around this is to use a full path to the static library in the link line instead of -lgd Does a full path

Re: [PHP-DEV] New Build System Committed to HEAD

2002-03-07 Thread Andi Gutmans
Is there any way I can conditionally check for Zend Engine 2 and in that case change the PHP_ADD_SOURCES() to include some new Zend Engine 2 source files? Up to now I just had to do mv ZendEngine2 Zend and a ./buildconf. Andi At 16:43 07/03/2002 +0100, you wrote: On Thu, 7 Mar 2002, [EMAIL

Re: [PHP-DEV] Build broken: --without-pcre-regex (fwd)

2002-03-07 Thread Andi Gutmans
At 21:47 07/03/2002 +0100, Sascha Schumann wrote: Is Andrei on vacation? Yeah and he will most probably not be available by Email. Andi Anyway, both the 4.3.0 and the 4.2.0 branches will not build, if PCRE is disabled. - Sascha

Re: [PHP-DEV] ||=

2002-03-08 Thread Andi Gutmans
For some reason this doesn't exist in other languages like C++ and Java. I don't object to adding this as long as their is no good reason why those languages didn't support these. What do other people think? Andi At 20:26 07/03/2002 +0200, Andrey Hristov wrote: Hi, I found that $some ||=

Re: [PHP-DEV] the dl() issue

2002-03-11 Thread Andi Gutmans
At 11:42 11/03/2002 +0200, Marko Karppinen wrote: Shane wrote: I think dl is an extremely important feature, and issues surrounding it should be fixed. I'm absolutely, positively +1 on this. On the Mac OS X side of things, we are in the interesting situation of having PHP bundled with the

Re: [PHP-DEV] PHP audit project

2002-03-11 Thread Andi Gutmans
At 13:21 11/03/2002 +0100, Stefan Esser wrote: Hi, strlcpy and strlcat are inventions of the OpenBSD project. Since they invented those they are trying to infect other projects. I added them to PHP a long time ago and I have nothing to do with the OpenBSD project. They are extremely useful

Re: [PHP-DEV] PHP audit project

2002-03-11 Thread Andi Gutmans
And as long as you don't use strncpy() Just kidding :) Andi At 15:31 11/03/2002 +0200, Zeev Suraski wrote: Frank, Don't be discouraged by the feedback here. Your efforts are well appreciated! You can choose to use whichever functions you deem best, as long as you're the one doing the work

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