Re: [PHP-DEV] Scope and namespace

2003-03-13 Thread Andrei Zmievski
On Thu, 13 Mar 2003, Zeev Suraski wrote: Not really, we can't. You can have functions inside a namespace, that don't have a class entry attached to them. I guess we could create some hybrid of the namespace and ce, but it would end up being ugly, with many more extra checks. Suppose we

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /tests/classes interface_class.phpt interface_doubled.phpt interface_implemented.phpt interface_instantiate.phpt interface_member.phpt interface_method.phpt interface_method_final.phpt interface_method_private.phpt interface_must_be_implemented.phpt

2003-03-12 Thread Andrei Zmievski
On Wed, 12 Mar 2003, Marcus Boerger wrote: helly Tue Mar 11 19:10:00 2003 EDT Added files: /php4/tests/classes interface_class.phpt interface_doubled.phpt interface_implemented.phpt

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /tests/classes interface_class.phpt interface_doubled.phpt interface_implemented.phpt interface_instantiate.phpt interface_member.phpt interface_method.phpt interface_method_final.phpt interface_method_private.phpt interface_must_be_implemented.phpt

2003-03-12 Thread Andrei Zmievski
On Wed, 12 Mar 2003, Marcus Börger wrote: a class can only extend ONE class/interface but it can implement multiple interfaces. If you ask me i would not allow extending interfaces at all. That's what I was thinking too. -Andrei http://www.gravitonic.com/

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /tests/classes interface_class.phpt interface_doubled.phpt interface_implemented.phpt interface_instantiate.phpt interface_member.phpt interface_method.phpt interface_method_final.phpt interface_method_private.phpt interface_must_be_implemented.phpt

2003-03-12 Thread Andrei Zmievski
On Wed, 12 Mar 2003, Sebastian Bergmann wrote: I have seen extended interfaces quite often in the Java world. IIRC, the following code currently runs without problems and it should stay that way, if it does not harm us in any way: ?php interface Foo {} interface Bar

Re: [PHP-DEV] Moderate PHP-DEV

2003-03-12 Thread Andrei Zmievski
On Wed, 12 Mar 2003, Sterling Hughes wrote: It doesn't. They are free to send the mail to whomever they like, even put up a website with their ideas. They are not censured, they are restricted. In what country can you walk onto the floor of the congress (parliament) without sponsorship?

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /tests/classes interface_class.phpt interface_doubled.phpt interface_implemented.phpt interface_instantiate.phpt interface_member.phpt interface_method.phpt interface_method_final.phpt interface_method_private.phpt interface_must_be_implemented.phpt

2003-03-12 Thread Andrei Zmievski
On Wed, 12 Mar 2003, Marcus Börger wrote: interface JAZ {} interface FOO {} interface BAR extends FOO {} class foo implements FOO {} This works even though i do not like extends FOO. Why? Both C# and Java (AFAIR) allow interfaces to extend other interfaces. This doesn't - i hope -

Re: [PHP-DEV] Moderate PHP-DEV

2003-03-12 Thread Andrei Zmievski
On Wed, 12 Mar 2003, Tom Sommer wrote: I agree, I think changing the name is the way to go, and to remove it from the public mailing lists (or put it under another category) Don't forget that mailing lists is not the whole problem, many also use news groups :) php.internal php.coredev

[PHP-DEV] Scope and namespace

2003-03-12 Thread Andrei Zmievski
Seeing as how we now have only one-level deep namespaces and classes (which is another topic), does it make sense to have both 'scope' and 'ns' fields in zend_op_array structure? I would think they can be merged into one. I still want to hear from Zeev about lack of nested classes/namespaces..

[PHP-DEV] Segfault

2003-03-11 Thread Andrei Zmievski
With the latest ZE2: ?php class Bar { function boo() { ::zoo(); } } Bar::boo(); ? -Andrei http://www.gravitonic.com/ The day Microsoft makes something that doesn't suck, is probably the day Microsoft starts making vacuum cleaners.

Re: [PHP-DEV] iterating objects with interfaces

2003-03-10 Thread Andrei Zmievski
Very cool. :) On Sun, 09 Mar 2003, Marcus Börger wrote: Hi, i've just done the first step for a new extension which shall make use of interfaces newly implemented in ZE2. currently the extension implements the namespace spl and the interfaces spl_foreach, spl_forward and spl_key. A

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard var.c

2003-03-10 Thread Andrei Zmievski
On Mon, 10 Mar 2003, Sebastian Bergmann wrote: Can I have my get_object_handle() function, too, pretty please? ;-) Besides, IIRC, Andi said back then that the object handle is not unique. But it's still useful. -Andrei http://www.gravitonic.com/

Re: [PHP-DEV] Re: New CLI switches (was [PHP-DEV] Using CLI as a shell)

