Re: [PHP-DEV] Resource constants

2008-11-04 Thread Lukas Kahwe Smith
On 27.10.2008, at 08:26, Kalle Sommer Nielsen wrote: 2008/10/27 Lukas Kahwe Smith [EMAIL PROTECTED]: On 27.10.2008, at 06:16, Kalle Sommer Nielsen wrote: 2008/10/26 Johannes Schlüter [EMAIL PROTECTED]: On Sun, 2008-10-26 at 14:32 +0100, Kalle Sommer Nielsen wrote: So, I propose its

Re: [PHP-DEV] Resource constants

2008-11-04 Thread Lukas Kahwe Smith
On 04.11.2008, at 23:02, Lukas Kahwe Smith wrote: On 27.10.2008, at 08:26, Kalle Sommer Nielsen wrote: 2008/10/27 Lukas Kahwe Smith [EMAIL PROTECTED]: On 27.10.2008, at 06:16, Kalle Sommer Nielsen wrote: 2008/10/26 Johannes Schlüter [EMAIL PROTECTED]: On Sun, 2008-10-26 at 14:32

Re: [PHP-DEV] Resource constants

2008-11-04 Thread Cristian Rodríguez
Lukas Kahwe Smith escribió: Also should there be some other way to get STDOUT and STDERR defined I assume we are talking about userland constants right ? -- Good, Fast, Cheap: Pick any two (you can't have all three). Cristian Rodríguez R. Platform/OpenSUSE - Core Services SUSE LINUX

Re: [PHP-DEV] Resource constants

2008-11-04 Thread Kalle Sommer Nielsen
2008/11/5 Lukas Kahwe Smith [EMAIL PROTECTED]: On 04.11.2008, at 23:02, Lukas Kahwe Smith wrote: On 27.10.2008, at 08:26, Kalle Sommer Nielsen wrote: 2008/10/27 Lukas Kahwe Smith [EMAIL PROTECTED]: On 27.10.2008, at 06:16, Kalle Sommer Nielsen wrote: 2008/10/26 Johannes Schlüter [EMAIL

Re: [PHP-DEV] Resource constants

2008-11-04 Thread Kalle Sommer Nielsen
2008/11/5 Cristian Rodríguez [EMAIL PROTECTED]: Lukas Kahwe Smith escribió: Also should there be some other way to get STDOUT and STDERR defined I assume we are talking about userland constants right ? Yes, userland constants defined with define(). -- Good, Fast, Cheap: Pick any two

Re: [PHP-DEV] Resource constants

2008-10-27 Thread Lukas Kahwe Smith
On 27.10.2008, at 06:16, Kalle Sommer Nielsen wrote: 2008/10/26 Johannes Schlüter [EMAIL PROTECTED]: On Sun, 2008-10-26 at 14:32 +0100, Kalle Sommer Nielsen wrote: So, I propose its either being a supported feature, or simply put an deprecation notice on it (5.3) and remove it HEAD. I

Re: [PHP-DEV] Resource constants

2008-10-27 Thread Kalle Sommer Nielsen
2008/10/27 Lukas Kahwe Smith [EMAIL PROTECTED]: On 27.10.2008, at 06:16, Kalle Sommer Nielsen wrote: 2008/10/26 Johannes Schlüter [EMAIL PROTECTED]: On Sun, 2008-10-26 at 14:32 +0100, Kalle Sommer Nielsen wrote: So, I propose its either being a supported feature, or simply put an

Re: [PHP-DEV] Resource constants

2008-10-27 Thread Cristian Rodríguez
At any rate I am very sure I never stumbled over code defining a constant with a ressource. I did stumble over such thing ;) Not a very good idea to support ressources, especially given the obvious WTF's this causes (as you rightly pointed out).

[PHP-DEV] Resource constants

2008-10-26 Thread Kalle Sommer Nielsen
Gday internals Today I felt over a topic while looking at some documentation bugs, and as the title says its the Resource constants. From what I could understand by asking Felipe and reading over some bug reports and such then resource constants aren't really supported. I had a play around with

Re: [PHP-DEV] Resource constants

2008-10-26 Thread Johannes Schlüter
On Sun, 2008-10-26 at 14:32 +0100, Kalle Sommer Nielsen wrote: So, I propose its either being a supported feature, or simply put an deprecation notice on it (5.3) and remove it HEAD. I personally vote for the last option, as I don't think resources should be constants as they do not have the

Re: [PHP-DEV] Resource constants

2008-10-26 Thread Kalle Sommer Nielsen
2008/10/26 Johannes Schlüter [EMAIL PROTECTED]: On Sun, 2008-10-26 at 14:32 +0100, Kalle Sommer Nielsen wrote: So, I propose its either being a supported feature, or simply put an deprecation notice on it (5.3) and remove it HEAD. I personally vote for the last option, as I don't think