On 6 Feb., 10:27, Fabien POTENCIER <[EMAIL PROTECTED]
project.com> wrote:
> As you can retrieve PHP version with PHP_VERSION, SYMFONY_VERSION seems
> the best compromise.
>
> If we want a class constant, the only possibility is
> sfCoreAutoload::VERSION as this is the very first class to be loaded.
> sfContext is loaded much later and maybe not loaded at all if you just
> create a configuration object.

As you already know the answer, then why do you ask? ;-)

Ok..  the good thing with SYMFONY_VERSION also is that you can put it
wherever you want. Good for future changes.

So.. +1 for SYMFONY_VERSION

Btw. please ask these questions on symfony-dev. ;-)

Regards,
Matthias

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to