2003-02-04 Thread Andrei Zmievski
I don't like this. IMO all those switches make it messy... and I really don't see the advantage of this over -r. PHP isn't supposed to be used like this. If it things get too complicated for -r, write a separate script instead of hacking up the command line. -1 on this. Yeah, I still

[PHP-DEV] Re: zend_API.c

2003-02-03 Thread Andrei Zmievski
2003-02-02 Harald Radi [EMAIL PROTECTED] * zend_API.c zend_API.h: extend the parameter parsing API by two functions for parsing method parameters with automatic detection if the function was called as such or as a class method (with a valid this ptr).

[PHP-DEV] Re: zend_API.c

2003-02-03 Thread Andrei Zmievski
On Mon, 03 Feb 2003, Harald Radi wrote: it is not yet used anywhere, so we can still change it however we want. if you think it doesn't belong there we can even remove it, but i already needed that functionality in 3+ extensions and i guess you even will like it for your gtk stuff. i even have

[PHP-DEV] Re: zend_API.c

2003-02-03 Thread Andrei Zmievski
On Mon, 03 Feb 2003, Harald Radi wrote: because people prefer either the one or the other way to manipulate things. people not familiar with oo will most likely not not stick with the oo api nor will they be happy if they're forced to use it. on the other hand people writing their scripts

[PHP-DEV] Re: zend_API.c

2003-02-03 Thread Andrei Zmievski
On Mon, 03 Feb 2003, Harald Radi wrote: that would be a big step back again for several reasons: -) if done in c code you have one function serving as function and method, thus you have the same order/amount of arguments for the function _and_ the method. I don't see this as an issue - the

[PHP-DEV] Re: zend_API.c

2003-02-03 Thread Andrei Zmievski
On Mon, 03 Feb 2003, Harald Radi wrote: because then we have userland - ze2 oo - userland - php function instead of userland - php function. maybe that's negligable, i didn't benchmark it. Hmm, care to explain this? It should just be object call - PHP function call. exception vs. warning.

[PHP-DEV] Re: zend_API.c

2003-02-03 Thread Andrei Zmievski
On Mon, 03 Feb 2003, Harald Radi wrote: if $obj is an overloaded object $obj-method() would directly call the native implementation of method(), if it is a pear object, $obj-method() will result in a userspace method invokation that actually calls the native implementation adding a further

[PHP-DEV] (fwd) Re: realpath(), stat() and dcache on FreeBSD

2003-01-26 Thread Andrei Zmievski
Rasmus, I've asked one of our FreeBSD gurus to shed some light on the issue you brought with the slow performance of realpath() and stat() calls on that OS. Hope this makes sense. ;) -Andrei -- Andrei Zmievski Mail: [EMAIL PROTECTED] Sr. Front End Software Engineer Web

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standard filters.c

2003-01-07 Thread Andrei Zmievski
On Tue, 07 Jan 2003, Moriyoshi Koizumi wrote: moriyoshi Mon Jan 6 19:03:26 2003 EDT Modified files: /php4/ext/standardfilters.c Log: Implemented string.base64 stream filter @- Implemented string.base64 stream filter. (Moriyoshi) Couldn't you

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/iconv iconv.c

2003-01-03 Thread Andrei Zmievski
On Fri, 03 Jan 2003, Moriyoshi Koizumi wrote: moriyoshi Fri Jan 3 00:14:34 2003 EDT Modified files: /php4/ext/iconv iconv.c Log: MFB: fixed shift-out sequence unawareness issue Please, fix stuff in HEAD and *then* merge into the branch. -Andrei

Re: [PHP-DEV] ChangeLog

2003-01-02 Thread Andrei Zmievski
I'll check on this. On Wed, 01 Jan 2003, Wez Furlong wrote: Is there some magic that needs to be done to rotate the ChangeLog? By this I mean: gzip ChangeLog mv ChangeLog.gz ChangeLog2002.gz touch ChangeLog cvs add -kb ChangeLog2002.gz cvs ci -m rotate changelog ChangeLog

[PHP-DEV] Re: [PHP-CVS] cvs: php4(PHP_4_3) / acinclude.m4 configure.in /main streams.c

2003-01-02 Thread Andrei Zmievski
On Wed, 01 Jan 2003, Wez Furlong wrote: wez Wed Jan 1 04:55:38 2003 EDT Modified files: (Branch: PHP_4_3) /php4 acinclude.m4 configure.in /php4/mainstreams.c Log: Workaround a bug in glibc 2.2.9x and later that causes it not to seek to

[PHP-DEV] Happy New Year!

2002-12-31 Thread Andrei Zmievski
This has been a great year for our community. We have attracted wonderful new developers, such as Edin, Ilia, Wez, and others, significantly improved our little language, and knocked back a few beers at various conferences. In this coming year, I wish us all to realize some of our dreams, make new

