PHPs built-in function_exists() may be faster, although not that
elegant.

On Feb 16, 7:40 pm, Tomasz Ignatiuk <tomek.ignat...@gmail.com> 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().
> How to make it to choose automatically which function should be used?
> I use these functions in few places so I would have to change it
> manually each time I change something in those files and update prod
> environment.
>
> Is there a way to use partial, function? I don't know how to do
> this...

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

Reply via email to