Re: [PHP-DEV] class constants crash PHP

2004-03-13 Thread Andi Gutmans
At 08:06 AM 3/13/2004 -0600, Joe Estock wrote: Andi Gutmans wrote: Fixed. At 07:10 PM 3/5/2004 +0100, Ard Biesheuvel wrote: This script crashes with the latest HEAD. I don't know if it is something that did work at an earlier time. class Image { const RESOURCE_FORMAT = ResourceFormat::IMG; }

Re: [PHP-DEV] class constants crash PHP

2004-03-13 Thread Joe Estock
Andi Gutmans wrote: Fixed. At 07:10 PM 3/5/2004 +0100, Ard Biesheuvel wrote: This script crashes with the latest HEAD. I don't know if it is something that did work at an earlier time. class Image { const RESOURCE_FORMAT = ResourceFormat::IMG; } print_r(constant('Image::RESOURCE_FORMAT'));

Re: [PHP-DEV] class constants crash PHP

2004-03-09 Thread Andi Gutmans
Fixed. At 07:10 PM 3/5/2004 +0100, Ard Biesheuvel wrote: This script crashes with the latest HEAD. I don't know if it is something that did work at an earlier time. class Image { const RESOURCE_FORMAT = ResourceFormat::IMG; } print_r(constant('Image::RESOURCE_FORMAT')); ?> -- Ard -- PHP I