Re: [PHP-DEV] option to start in PHP mode

2002-12-30 Thread Andrei Zmievski
On Sat, 28 Dec 2002, Andi Gutmans wrote: Why don't we have the ? problem? You can also use ? in eval()'s. Anyway, Rasmus mentioned that a switch already exists although I don't think it's such a great idea due to the previously mentioned reasons. I think all PHP code should be consistent.

[PHP-DEV] Re: [PHP-CVS] Merging into PHP_4_3

2002-12-30 Thread Andrei Zmievski
On Mon, 30 Dec 2002, Edin Kadribasic wrote: It would be nice that bug fixes that are being merged into PHP_4_3 branch are documented in its NEWS file. In that way we can realease a new version rather quickly. I concur. Please remember to update NEWS on the branch. -Andrei

[PHP-DEV] PHP 4.3.0 released

2002-12-27 Thread Andrei Zmievski
The PHP developers are pleased to announce the immediate availability of PHP 4.3.0, the latest and greatest version of this extremely popular and widely used scripting language. This release contains a multitude of changes, bug fixes and improvements over the previous one, PHP 4.2.3. It further

[PHP-DEV] option to start in PHP mode

2002-12-27 Thread Andrei Zmievski
We've talked about this in the past, but let's bring it up again. It is a bit awkward to use CLI when it requires those ?php and ? tags. We should probably have a command-line option that tells the parser to start in PHP mode instead of HTML/text. Any thoughts on this? -Andrei

[PHP-DEV] Re: [PHP-CVS] cvs: php4(PHP_4_3) /ext/standard array.c

2002-12-26 Thread Andrei Zmievski
Was this fix entirely necessary? It didn't seems like a showstopper bug. On Wed, 25 Dec 2002, Moriyoshi Koizumi wrote: moriyoshi Wed Dec 25 15:00:14 2002 EDT Modified files: (Branch: PHP_4_3) /php4/ext/standardarray.c Log: Fixed bug #21182

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4(PHP_4_3) /ext/standard array.c

2002-12-26 Thread Andrei Zmievski
On Fri, 27 Dec 2002, Moriyoshi Koizumi wrote: Andrei Zmievski wrote: Was this fix entirely necessary? It didn't seems like a showstopper bug. First, I apologize I didn't ask you for permission before committing my patch. Actually it might not be a showstopper, but I believe

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4(PHP_4_3) /ext/standard array.c

2002-12-26 Thread Andrei Zmievski
That's fine. On Fri, 27 Dec 2002, Moriyoshi Koizumi wrote: Andrei Zmievski [EMAIL PROTECTED] wrote: On Fri, 27 Dec 2002, Moriyoshi Koizumi wrote: Andrei Zmievski wrote: Was this fix entirely necessary? It didn't seems like a showstopper bug. First, I apologize I didn't

[PHP-DEV] Preparing 4.3.0

2002-12-26 Thread Andrei Zmievski
I plan to update the version in appropriate files and the date in NEWS and tag the tree tonight. After that, Edin and Phil should make their Windows magic work and create the Win32 .zip and installer files. I will set the release date for Dec 28. Please do not commit anything to the tree after

[PHP-DEV] Re: php4.3.rc4 - things that wont compile under IRIX

2002-12-26 Thread Andrei Zmievski
On Fri, 27 Dec 2002, Joerg Behrens wrote: We have some buggy Code left in the current rc. 1. We have some bogus warnings at the end of the configure /config.status[2063]: 6: bad file unit number ./config.status[2064]: 6: bad file unit number Not sure about this one. 2.Ext/exif cc-1133

Re: [PHP-DEV] [PATCH] CLI and CGI defaults

2002-12-24 Thread Andrei Zmievski
On Mon, 23 Dec 2002, Melvyn Sopacua wrote: Hi, the current behavior of cli/cgi defaults, is not really intuitive, allthough correctly mentioned in the NEWS entry. Attached is a very simple patch, that will resolve that issue. Specifically: if you specify --enable-cli and don't specify

Re: [PHP-DEV] RC4: ground rules

2002-12-21 Thread Andrei Zmievski
On Fri, 20 Dec 2002, Frank Kromann wrote: Hi Andrei, Should I commit a small fix to the Windows projects to avoid having the CGI and CLI produce php.exe to the same directory ? What will the fix do exactly? -Andrei http://www.gravitonic.com/ What's a

Re: [PHP-DEV] RC4: ground rules

2002-12-21 Thread Andrei Zmievski
. Regards, Philip Olson p.s. Thanks to Wez and Steph for teaching me not to fear the source. On Fri, 20 Dec 2002, Andrei Zmievski wrote: Everyone, I have just released 4.3.0RC4. Despite the quote in my signature, I am determined to keep this one the very last final RC

