Re: [PHP-DEV] redefined constructor: old and new syntax

2004-03-17 Thread Andi Gutmans
Well it doesn't really make sense to redefine a constructor. We added it on purpose. Do you want me to change it to E_STRICT? At 01:28 AM 3/18/2004 +0100, Lorenzo Alberton wrote: Why has this one been committed? http://cvs.php.net/diff.php/ZendEngine2/zend_compile.c?login=2&r1=1.551&r2=1.552 &ty

[PHP-DEV] Re: CVS Account Request: haruki

2004-03-17 Thread Tadashi Jokagi
Hi, Haruki Setoyama's <[EMAIL PROTECTED]> wrote: >My purpose is translation of the PEAR manual into Japanese, and mentemance of it. >I did Japanese translation of PEAR manual with Mr. Jokagi since last year. and he >suggest to me that I should apply the CVS account. >So the parts I need access to

[PHP-DEV] redefined constructor: old and new syntax

2004-03-17 Thread Lorenzo Alberton
Why has this one been committed? http://cvs.php.net/diff.php/ZendEngine2/zend_compile.c?login=2&r1=1.551&r2=1.552 &ty=h It prevents constructors being redefined. That is fine, *except* for the following case: class MyClass { function MyClass() { //constructor for php4, //SHO

[PHP-DEV] Fw: [PATCH] tidy protos and tidy_getopt

2004-03-17 Thread Nuno Lopes
The patch was missing: cvs diff: Diffing . Index: tidy.c === RCS file: /repository/php-src/ext/tidy/tidy.c,v retrieving revision 1.41 diff -u -r1.41 tidy.c --- tidy.c 26 Feb 2004 13:22:11 - 1.41 +++ tidy.c 17 Mar 2

[PHP-DEV] [PATCH] tidy protos and tidy_getopt

2004-03-17 Thread Nuno Lopes
Hi, Here is a small patch to fix the protos for tidy (they were all messed because of the StudlyCaps convention). And I've also corrected a problem in tidy_getopt, because it was returning NULL instead of FALSE for boolean values. Nuno -- PHP Internals - PHP Runtime Development Mailing List T

[PHP-DEV] Dear friends

2004-03-17 Thread Herr Witten
It might be a nice feature to add the C++ friend keyword. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] RC1RC2

2004-03-17 Thread Christian Stocker
hi compiles and installs fine on MacOSX 10.3 (although, didn't run the tests..) chregu On 3/17/04 5:59 PM, Andi Gutmans wrote: Hey, I have posted RC2 of RC1 (http://www.php.net/~andi). I am hopefully rolling RC1 tomorrow unless something unexpected comes up. Please try out this package becau

[PHP-DEV] RC1RC2

2004-03-17 Thread Andi Gutmans
Hey, I have posted RC2 of RC1 (http://www.php.net/~andi). I am hopefully rolling RC1 tomorrow unless something unexpected comes up. Please try out this package because it was rolled on the new snaps machine (thanks Derick) and I want to be sure that it's OK. Andi -- PHP Internals - PHP Runtime

Re: [PHP-DEV] Exception::__toString() not called

2004-03-17 Thread Hans Lellelid
Hi - Andi Gutmans wrote: Just to clarify, this is only for internal classes like Exception, right? Userland __toString() will continue to be invoked when an explicit (string) cast (or concat, etc.) is used, correct? Wrong. The only time userland __toString() will be invoked will be in print/

Re: [PHP-DEV] Exception::__toString() not called

2004-03-17 Thread Andi Gutmans
At 11:05 AM 3/17/2004 -0500, Hans Lellelid wrote: Hi Andi, Quick question - Andi Gutmans wrote: Marcus and rest, Zeev and I took a long look at the whole __toString() issue. There is a problem today that make_printabl_zval() is being called in many places, some of which can't cope with a user-l

Re: [PHP-DEV] curl-multi-info-read not functioning

2004-03-17 Thread Andi Gutmans
At 10:48 AM 3/17/2004 -0500, Sterling Hughes wrote: curl_multi_info_read() is currently not working. I am planning on getting it working before php5, andi allowing (*), although I don't have any specific timeframe. You can use $still_running returned from curl_multi_exec (or perform, i can't r

Re: [PHP-DEV] Exception::__toString() not called

2004-03-17 Thread Hans Lellelid
Hi Andi, Quick question - Andi Gutmans wrote: Marcus and rest, Zeev and I took a long look at the whole __toString() issue. There is a problem today that make_printabl_zval() is being called in many places, some of which can't cope with a user-land __toString() being called. In order to suppo

Re: [PHP-DEV] Exception::__toString() not called

2004-03-17 Thread Andi Gutmans
Marcus and rest, Zeev and I took a long look at the whole __toString() issue. There is a problem today that make_printabl_zval() is being called in many places, some of which can't cope with a user-land __toString() being called. In order to support this we will have to do a complete restructur

Re: [PHP-DEV] curl-multi-info-read not functioning

2004-03-17 Thread Sterling Hughes
curl_multi_info_read() is currently not working. I am planning on getting it working before php5, andi allowing (*), although I don't have any specific timeframe. You can use $still_running returned from curl_multi_exec (or perform, i can't remember what i called the php version) to spawn new

[PHP-DEV] CVS Account Request: berndi

2004-03-17 Thread Bernhard Mayer
Translating the documentation -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] RC1 of RC1

