Re: [PHP-DEV] fatal static call in php 6.0?

2006-05-25 Thread Derick Rethans
On Wed, 24 May 2006, Marcus Boerger wrote: > This situation is just like the one where we had to fix reference stuff > as we found out that it indeed was causing SEGVs in certain situations. > And i want to provide such situations and i want that at nearly all > costs because i do not want to have

Re: [PHP-DEV] How critical does a bug need to be to warrant a newPHP release (like 5.1.5)?

2006-05-25 Thread Steph Fox
- or [EMAIL PROTECTED] - or both :) - Original Message - From: "Sara Golemon" <[EMAIL PROTECTED]> To: "steve" <[EMAIL PROTECTED]> Cc: "Jasper Bryant-Greene" <[EMAIL PROTECTED]>; Sent: Friday, May 26, 2006 6:02 AM Subject: Re: [PHP-DEV] How critical does a bug need to be to warrant a

Re: [PHP-DEV] ze1 compatibility mode

2006-05-25 Thread Steph Fox
That's because there wasn't one... - Original Message - From: "Wez Furlong" <[EMAIL PROTECTED]> To: "Zeev Suraski" <[EMAIL PROTECTED]> Cc: "Marcus Boerger" <[EMAIL PROTECTED]>; Sent: Friday, May 26, 2006 4:14 AM Subject: Re: [PHP-DEV] ze1 compatibility mode FWIW, I don't remember a

Re: [PHP-DEV] How critical does a bug need to be to warrant a newPHP release (like 5.1.5)?

2006-05-25 Thread Sara Golemon
What if it requires a PHP script flaw also (like calling a method from an object that doesn't exist)? I can shut down many a site that have 5.1.4 if I can find some input to expose a script flaw like that, if their setup is similar to mine (which I think is common). Damn search engine came across

Re: [PHP-DEV] ze1 compatibility mode

2006-05-25 Thread Robert Amos
I can't find any references to a discussion on this either. This change was also on the list for 6 and has been completed, would that not be a better time to do this? -bok On 5/26/06, Marcus Boerger <[EMAIL PROTECTED]> wrote: Hello Zeev, Thursday, May 25, 2006, 11:51:44 PM, you wrote: > At

Re: [PHP-DEV] How critical does a bug need to be to warrant a new PHP release (like 5.1.5)?

2006-05-25 Thread Jasper Bryant-Greene
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Would you care to elaborate? Maybe a sample script that exhibits this behaviour? Jasper steve wrote: > What if it requires a PHP script flaw also (like calling a method from > an object that doesn't exist)? I can shut down many a site that have

Re: [PHP-DEV] How critical does a bug need to be to warrant a new PHP release (like 5.1.5)?

2006-05-25 Thread steve
What if it requires a PHP script flaw also (like calling a method from an object that doesn't exist)? I can shut down many a site that have 5.1.4 if I can find some input to expose a script flaw like that, if their setup is similar to mine (which I think is common). Damn search engine came across

Re: [PHP-DEV] How critical does a bug need to be to warrant a new PHP release (like 5.1.5)?

2006-05-25 Thread Pierre
On 5/26/06, steve <[EMAIL PROTECTED]> wrote: How critical does a bug need to be to warrant a new PHP release (like 5.1.5)? Are there specific criteria already laid out? Security issues or critical bugs (for example segfaults or huge leaks not managed by the memory manager). Ilia will certainly

[PHP-DEV] How critical does a bug need to be to warrant a new PHP release (like 5.1.5)?

2006-05-25 Thread steve
How critical does a bug need to be to warrant a new PHP release (like 5.1.5)? Are there specific criteria already laid out? -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] ze1 compatibility mode

2006-05-25 Thread Wez Furlong
FWIW, I don't remember a discussion on this for PHP 5 either. --Wez. On 5/25/06, Zeev Suraski <[EMAIL PROTECTED]> wrote: At 23:44 25/05/2006, Marcus Boerger wrote: >Hello Zeev, > >Thursday, May 25, 2006, 1:04:59 PM, you wrote: > > > At 21:29 23/05/2006, Marcus Boerger wrote: > >>Hello Zeev, > >

Re: [PHP-DEV] planning future BC Breaks - was Re: [PHP-DEV] fatal static call in php 6.0?

2006-05-25 Thread Marcus Boerger
Hello Zeev, actually there is a student working on a pre-processor for his summer of code project. And that will most likely cover versioning, too. best regards marcus Friday, May 26, 2006, 4:06:00 AM, you wrote: > I read it as if it was declare() ;) > I agree with Pierre that the best way t

Re: [PHP-DEV] planning future BC Breaks - was Re: [PHP-DEV] fatal static call in php 6.0?

2006-05-25 Thread Zeev Suraski
I read it as if it was declare() ;) I agree with Pierre that the best way to handle BC break is not to introduce it, but since that's not always 100% possible, this may make sense. Of course, it'll only work with stuff that is syntax-compliant with the currently running PHP version, but that