Re: [PHP-DEV] RC4: ground rules

2002-12-21 Thread Andrei Zmievski
On Sat, 21 Dec 2002, Edin Kadribasic wrote: Andrei I think that we should include this small change in 4.3.0. It cannot possibly affect anything in the negative way and I will make sure that the files are correctly placed in the distribution. Ok, go ahead with this. -Andrei

Re: [PHP-DEV] RC4: ground rules

2002-12-21 Thread Andrei Zmievski
On Sun, 22 Dec 2002, Moriyoshi Koizumi wrote: Andrei Zmievski [EMAIL PROTECTED] wrote: Moriyoshi, I appreciate your effort here, but it seems that while this approach is more flexible, it is also bound to have more complicated. I have decided

Re: [PHP-DEV] CGI and CLI (compromise proposal)

2002-12-20 Thread Andrei Zmievski
On Fri, 20 Dec 2002, Marcus Börger wrote: What about uniqid(): http://www.zend.com/zend/week/week116.php#Heading5 I would go for disabling when not available and sending an error when calling from cygwin without more entropy parameter set to true. The rest can be fixed for 4.3.1 as it seems

Re: [PHP-DEV] Re: #21060 [Opn-Bgs]: range() gives warning and returns false when low == high

2002-12-20 Thread Andrei Zmievski
Let's postpone this until 4.3.1. It is not critical. On Fri, 20 Dec 2002, Derick Rethans wrote: On 20 Dec 2002 [EMAIL PROTECTED] wrote: ID: 21060 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus

Re: [PHP-DEV] Changelog broken?

2002-12-20 Thread Andrei Zmievski
Ilia has rewritten the old php-rcs2log script in PHP itself and it's working wonderfully. The Changelog generation is back online. On Mon, 11 Nov 2002, Andrei Zmievski wrote: On Mon, 11 Nov 2002, Steve Alberty wrote: Hi, the Changelog file in the php4 cvs tree is unchanged since 7 days

[PHP-DEV] RC4: ground rules

2002-12-20 Thread Andrei Zmievski
Everyone, I have just released 4.3.0RC4. Despite the quote in my signature, I am determined to keep this one the very last final RC of the interminable 4.3.0 development cycle. Towards that end, I will closely monitor the CVS commits and revert any that do not satisfactorily explain what critical

Re: [PHP-DEV] Re: [PHP-QA] PHP_AUTH_USER

2002-12-19 Thread Andrei Zmievski
On Thu, 19 Dec 2002, Phil Driscoll wrote: On Wednesday 18 December 2002 11:46 pm, Edin Kadribasic wrote: I had discussed the issue with Rasmus and Jani some time ago and the concensus reached was only to disable PHP_AUTH_USER when safe mode is active. Nobody got around to do anything about

Re: [PHP-DEV] -+ [01]

2002-12-19 Thread Andrei Zmievski
+1 on this.. :) On Thu, 19 Dec 2002, Zeev Suraski wrote: Just to somewhat limit my agreement with that statement, I'd rephrase it so that it's clear that people's opinion does matter. Something along the lines of 'Too many people think that they're in a position to decide about PHP'.

Re: [PHP-DEV] CGI and CLI (compromise proposal)

2002-12-19 Thread Andrei Zmievski
This gets my complete support. Let's go ahead with the changes. On Thu, 19 Dec 2002, Edin Kadribasic wrote: After having consulted with Andrei, Derick and others on irc here is a proposal for a compromise: On Unix: 1. Both cgi and cli are built as 'php' in their respective sapi

Re: [PHP-DEV] CGI and CLI (compromise proposal)

2002-12-19 Thread Andrei Zmievski
On Thu, 19 Dec 2002, Edin Kadribasic wrote: Here is the patch against PHP_4_3 that implements the Unix side of changes. Go ahead and apply it. We obviously need RC4 now so commit your critical fixes to other areas ASAP, because I want to release the RC tonight or tomorrow. -Andrei

[PHP-DEV] Branch commits (important)

2002-12-18 Thread Andrei Zmievski
All, I've looked at the list of CVS commits over the last few days and saw that people are committing apparently non-critical things to the branch. Please do not do that! After the final RC only fixes for crash and showstopper bugs should be merged in. Those of you doing it are only slowing down

[PHP-DEV] CGI and CLI

2002-12-18 Thread Andrei Zmievski
What was the consensus on CGI vs. CLI naming or merging issue? Or was there a consensus at all? I full plan to go ahead with 4.3.0 release before the end of the year, so those interested in doing anything about this issue better get their butts in gear. -Andrei

Re: [PHP-DEV] CGI and CLI

