setlocale

setlocale -- Set locale information

Description

string setlocale ( mixed category, string locale)



דוגמה 1 . setlocale( ) Examples

 
?php

 
/

 
*

 
Set

 
locale

 
to

 
Dutch

 
*

 
/

 
setlocale

 
(

 
LC_ALL

 
,

 
'nl_NL')

 
;

 
/

 
*

 
Output

 
:

 
vrijdag

 
22

 
december

 
1978

 
*

 
/

 
echo

 
strftime

 
("%A

 
%e

 
%B

 
%Y"

 
,

 
mktime

 
(0

 
,

 
0

 
,

 
0

 
,

 
12

 
,

 
22

 
,

 
1978))

 
;

 
?