Re: [PHP-DEV] planning future BC Breaks - was Re: [PHP-DEV] fatal static call in php 6.0?

2006-05-25 Thread Alan Knowles
actaully it should have been declare() - as I think the syntax for that almost works already, but yes, code doesnt get compiled if it's inside a block. Regards Alan Zeev Suraski wrote: > At 03:57 26/05/2006, Alan Knowles wrote: >> Can we start concentrating on finding a real solution to BC breaks

Re: [PHP-DEV] planning future BC Breaks - was Re: [PHP-DEV] fatal static call in php 6.0?

2006-05-25 Thread Zeev Suraski
At 03:57 26/05/2006, Alan Knowles wrote: Can we start concentrating on finding a real solution to BC breaks rather than throwing them out there and everyone complaining? define(php5) { stuff that breaks in php6 } define(php6) { stuff that doesnt work in PHP5 } What's the semantics of tha

Re: [PHP-DEV] planning future BC Breaks - was Re: [PHP-DEV] fatal static call in php 6.0?

2006-05-25 Thread Pierre
On 5/26/06, Alan Knowles <[EMAIL PROTECTED]> wrote: Can we start concentrating on finding a real solution to BC breaks rather than throwing them out there and everyone complaining? The most important point to discuss for any BC break is about why introduce it. Purity and OO compliance are not g

[PHP-DEV] planning future BC Breaks - was Re: [PHP-DEV] fatal static call in php 6.0?

2006-05-25 Thread Alan Knowles
Can we start concentrating on finding a real solution to BC breaks rather than throwing them out there and everyone complaining? define(php5) { stuff that breaks in php6 } define(php6) { stuff that doesnt work in PHP5 } It would be nice to back port this to PHP4, but at least make the futu

Re: [PHP-DEV] ze1 compatibility mode

2006-05-25 Thread Marcus Boerger
Hello Zeev, Thursday, May 25, 2006, 11:51:44 PM, you wrote: > At 23:44 25/05/2006, Marcus Boerger wrote: >>Hello Zeev, >> >>Thursday, May 25, 2006, 1:04:59 PM, you wrote: >> >> > At 21:29 23/05/2006, Marcus Boerger wrote: >> >>Hello Zeev, >> >> >> >>See here: http://oss.backendmedia.com/PhP52 >>

Re: [PHP-DEV] ze1 compatibility mode

2006-05-25 Thread Zeev Suraski
At 23:44 25/05/2006, Marcus Boerger wrote: Hello Zeev, Thursday, May 25, 2006, 1:04:59 PM, you wrote: > At 21:29 23/05/2006, Marcus Boerger wrote: >>Hello Zeev, >> >>See here: http://oss.backendmedia.com/PhP52 >> 12. 4. Drop ZE1 compatibility Done (marcus) > (Sorry for the slow response, I

Re: [PHP-DEV] fatal static call in php 6.0?

2006-05-25 Thread Jasper Bryant-Greene
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Edin Kadribasic wrote: > Jasper Bryant-Greene wrote: >> Christian Schneider wrote: >> >>> PS: There are no plans to make non-static calls to static methods >>> illegal, right? >> >> What is the point in that? What advantage do you get using >> $th

Re: [PHP-DEV] ze1 compatibility mode

2006-05-25 Thread Marcus Boerger
Hello Zeev, Thursday, May 25, 2006, 1:04:59 PM, you wrote: > At 21:29 23/05/2006, Marcus Boerger wrote: >>Hello Zeev, >> >>See here: http://oss.backendmedia.com/PhP52 >> 12. 4. Drop ZE1 compatibility Done (marcus) > (Sorry for the slow response, I'm traveling) > Yeah that's fine, but it was

Re: [PHP-DEV] ze1 compatibility mode

2006-05-25 Thread Zeev Suraski
At 21:29 23/05/2006, Marcus Boerger wrote: Hello Zeev, See here: http://oss.backendmedia.com/PhP52 12. 4. Drop ZE1 compatibility Done (marcus) (Sorry for the slow response, I'm traveling) Yeah that's fine, but it was never discussed at all let alone decided upon... IMHO it doesn't make