2002-12-18 Thread Andrei Zmievski
On Wed, 18 Dec 2002, Xavier Spriet wrote: Experimental or not, people use it and have developed a need for it. Many apps out there are based on experimental technology, that's not a reason to break them all... So I strongly suggest that whoever has the necessary knowledge on how to merge CGI

Re: [PHP-DEV] CGI and CLI

2002-12-18 Thread Andrei Zmievski
On Wed, 18 Dec 2002, Sebastian Nohn wrote: I think a lot more users will be pissed of when renaming php to php-cgi than regarding to the cli-version of php as php-cli or phpsh or anything else. The best solution would be indeed bundling both to one binary. If this delays a 4.3.0-release? I

Re: [PHP-DEV] CGI and CLI

2002-12-18 Thread Andrei Zmievski
On Wed, 18 Dec 2002, Sascha Schumann wrote: The next point release after 4.2.0 was 4.2.1. There are too many major changes in 4.3 vs. 4.2 to call it a 'point release'. Semantics. Especially, there are still significant backwards compatibility bugs, such as

Re: [PHP-DEV] CGI and CLI

2002-12-18 Thread Andrei Zmievski
On Wed, 18 Dec 2002, Andi Gutmans wrote: I doubt this will happen fast enough. We should just release the way we released 4.2.x, which as far as I know was php for CGI and php-cli for CLI or am I a bit behind things? :) Derick and I hashed it out on IRC and we have a proposal: We should

Re: [PHP-DEV] CGI and CLI

2002-12-18 Thread Andrei Zmievski
On Wed, 18 Dec 2002, Philip Olson wrote: So every tutorial and documentation on this would have to say this right? Ask your sysadmin what the CGI and CLI versions of your PHP are called, they could be anything as there is no standard. For the purpose of this

[PHP-DEV] cleaning/building just one extension

2002-12-12 Thread Andrei Zmievski
With the new build system, is there a way to clean/build just one extension, as opposed to having to do it to the whole tree? Something like make clean ext=wddx, perhaps? -Andrei http://www.gravitonic.com/ I must say I find television very educational. The

[PHP-DEV] Re: cleaning/building just one extension

2002-12-12 Thread Andrei Zmievski
On Thu, 12 Dec 2002, Sascha Schumann wrote: We could add a target clean-ext-EXTNAME.. - Sascha What about build-ext-EXTNAME? I ran into this yesterday when I checked out a fresh copy of the tree and wanted to build only wddx module as a shared library. -Andrei

[PHP-DEV] php-cgi vs php-cli naming issue

2002-12-12 Thread Andrei Zmievski
How about we simply add a configure option to control this? --enable-simple-cli-name would build CGI as php-cgi and CLI as php That way we preserve BC and let those who like CLI named 'php' have that too. -Andrei -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit:

[PHP-DEV] note about 4.3.0RC3

2002-12-11 Thread Andrei Zmievski
Tagging RC3 now. -Andrei http://www.gravitonic.com/ The Heineken Uncertainty Principle: You can never be sure how many beers you had last night. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] PHP 4.3.0RC3

2002-12-11 Thread Andrei Zmievski
PHP 4.3.0RC3 is out. Please download it from http://qa.php.net/ and test. This is the last release candidate before 4.3.0 final is unleashed. -Andrei http://www.gravitonic.com/ * The future is not what it used to be. * -- PHP Development Mailing List

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/bcmath bcmath.c php_bcmath.h

2002-12-10 Thread Andrei Zmievski
On Tue, 10 Dec 2002, Andi Gutmans wrote: I think this is one of those exceptions where we should probably not go by our standard and call the function bcpowmod(). It looks a bit funny that all of the BC functions don't have underscores but only one does. It'll probably confuse people more

Re: [PHP-DEV] 4.3 when?

2002-12-09 Thread Andrei Zmievski
On Mon, 09 Dec 2002, Wez Furlong wrote: I have a patch from Melvyn for streams under *BSD systems, and the critical bugs should also be fixed, particularly 20539, 19919 and 19292. [15209] Under Apache, register_shutdown_function() broke between 4.0.x to 4.1.x [19292] random error:

[PHP-DEV] RC3 plans

2002-12-09 Thread Andrei Zmievski
While there are some opinions that RC3 should be put out in a week or so, I disagree. I'd like to release it on Wednesday at the latest, and before then have everyone trying to either fix the critical bugs that are in the system, or at least recategorize them if no one is going to bother to fix

Re: [PHP-DEV] php.exe - php-cgi.exe

2002-12-09 Thread Andrei Zmievski
On Mon, 09 Dec 2002, Andi Gutmans wrote: ducking Maybe phpsh would be a good idea for the name of the CLI? It wouldn't confuse ppl as much as php-cli /ducking I'm really not that sure it makes sense to rename the CGI from php to php-cgi after such a long time. It's not as if we're

