[symfony-users] Re: uuid and guid in prod and dev environment

2009-02-17 Thread Tomasz Ignatiuk
That is nice, thank you :) On 16 Lut, 23:09, Maerlyn wrote: > PHPs built-in function_exists() may be faster, although not that > elegant. > > On Feb 16, 7:40 pm, Tomasz Ignatiuk wrote: > > > Hi guys. > > > I am working on a local Wamp server (WIndows) so I use com_create_guid > > () to generate

[symfony-users] Re: uuid and guid in prod and dev environment

2009-02-16 Thread Maerlyn
PHPs built-in function_exists() may be faster, although not that elegant. On Feb 16, 7:40 pm, Tomasz Ignatiuk wrote: > Hi guys. > > I am working on a local Wamp server (WIndows) so I use com_create_guid > () to generate GUID. My production server is on Linux system so I need > to use uuid_create

[symfony-users] Re: uuid and guid in prod and dev environment

2009-02-16 Thread Tomasz Ignatiuk
So you mean to make this function as a config value and set different config for dev and for prod...that is very nice solution, I'll check it, thank you:) On 16 Lut, 21:46, Eno wrote: > On Mon, 16 Feb 2009, Tomasz Ignatiuk wrote: > > I am working on a local Wamp server (WIndows) so I use com_cre

[symfony-users] Re: uuid and guid in prod and dev environment

2009-02-16 Thread Eno
On Mon, 16 Feb 2009, Tomasz Ignatiuk wrote: > I am working on a local Wamp server (WIndows) so I use com_create_guid > () to generate GUID. My production server is on Linux system so I need > to use uuid_create(). > How to make it to choose automatically which function should be used? > I use the