Re: [PHP-DEV] constant name

2004-05-05 Thread Mehdi Achour
barfoo (c/p error) Jason Garber wrote: Does it output "barfoo" or "bar"? ~Jason At 5/5/2004 10:01 PM +0200, Mehdi Achour wrote: Hi ! The manual reads : "The name of a constant follows the same rules as any label in PHP. A valid constant name starts with a letter or underscore, followed by any numbe

Re: [PHP-DEV] constant name

2004-05-05 Thread Jason Garber
Does it output "barfoo" or "bar"? ~Jason At 5/5/2004 10:01 PM +0200, Mehdi Achour wrote: Hi ! The manual reads : "The name of a constant follows the same rules as any label in PHP. A valid constant name starts with a letter or underscore, followed by any number of letters, numbers, or underscores.

[PHP-DEV] constant name

2004-05-05 Thread Mehdi Achour
Hi ! The manual reads : "The name of a constant follows the same rules as any label in PHP. A valid constant name starts with a letter or underscore, followed by any number of letters, numbers, or underscores. As a regular expression, it would be expressed thusly: '[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f