提示错误:
setlocale():Passing locale categery name as string is deprecated,use
the LC_* -constants instead .
请问要怎么改呢?
...全文
498打赏收藏
◆◆菜鸟问题:PHP中用本地化日期的问题◆◆在线等
我想显示中文的星期,但用下面这句就是不行,看书上例子就是这么写的啊: setlocale("LC_TIME",""); print(strftime("%A")); 提示错误: setlocale():Passing locale categery name as string is deprecated,use the LC_* -constants instead . 请问要怎么改呢?