Re: [PHP-DEV] Extensions building tutorial

2006-05-25 Thread Hartmut Holzgraefe
Artzi, Yoav (Yoav) wrote: I am looking for a good place to learn about the following: 1. Writing a customized extension 2. Compiling PHP with customized extensions, including how can I set up a customized location their code and what I should add to the configure line and such Any good tutorial

Re: [PHP-DEV] fatal static call in php 6.0?

2006-05-25 Thread Edin Kadribasic
Jasper Bryant-Greene wrote: -BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Christian Schneider wrote: PS: There are no plans to make non-static calls to static methods illegal, right? What is the point in that? What advantage do you get using $this->someMethodName() [non-static call] ov

Re: [PHP-DEV] fatal static call in php 6.0?

2006-05-25 Thread Edin Kadribasic
Marcus Boerger wrote: There are no static methods in PHP 4. Of course there are. You just don't need to declare them as static. You know, there used to be a time where not everything needed to be declared in PHP. Edin -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe,

[PHP-DEV] [PATCH] Make PHP_METHOD work

2006-05-25 Thread Steph Fox
- missing definition. I'll post any others I find as I come across them (trying to make PHP-GTK 2 build against PHP_5_2 branch). - Steph Index: main/php.h === RCS file: /repository/php-src/main/php.h,v retrieving revision 1.221.2.

Re: [PHP-DEV] Compile error on ext/date/lib/parse_date.c

2006-05-25 Thread Frank M. Kromann
Actually it's the other way arround. /Ox turns on all optimizations. Without it the file compiles fine. - Frank > > /Ox turns off optimizations. Basically _scan has overrun the optimization > buffer allocated at compile time. I'm not aware of any way to increase > it, and I don't believe tur

Re: [PHP-DEV] Extensions building tutorial

2006-05-25 Thread Sara Golemon
Any good tutorials out there? http://www.zend.com/php/internals/extension-writing1.php After that, download the php source and look at existing extensions in the ext directory. For each macro or function you want to know about try googling with the 'site:' directive. For example: site:http

Re: [PHP-DEV] Extensions building tutorial

2006-05-25 Thread Steph Fox
I am looking for a good place to learn about the following: 1. Writing a customized extension 2. Compiling PHP with customized extensions, including how can I set up a customized location their code and what I should add to the configure line and such Any good tutorials out there? http://www

Re: [PHP-DEV] Extensions building tutorial

2006-05-25 Thread Michael B Allen
On Thu, 25 May 2006 16:58:04 +0300 "Artzi, Yoav (Yoav)" <[EMAIL PROTECTED]> wrote: > I am looking for a good place to learn about the following: > 1. Writing a customized extension > 2. Compiling PHP with customized extensions, including how can I set up > a customized location their code and what

Re: [PHP-DEV] fatal static call in php 6.0?

2006-05-25 Thread Todd Ruth
On Thu, 2006-05-25 at 14:53 +0200, Marcus Boerger wrote: > There is no way you can write heavy oo using code that supports PHP 4 > and PHP 5.2 without a version check every here and there, so i don't see > this as an argument. It is a fact that 4 and 5 have very different object > models. Sort of.

Re: [PHP-DEV] Compile error on ext/date/lib/parse_date.c

2006-05-25 Thread Frank M. Kromann
Hi Derick, These are the optimization options: /O1 minimize space /Op[-] improve floating-pt consistency /O2 maximize speed /Os favor code space /Oa assume no aliasing /Ot favor code speed /Ob inline expansion (default n=0)/Ow assu

Re: [PHP-DEV] Extensions building tutorial

2006-05-25 Thread Joseph Crawford
i would check out Sara Golemon's book Extending and Embedding PHP it is not yet released but due out soon. I have it pre-ordered. It's supposed to be a good starting point for this stuff. http://www.amazon.com/gp/product/067232704X/sr=8-1/qid=1148565631/ref=pd_bbs_1/002-6678673-7532040?%5Fencod

Re: [PHP-DEV] Extensions building tutorial

2006-05-25 Thread Marcus Boerger
Hello Yoav, http://www.amazon.com/gp/product/067232704X + http://talks.somabo.de + some zend tutorials :-) best regards marcus Thursday, May 25, 2006, 3:58:04 PM, you wrote: > I am looking for a good place to learn about the following: > 1. Writing a customized extension > 2. Compiling PHP with

