Re: [PHP-DEV] reserved word alert

2007-08-25 Thread Richard Lynch
I think we should rename flex to something else because you just confused me with that new Adobe not-quite-flash flex thingie... :-) :-) ;-) Just Kidding!!! (Not about the confusing me part, as we all know that's trivial...) On Mon, August 20, 2007 5:04 am, Marcus Boerger wrote: > Hello Gregory

Re: [PHP-DEV] What is the use of "unicode.semantics" in PHP 6?

2007-08-25 Thread Richard Lynch
On Tue, August 21, 2007 5:21 pm, Stanislav Malyshev wrote: > So if you don't deal with them, you'd just say "we don't run on PHP > 6". > Is it better than saying "we run on PHP 6 only with that specific > setting"? Yes, it is better, imho. -- Some people have a "gift" link here. Know what I want

Re: [PHP-DEV] What is the use of "unicode.semantics" in PHP 6?

2007-08-25 Thread Richard Lynch
On Tue, August 21, 2007 1:22 am, Lukas Kahwe Smith wrote: > Andi Gutmans wrote: >> Before we continue this discussion I think there are a couple of >> things >> which would be useful data points: >> a) What is the performance difference between an implicit Unicode >> app >> and non-Unicode. If we h

RE: [PHP-DEV] Constants in namesapces

2007-08-25 Thread Richard Lynch
On Wed, August 22, 2007 8:03 am, Dmitry Stogov wrote: > You can have "const" outside namespaces but they are not real > compile-time > constants. > They are set during execution in the same way as define() does. > > const DIR = dirname(__FILE__); > echo DIR; > ?> You do realize this is going to e

Re: [PHP-DEV] Constants in namesapces

2007-08-25 Thread Richard Lynch
On Thu, August 23, 2007 5:52 pm, Stanislav Malyshev wrote: >> define_ns('FOOBAR', $value); > > Can be, but there's two downsides: > 1. define_ns would be weird construct - it would be combined > function/operator > 2. operators with underscores look bad... At the risk of starting another packages

Re: [PHP-DEV] Testing math functions

2007-08-25 Thread Richard Lynch
On Thu, August 23, 2007 10:28 am, Zoe Slattery wrote: > Hi - I've writing a few tests for the math extension and have a > question > about floating point precision. > > Here's a small example: > > --TEST-- > Test return type and value for expected input sin() > --INI-- > precision = 14 > --FILE-- >

Re: [PHP-DEV] [PATCH] Addition of setcookie2() to support RFC 2965

2007-08-25 Thread Ben Ramsey
On 8/25/07 4:58 PM, Stanislav Malyshev wrote: Here is a patch I am submitting as a recommendation to implement a setcookie2() function to support the Set-Cookie2 response header defined in RFC 2965. I think setcookie2 can ve useful, but a function with 13 arguments is a monster. Especially th

Re: [PHP-DEV] [PATCH] Addition of setcookie2() to support RFC 2965

2007-08-25 Thread Stanislav Malyshev
Here is a patch I am submitting as a recommendation to implement a setcookie2() function to support the Set-Cookie2 response header defined in RFC 2965. I think setcookie2 can ve useful, but a function with 13 arguments is a monster. Especially that you may not use all of them. Maybe it's bett