For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > July 2004 > Re: [PHP-INSTALL] locale functions on OpenBSD 3.5









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PHP-INSTALL] locale functions on OpenBSD 3.5
Frank Bax

2004-07-22, 8:56 pm

I've learned something - I can now answer two out of three of my own questions!


At 01:12 PM 7/20/04, Frank Bax wrote:
>So I have three questions:
>1) Is there a connection between the C and PHP setlocale functions?
>2) If PHP setlocale calls the C routine, then why don't PHP manuals
>indicate the function is platform/compiler dependant?


PHP manuals do indeed indicate that the PHP setlocale function calls the C
setlocale function.
http://www.php.net/manual/en/function.setlocale.php
> Note: The return value of setlocale() depends on the system that PHP
> is running. It returns exactly what the system setlocale function returns.


>3) Are there any values of $sLocale that work on OpenBSD 3.5?


Still looking... Does anyone beside me run an OpenBSD server?
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com