[PHP-DEV] Extensions building tutorial

2006-05-25 Thread Artzi, Yoav \(Yoav\)
I am looking for a good place to learn about the following: 1. Writing a customized extension 2. Compiling PHP with customized extensions, including how can I set up a customized location their code and what I should add to the configure line and such Any good tutorials out there? Thanks.

Re: [PHP-DEV] fatal static call in php 6.0?

2006-05-25 Thread Marcus Boerger
Hello Christian, Thursday, May 25, 2006, 3:39:02 PM, you wrote: > Marcus Boerger wrote: >> There is no way you can write heavy oo using code that supports PHP 4 >> and PHP 5.2 without a version check every here and there, so i don't see > I'm not talking about heavy OO code. Just very basic one

Re: [PHP-DEV] fatal static call in php 6.0?

2006-05-25 Thread Christian Schneider
Jasper Bryant-Greene wrote: Christian Schneider wrote: PS: There are no plans to make non-static calls to static methods illegal, right? What is the point in that? What advantage do you get using $this->someMethodName() [non-static call] over self::someMethodName() [static call]? self:: does

Re: [PHP-DEV] fatal static call in php 6.0?

2006-05-25 Thread Christian Schneider
Marcus Boerger wrote: There is no way you can write heavy oo using code that supports PHP 4 and PHP 5.2 without a version check every here and there, so i don't see I'm not talking about heavy OO code. Just very basic one which static methods are used as sort-of namespaces. And that works perf

Re: [PHP-DEV] filter, state of the beast, take over

2006-05-25 Thread Pierre
On 5/25/06, Derick Rethans <[EMAIL PROTECTED]> wrote: > I do not want to take unilateral decisions but I do want the > best possible extension. You're making those anyway as you're committing patches that you *know* I was opposed to without discussing them further. Which discssions are you re

Re: [PHP-DEV] filter, state of the beast, take over

2006-05-25 Thread Derick Rethans
On Wed, 24 May 2006, Pierre wrote: > I like to take over the development and continue my good work on this > extension,is there any objections? Yes, you can discuss your patches just like you expect anybody else does for patches against the extension that you maintain. > I do not want to take u

Re: [PHP-DEV] fatal static call in php 6.0?

2006-05-25 Thread Marcus Boerger
Hello Christian, Thursday, May 25, 2006, 1:47:24 PM, you wrote: > One caveat with making a static call to a non-static function a fatal > error is that it will make use of static calls impossible for code which > wants to be PHP4 and PHP6 compatible, no? You probably don't care but I > still w

Re: [PHP-DEV] fatal static call in php 6.0?

2006-05-25 Thread Jasper Bryant-Greene
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Christian Schneider wrote: > PS: There are no plans to make non-static calls to static methods > illegal, right? What is the point in that? What advantage do you get using $this->someMethodName() [non-static call] over self::someMethodName() [sta

Re: [PHP-DEV] fatal static call in php 6.0?

2006-05-25 Thread Christian Schneider
One caveat with making a static call to a non-static function a fatal error is that it will make use of static calls impossible for code which wants to be PHP4 and PHP6 compatible, no? You probably don't care but I still wanted to mention it. E_STRICT is nice for people who are able to move th

Re: [PHP-DEV] Unable to load DSO's when using embed sapi module

2006-05-25 Thread Nabeel
Thanks for the guess. But when one of these parameters is wrong, PHP engine specifically says so. My configuratin options for php build are --with-apxs2=/usr/local/apache2/bin/apxs --enable-embed=static --with-zlib --enable-debug. I use phpize with the extension. So, this automatically makes t

Re: [PHP-DEV] Compile error on ext/date/lib/parse_date.c

2006-05-25 Thread Derick Rethans
On Wed, 24 May 2006, Frank M. Kromann wrote: > Hello All, > > My hard disk crashed over the weekend and after reinstalling everything on > a new drive I'm getting the folowing error: > > c:\php\php5_2\ext\date\lib\parse_date.re(759) : fatal error C1053: '_scan' > : function too large > NMAKE : f

Re: [PHP-DEV] Re: Signals in Extensions

2006-05-25 Thread Rasmus Lerdorf
Sara Golemon wrote: I have an extension that interfaces with a library that sets a signal handler for some common signals. In particular the library forks processes and does socket writes so it needs to be able to handle SIGCHLD and SIGPIPE. It also registers some other signals for debugging purp