2004-03-17 Thread Hans Lellelid
Andi Gutmans wrote: Nope. The final decision was to only check this during E_STRICT because there's no reason why inheritance should be different from implementation. People here felt that due to PHP not supporting function overloading we should not be very strict, and therefore, only give thi

Re: [PHP-DEV] RC1 of RC1

2004-03-17 Thread Andi Gutmans
Nope. The final decision was to only check this during E_STRICT because there's no reason why inheritance should be different from implementation. People here felt that due to PHP not supporting function overloading we should not be very strict, and therefore, only give this warning in E_STRICT.

Re: [PHP-DEV] RC1 of RC1

2004-03-17 Thread Hans Lellelid
Hi - Andi Gutmans wrote: Only if you use E_STRICT. There was a long discussion about this on internals@ a few weeks ago. At 11:57 AM 3/17/2004 +0100, Clemens Gutweiler wrote: interface person { function wakeup( $day, $time ); } class hugo implements per

RE: [PHP-DEV] RC1 of RC1

2004-03-17 Thread Andi Gutmans
Only if you use E_STRICT. There was a long discussion about this on internals@ a few weeks ago. At 11:57 AM 3/17/2004 +0100, Clemens Gutweiler wrote: Hi, > From: Andi Gutmans [mailto:[EMAIL PROTECTED] > I rolled RC1 of RC1 (didn't change the version from -dev on > purpose because > RC1RC1 is ki

RE: [PHP-DEV] RC1 of RC1

2004-03-17 Thread Clemens Gutweiler
Hi, > From: Andi Gutmans [mailto:[EMAIL PROTECTED] > I rolled RC1 of RC1 (didn't change the version from -dev on > purpose because > RC1RC1 is kind of odd and I didn't want it to confuse people :). > I will roll RC1 on the 17th so if there are "serious" show > stoppers speak up. wakeup( 'mon

Re: [PHP-DEV] Exception::__toString() not called

2004-03-17 Thread Andi Gutmans
At 09:49 AM 3/17/2004 +0100, Marcus Boerger wrote: Hello Andi, the problem is that we have many classes that the handler table to behave mostly like a default php object. We'd need to manually set the cast handler for all of them. Yes, that is correct. Don't forget that cast_object() can not call

Re: [PHP-DEV] Exception::__toString() not called

2004-03-17 Thread Marcus Boerger
Hello Andi, the problem is that we have many classes that the handler table to behave mostly like a default php object. We'd need to manually set the cast handler for all of them. marcus Wednesday, March 17, 2004, 9:45:26 AM, you wrote: > The Exception class should support cast_object(). I don'

Re: [PHP-DEV] Exception::__toString() not called

2004-03-17 Thread Andi Gutmans
The Exception class should support cast_object(). I don't see why we need to add extra flags. Andi At 11:45 PM 3/16/2004 +0100, Marcus Boerger wrote: Hello Timm, hello Andi, i htought i had a better solution to the __toString() problem. But then i found out why we made it so complex. The reason