RE: [PHP-DEV] Re: PEAR::Date broken (Was: [PHP-CVS] cvs: php-src(PHP_5_2) /ext/date php_date.c php_date.h)

2006-07-18 Thread Matthew C. Kavanagh
On Tue, 2006-07-18 at 16:54 -0400, John Coggeshall wrote: > On Tue, 2006-07-18 at 13:33 -0700, Andi Gutmans wrote: > > PHP 6 will come with some big changes. We could have a compat flag that > > supports old-style classes PhpDate if needed. > > -100 > *-10

Re: [PHP-DEV] Supporting version specific INI files as well as SAPI specific INI files.

2006-07-17 Thread Matthew C. Kavanagh
Assuming it's possible, I would set which PHP version to associate with .php on a .htaccess or vhost basis. On Mon, 2006-07-17 at 13:52 +0200, Ron Korving wrote: > What kind of extensions would you suggest people use? > > index.php51 ? > > - Ron -- PHP Internals - PHP Runtime Development Maili

Re: [PHP-DEV] RFC array functions

2006-05-27 Thread Matthew C. Kavanagh
Pierre wrote: On 5/27/06, Marcus Boerger <[EMAIL PROTECTED]> wrote: - bool array(array $array) cehcks whether arra position is valid (e.g. like "key($array) !== NULL") I don't understand this one. I think you have to listen to psychedelic music and take a hit of LSD first. -- PHP Inter

Re: [PHP-DEV] Re: __set() / __get() : limitation and/or unintentional behavoiur?

2006-04-01 Thread Matthew C. Kavanagh
Write your __set to not allow arrays to be set, and make arrays within your object private or objects with __set in their own right. You could in fact create a "CustomArray" or something and allow CustomArrays to be __set'd in your object, then control their contents with CustomArray->__set().

Re: [PHP-DEV] phps line numbering

2006-03-15 Thread Matthew C. Kavanagh
That other time, at band camp, Kevin Waterson wrote: This one time, at band camp, Aizat Faiz <[EMAIL PROTECTED]> wrote: How about including the patch, and having a php.ini option to enable/disable the line numbering. I dont think this is a good option, perhaps some other trigger file.phps?numb

Re: [PHP-DEV] JSON inclusion in core

2006-01-23 Thread Matthew C. Kavanagh
On Mon, 2006-01-23 at 11:55 -0500, Daniel Convissor wrote: > Hi Rasmus: > > On Sun, Jan 22, 2006 at 03:02:02PM -0800, Rasmus Lerdorf wrote: > > > > A useful tag filter that understands attributes as well so you can lock > > down exactly which tags with which attributes you wish to allow through.

Re: [PHP-DEV] Re: Syntax in PHP 6

2005-12-02 Thread Matthew C. Kavanagh
On Fri, 2005-12-02 at 15:09 +0100, Ron Korving wrote: > strPos() > arrayMerge() > isInt() > imageCreateFromString() fEof() or fEOF()? addCSlashes()? strIReplace()? strCSpn()? stripCSlashes()? strIPos()? strIStr()? strNCaseCmp()? strNCmp()? strPBrk()? strRChr()? strRIPos()? (That one's my favourite

Re: [PHP-DEV] Re: Syntax in PHP 6

2005-12-02 Thread Matthew C. Kavanagh
On Sat, 2005-12-03 at 00:46 +1100, Michael Cordover wrote: > It seems to me, therefore, that we should get rid of the underscores. > Yes, this means changing a lot more functions around, but adding > underscores will just make function names MORE confusing where there's > ambiguity - and that's

Re: [PHP-DEV]

2005-11-27 Thread Matthew C. Kavanagh
On Sun, 2005-11-27 at 22:32 +0100, Johannes Schlueter wrote: > It isn't about the XML standard but about exceptions for the PHP parser and > why should which all are used (hm, not sure about combination with PHP. I recall this being discussed before, but not what came of it: is there a problem

Re: [PHP-DEV] Re: namespace separator ideas

2005-11-26 Thread Matthew C. Kavanagh
On Sat, 2005-11-26 at 21:41 -0500, Nicolas Bérard Nault wrote: > +2 to <-, which, in my humble opinion, is more logic than anything else that > was proposed (as mentionned earlier, it creates a sort of "hierachy"). Hmm, is it really necessary to vote for separators which aren't remotely technicall

Re: [PHP-DEV] Re: namespace separator ideas

2005-11-26 Thread Matthew C. Kavanagh
On Sun, 2005-11-27 at 00:58 +0100, Oliver Grätz wrote: > - looks OK (Pear%%Date) You're kidding, right? %% looks nothing but blocky and messy to my human eyes, and the resemblance to :: stretches the word "tenuous" to its limit. -- PHP Internals - PHP Runtime Development Mailing List To unsubscrib

Re: [PHP-DEV] Re: namespace separator ideas

2005-11-26 Thread Matthew C. Kavanagh
Don't let the identifiers collide, then. On Sat, 2005-11-26 at 23:23 +0100, David Zülke wrote: > -> is crap because it is used for accessing object methods and > properties. Come on, guys. It is not that difficult. Think before you > write. -- PHP Internals - PHP Runtime Development Mailing L

Re: [PHP-DEV] Re: namespace separator ideas

2005-11-26 Thread Matthew C. Kavanagh
On Sun, 2005-11-27 at 00:06 +0200, Stanislav Malyshev wrote: > I wonder what "PHP feel" is in bunch of special symbols with meaning > entirely obscure to non-initiated... Why not {@ or <* then? They are nice > ASCII art too. And there are so many combinations of two special symbols, > let's find

Re: [PHP-DEV] Read-only

2005-11-26 Thread Matthew C. Kavanagh
On Sat, 2005-11-26 at 14:58 +0100, Christopher Kunz wrote: > David Zülke wrote: > > No, please don't. I couldn't reply to your incredibly arrogant messages > > anymore. After all, someone has to tell you that your "L'Etat, c'est > > moi" attitude sucks. This is an open-source project, remember?

Re: [PHP-DEV] Re: PHP 5.1 (Or How to break tousands of apps out there)

2005-11-26 Thread Matthew C. Kavanagh
On Sat, 2005-11-26 at 13:38 +0100, Marcus Boerger wrote: > Hello Christian, > > Saturday, November 26, 2005, 1:42:07 AM, you wrote: > > PS: I'd rather have : for namespaces with the whitespace restriction for > > ? a:x : b:y than the confusing (escaping characters outside of a > > string?) backs

Re: [PHP-DEV] what happened to that new isset() like language

2005-10-29 Thread Matthew C. Kavanagh
However, in terms of precedents, there are the combined assignment operators such as &=, +=, .=, and so on. They would suggest that $a ||= $b; should be equivalent to $a = $a || $b; So I don't think ||= in the suggested usage is intuitive. And adding strange automagical meanings to $a = $a || $