[PHP-DEV] PHP 4.3.0RC2 released

2002-11-27 Thread Andrei Zmievski
The second release candidate of the inimitably fabulous PHP version 4.3.0 is out. It can be downloaded from http://qa.php.net. Give it a good testing! -Andrei -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [PATCH] Redirect on Error

2002-11-26 Thread Andrei Zmievski
On Tue, 26 Nov 2002, Edin Kadribasic wrote: On Tue, 26 Nov 2002, Maxim Maletsky wrote: I rather propose. And, it seems to interest many on the list. Don't forget that there seem to be many who strongly opose your suggestion. Myself included. -Andrei

[PHP-DEV] RC2

2002-11-21 Thread Andrei Zmievski
I think RC1 is going quite well (with the exception of bcmath issues, I believe?), so I propose putting out RC2 next week. If that one does just swimmingly, we should be ready for the release. -Andrei http://www.gravitonic.com/ For every complex problem,

Re: [PHP-DEV] RFC: ZE2 and abstract

2002-11-20 Thread Andrei Zmievski
On Wed, 20 Nov 2002, Marcus Börger wrote: Added final now: http://marcus-boerger.de/php/ext/ze2 So we have: abstract [static] function '(' parameters ')' ';' [ final ] [ static ] function '(' parameters ')' '{' code '}' There is a check that you cannot overwrite a final function of cause

Re: [PHP-DEV] is_callable Bug 20216

2002-11-18 Thread Andrei Zmievski
Since I wrote the function, I can provide some insight. On Mon, 18 Nov 2002, Leon Atkinson wrote: This function wraps zend_is_callable. The first argument is the name of a function or method. Class and object methods are specified by passing an array with two elements: class or object and

Re: [PHP-DEV] is_callable Bug 20216

2002-11-18 Thread Andrei Zmievski
On Mon, 18 Nov 2002, Leon Atkinson wrote: Hmm...OK. Yes, that does make is_callable return false. Can you explain the logic behind this? I tried lots of other values and got TRUE. For example: var_dump(is_callable(array('$$$','%^'), true)); var_dump(is_callable('%^', true)); These

[PHP-DEV] XP?

2002-11-17 Thread Andrei Zmievski
Who says Xtreme Programming can't work over long distances.. :) iliaa Sat Nov 16 19:07:33 2002 EDT Modified files: (Branch: PHP_4_3) /php4/main streams.c Log: MFH wez Sat Nov 16 19:08:42 2002 EDT

[PHP-DEV] Re: Aggregation ZE2 fix

2002-11-16 Thread Andrei Zmievski
On Sat, 16 Nov 2002, Marcus Börger wrote: With the following patch aggregation works for me with ZE1 and ZE2, php 4.3.0 and php4.4-dev. If noone objects i will commit this. Aggregation will be implemented at the engine level in ZE2. Don't commit this patch. -Andrei

Re: [PHP-DEV] mbstring and 4.3.0

2002-11-15 Thread Andrei Zmievski
On Fri, 15 Nov 2002, Andi Gutmans wrote: It's not that I think enabling it is such a bad idea but as we're going for PHP 5 right after PHP 4.3 anyway I don't think it's too bad to wait for that. I'm sure lots of people will test PHP 5 RC's so there'll be lots of testing (long sentence but I

Re: [PHP-DEV] 4.2.3 mbstring patch?

2002-11-14 Thread Andrei Zmievski
On Thu, 14 Nov 2002, lowbwtom wrote: Will there be a patch to fix the mbstring bug in 4.2.3? Any idea when? (specifically to fix the missing 4 characters in array posts) Some of us have been totally screwed by this bug - since our isp's have updated to 4.2.3 and left everyone's sites totally

Re: [PHP-DEV] ext/overload API

2002-11-14 Thread Andrei Zmievski
On Thu, 14 Nov 2002, Timm Friebe wrote: Hello, Andrei, as I can see, you're the author of ext/overload. As suggested earlier, I've added a second parameter to sybase_fetch_object() which allows users to pass an object to be filled with the results from the fetched row (e.g. $article=

Re: [PHP-DEV] prototypes for getters and setters.

2002-11-13 Thread Andrei Zmievski
On Wed, 13 Nov 2002, John Coggeshall wrote: I understand what your saying, however I guess I see the tradeoff of creating a new reserved word to a (IMHO of course) kinda messy new syntax a good one. Besides, having an absolute standard for get/set would be benefital to all developers..

Re: [PHP-DEV] mbstring and 4.3.0

2002-11-13 Thread Andrei Zmievski
On Wed, 13 Nov 2002, Melvyn Sopacua wrote: FWIW: * If this is ever going to make core as a part of PHP's i18n efforts, you are going to have to deal with the 'unseen' at some point. You are not going to identify them, by testing it within a select group. For this reason, the userbase is

[PHP-DEV] 4.3 Branched

2002-11-13 Thread Andrei Zmievski
I made a branch for 4.3 and tagged it PHP_4_3. Please remember to sync your fixes into the branch, if they are important and relevant, of course. -Andrei http://www.gravitonic.com/ * It said 'Winmodem' on the box, but I still feel like I lost. * -- PHP

Re: [PHP-DEV] RAW POST DATA

2002-11-12 Thread Andrei Zmievski
On Tue, 12 Nov 2002, Hartmut Holzgraefe wrote: the current problem with HTTP_RAW_POST_DATA is just that i never really figured out when it should be populated depending on HTTP method, Content type and always_populate_raw_post_data, this is going to be fixed today Okay. besides the

Re: [PHP-DEV] [RFC] gd, imagefilter

2002-11-12 Thread Andrei Zmievski
On Tue, 12 Nov 2002, Pierre-Alain Joye wrote: Hello, That's it :) I did not find a sample privat function, now I do. For the ML archive, here is how to do it: On Tue, 12 Nov 2002 17:48:08 +0100 (CET) Derick Rethans [EMAIL PROTECTED] wrote: typedef image_filter { void

Re: [PHP-DEV] mbstring and 4.3.0

2002-11-12 Thread Andrei Zmievski
On Tue, 12 Nov 2002, Ilia A. wrote: mbstring has many dedicated developers whom are doing excellent maintaining and upgrading this extension. Which at the moment makes mbstring very much a work in progress, there is hardly a day without at least one or two CVS commits to it. Since this is a

Re: [PHP-DEV] Changelog broken?

2002-11-11 Thread Andrei Zmievski
On Mon, 11 Nov 2002, Steve Alberty wrote: Hi, the Changelog file in the php4 cvs tree is unchanged since 7 days. Is the script (cvs2cl ?) broken? It's actually rcs2log script with some modifications. And yes, I think the number of CVS accounts has finally broken this poor script's back. awk

Re: [PHP-DEV] abstract functions

2002-11-09 Thread Andrei Zmievski
ZE1 way: class MyClass { function MyClass() { die('MyClass is an abstract class'); } } ZE2 way: class AbstractClassException { } class MyClass { function MyClass() { throw new AbstractClassException(); } } On Sat, 09 Nov 2002, Jens Rehsack

[PHP-DEV] turning strlen() into an opcode

2002-11-08 Thread Andrei Zmievski
I've made a small patch that turns strlen() into a statement executed by the engine instead of a function. The reasoning is that something that integral should probably be in the engine. I haven't done hard benchmarking but it seems to improve performance of that particular piece of code by about

Re: [PHP-DEV] turning strlen() into an opcode

2002-11-08 Thread Andrei Zmievski
On Sat, 09 Nov 2002, Andi Gutmans wrote: I am very much against anything like this. Improving strlen()'s performance only will have a negligible performance impact on a real world script. With the same kind of argument you could probably find 10-20 functions which would be faster if you'd

Re: [PHP-DEV] PHP 4.3.0

2002-11-08 Thread Andrei Zmievski
On Sat, 09 Nov 2002, Andi Gutmans wrote: Hey, What's the schedule for 4.3? It seems to be lingering. That said I'd like to resolve the bison issue before we release it (i.e. make sure that ZE1 isn't bitten by versions 1.28). It's not lingering. We just have to be more careful since it's

Re: [PHP-DEV] ext/sybase_ct commit?

2002-11-07 Thread Andrei Zmievski
On Sat, 02 Nov 2002, Timm Friebe wrote: Round 2 - fight:-) OK, I guess now I'm ready for committing my changes. I got PHP compiled and tested out the new functionality of my ext/sybase_ct changes against CVS from today. Just to make sure I'm getting it all right: This is what I'd put in

[PHP-DEV] mbstring and 4.3.0

2002-11-07 Thread Andrei Zmievski
At the PHP Conference in Germany several of us have discussed the current state of mbstring and there was a proposal to not have it enabled by default for 4.3.0 release. It seems that the extension attempts to do magic stuff by overloading functions in the executor globals and, as Thies said, that

Re: [PHP-DEV] ext/sybase_ct commit?

2002-11-07 Thread Andrei Zmievski
On Fri, 08 Nov 2002, Timm Friebe wrote: Sorry, I committed it before you wrote your e-mail. I don't quite understand why this should be shorter, though. This sort of was a mega-patch... or is it generally better so write stuff like Added new functions: sybase_unbuffered_query(),

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/calendar calendar.c jewish.c sdncal.h

2002-10-31 Thread Andrei Zmievski
On Thu, 31 Oct 2002, Derick Rethans wrote: A crap, yes... fixing README.CVS-RULES right away. Umm... should stay there. Just don't use it until 4.3.0 is out. -Andrei http://www.gravitonic.com/ Claiming Java is easier than C++ is like saying that K2 is

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /main streams.c

2002-10-28 Thread Andrei Zmievski
On Mon, 28 Oct 2002, Derick Rethans wrote: Hey Ilia, Does this prevent opening of things like block and character special files? If yes, then let's change it to explicitly check for directories instead, as there are bound to be people out there that want to open things like /dev/hda1

[PHP-DEV] PHP 4.3.0pre2

2002-10-27 Thread Andrei Zmievski
Hello, PHP 4.3.0pre2 is available for download from http://qa.php.net. This second pre-release incorporates a large number of bug fixes since the first one. Still, to help us catch as many bugs as possible, please download it and start testing. -Andrei

Re: [PHP-DEV] from one hash to another, in an extension

2002-10-23 Thread Andrei Zmievski
again. This problem goes away when I remove the SEPARATE_ZVAL above. So, I though maybe one of you kind folks might shed some light on this for me. You don't need to SEPARATE_ZVAL() in this case. -- Andrei Zmievski Mail: [EMAIL PROTECTED] Sr. Front End Software Engineer

Re: [PHP-DEV] from one hash to another, in an extension

2002-10-23 Thread Andrei Zmievski
On Wed, 23 Oct 2002, Tim Daly, Jr. wrote: You don't need to SEPARATE_ZVAL() in this case. I don't need to, or I need not to? Don't use SEPARATE_ZVAL() when copying zval from one hash to another. -Andrei http://www.gravitonic.com/ We all have

[PHP-DEV] Forked ext/gd by default

2002-10-21 Thread Andrei Zmievski
I think we should use forked version of gd library by default for 4.3.0. From what I hear it is already the best version of any of them out there and if it saves us any more grief, all the better. Objections? -Andrei http://www.gravitonic.com/ You choose to

Re: [PHP-DEV] short_open_tag

2002-10-18 Thread Andrei Zmievski
They are _not_ the same person! On Thu, 17 Oct 2002, Zeev Suraski wrote: Well, I differ with you on that. I don't think there's anything in the same class as ?xml. Zeev At 18:08 17/10/2002, Andi Gutmans wrote: I don't think we should add special hacks to the scanner. Soon we're going

[PHP-DEV] removing apidoc.txt

2002-10-18 Thread Andrei Zmievski
I propose we remove apidoc.txt from the tree. It is prety outdated and only promotes confusion. We have a module for API documentation and it is available online as well. -Andrei http://www.gravitonic.com/ Computers are useless. They can only give you

Re: [PHP-DEV] short_open_tag

2002-10-18 Thread Andrei Zmievski
On Thu, 17 Oct 2002, Derick Rethans wrote: On Thu, 17 Oct 2002, Andrei Zmievski wrote: I. Am. So. Tired. Of. Seeing. This. Come. Up. Over. And. Over. Again. The next time someone mentions this on the list, I'm grabbing a LART[1] and heading over to their house. So we're not going

Re: [PHP-DEV] short_open_tag

2002-10-17 Thread Andrei Zmievski
On Thu, 17 Oct 2002, Yasuo Ohgaki wrote: This is one of the reason why I think we should try to change short_open_tag default. ? is reserved for XML PI (Processing Instruction). There may be many (and/or custom) PI tags and it may become more serious problem in the future. We may even have

Re: [PHP-DEV] nl2br is broken in PHP4.3.0pre1

2002-10-16 Thread Andrei Zmievski
On Wed, 16 Oct 2002, Derick Rethans wrote: That's all up to Andrei, but I would favor for a pre2 during the next week for further testing, but it looks good so far. Yes, we'll make another 'pre' release early next week. Lots of good bugs have been fixed since pre1. -Andrei

[PHP-DEV] [4.3] Current critical bugs

2002-10-15 Thread Andrei Zmievski
Hi, We have 10 critical bugs in the list currently. If you could please see about fixing at least one of them, we'd be that much closer to a release candidate. Summary: need to use -taso with Netscape LDAP libs URL: http://bugs.php.net/bug.php?id=1298 Summary: Copy of array is affected by

Re: [PHP-DEV] [4.3] Current critical bugs

2002-10-15 Thread Andrei Zmievski
On Tue, 15 Oct 2002, Zeev Suraski wrote: Summary: Copy of array is affected by reference URL: http://bugs.php.net/bug.php?id=15025 If you keep that one on the critical list, then 4.3.0 will remain a philosophical concept :) You said you'd think about fixing it and I've never heard

  1   2   3   4   5   6   >