位置: 编程技术 - 正文

PHP字符串函数nl_langinfo()的用法(php字符串定义)

编辑:rootadmin
nl_langinfo

推荐整理分享PHP字符串函数nl_langinfo()的用法(php字符串定义),希望有所帮助,仅作参考,欢迎阅读内容。

文章相关热门搜索词:php字符串定义的三种方式,在php中,字符串有哪些表示形式,php字符串函数大全,php字符串型数据的定义方式,php字符串定义,在php中,字符串有哪些表示形式,php字符串型数据的定义方式,php字符串定义,内容如对您有帮助,希望把文章链接给更多的朋友!

(PHP 4 >= 4.1.0, PHP 5)

nl_langinfo — Query language and locale information

说明 string nl_langinfo ( int $item )

nl_langinfo() is used to access individual elements of the locale categories. Unlike localeconv(), which returns all of the elements, nl_langinfo() allows you to select any specific element.

参数 PHP字符串函数nl_langinfo()的用法(php字符串定义)

item

item may be an integer value of the element or the constant name of the element. The following is a list of constant names for item that may be used and their description. Some of these constants may not be defined or hold no value for certain locales. nl_langinfo Constants Constant Description LC_TIME Category Constants ABDAY_(1-7) Abbreviated name of n-th day of the week. DAY_(1-7) Name of the n-th day of the week (DAY_1 = Sunday). ABMON_(1-) Abbreviated name of the n-th month of the year. MON_(1-) Name of the n-th month of the year. AM_STR String for Ante meridian. PM_STR String for Post meridian. D_T_FMT String that can be used as the format string for strftime() to represent time and date. D_FMT String that can be used as the format string for strftime() to represent date. T_FMT String that can be used as the format string for strftime() to represent time. T_FMT_AMPM String that can be used as the format string for strftime() to represent time in -hour format with ante/post meridian. ERA Alternate era. ERA_YEAR Year in alternate era format. ERA_D_T_FMT Date and time in alternate era format (string can be used in strftime()). ERA_D_FMT Date in alternate era format (string can be used in strftime()). ERA_T_FMT Time in alternate era format (string can be used in strftime()). LC_MONETARY Category Constants INT_CURR_SYMBOL International currency symbol. CURRENCY_SYMBOL Local currency symbol. CRNCYSTR Same value as CURRENCY_SYMBOL. MON_DECIMAL_POINT Decimal point character. MON_THOUSANDS_SEP Thousands separator (groups of three digits). MON_GROUPING Like "grouping" element. POSITIVE_SIGN Sign for positive values. NEGATIVE_SIGN Sign for negative values. INT_FRAC_DIGITS International fractional digits. FRAC_DIGITS Local fractional digits. P_CS_PRECEDES Returns 1 if CURRENCY_SYMBOL precedes a positive value. P_SEP_BY_SPACE Returns 1 if a space separates CURRENCY_SYMBOL from a positive value. N_CS_PRECEDES Returns 1 if CURRENCY_SYMBOL precedes a negative value. N_SEP_BY_SPACE Returns 1 if a space separates CURRENCY_SYMBOL from a negative value. P_SIGN_POSN Returns 0 if parentheses surround the quantity and CURRENCY_SYMBOL. Returns 1 if the sign string precedes the quantity and CURRENCY_SYMBOL. Returns 2 if the sign string follows the quantity and CURRENCY_SYMBOL. Returns 3 if the sign string immediately precedes the CURRENCY_SYMBOL. Returns 4 if the sign string immediately follows the CURRENCY_SYMBOL. N_SIGN_POSN LC_NUMERIC Category Constants DECIMAL_POINT Decimal point character. RADIXCHAR Same value as DECIMAL_POINT. THOUSANDS_SEP Separator character for thousands (groups of three digits). THOUSEP Same value as THOUSANDS_SEP. GROUPING LC_MESSAGES Category Constants YESEXPR Regex string for matching "yes" input. NOEXPR Regex string for matching "no" input. YESSTR Output string for "yes". NOSTR Output string for "no". LC_CTYPE Category Constants CODESET Return a string with the name of the character encoding.

返回值

Returns the element as a string, or FALSE if item is not valid.

注释

Note: 此函数未在 Windows 平台下实现。

参见

setlocale() - Set locale information localeconv() - Get numeric formatting information

PHP字符串函数metaphone()的用法 metaphone(PHP4,PHP5)metaphoneCalculatethemetaphonekeyofastring说明stringmetaphone(string$str[,int$phonemes=0])Calculatesthemetaphonekeyofstr.Similartosoundex()metaphonecreatesthesamekeyforsimilarsou

PHP字符串函数levenshtein()的用法 levenshtein(PHP4=4.0.1,PHP5)levenshtein计算两个字符串之间的编辑距离说明intlevenshtein(string$str1,string$str2)intlevenshtein(string$str1,string$str2,int$cost_ins,int$cost_rep,int$cost_

PHP字符串函数md5()的用法 md5(PHP4,PHP5)md5计算字符串的MD5散列值说明stringmd5(string$str[,bool$raw_output=false])使用RSA数据安全公司的MD5报文算法计算str的MD5散列值。参数str原始字符串。raw

标签: php字符串定义

本文链接地址:https://www.jiuchutong.com/biancheng/278854.html 转载请保留说明!

上一篇:PHP字符串函数nl2br()的用法(php字符串函数有哪些)

下一篇:PHP字符串函数metaphone()的用法(php字符串函数大全)

  • 基本税种有哪些税种
  • 增值税征税范围及税率
  • 转让旧固定资产可以开专票吗
  • 销售给学员的教材是否要缴纳增值税?
  • 间接费包含哪些具体内容
  • 苗木种植发票免增值税吗
  • 青年企业家协会入会要求
  • 一般纳税人印花税是季报还是月报
  • 企业所得税年度申报
  • 度假村功能
  • 固定资产缩水
  • 会计集中核算模式
  • 购物中心联营扣点
  • 公司先注册实收资本后付账该如何做会计处理呢?
  • 企业盈利计提所得税么?
  • 实物型产品的基础知识
  • 付敏科技有限公司官网
  • 个人所得税费怎么计算2021
  • 工程税票怎么开需要交多少
  • 个税累计预缴税额税率表是年还是月
  • 分配利润怎么做科目
  • 房产企业可计入开发成本的利息如何确定?
  • 金融服务利息税率是多少
  • 调减管理费用如何调整本年利润
  • 高新产业扶持补贴怎样申请
  • 报销差旅费涉及的会计科目
  • 上年度少计提的税金及附加
  • 以前年度损益调整会计分录
  • 进口设备和备件有哪些
  • 分摊本月领用材料的成本差异
  • 暂估入账收入会计分录
  • 混合销售兼营如何纳税
  • dell oemdrv
  • 关于增值税专用发票
  • 营改增通俗
  • batset命令
  • idea如何运行springboot项目
  • 目标检测算法有哪些
  • 推荐 4个有趣实践作业
  • timestamp 0
  • 公司请的临时工
  • 如何查看python模块的依赖包
  • 餐饮店库存盘点表
  • 防洪保安资金可以抵扣个税吗
  • 小规模工程服务开票几个点
  • 发放股票股利的账务处理
  • phpcms官网打不开
  • 织梦如何使用
  • mysql乱码产生原因
  • 实际发生坏账损失不影响应收账款
  • 小规模增值税纳税人税率
  • 公允价值变动损益在利润表哪里
  • 简易征收的税款可以抵减
  • 公司注销清算时个人股东如何计算个人所得税
  • 研发支出的费用化支出计入
  • 酒店的布草怎么铺
  • 个体生产经营所得税
  • 小规模纳税人购进商品会计分录
  • 建筑业确认收入的条件
  • 公司购买的办公楼怎么交房产税
  • 社保的会计核算方法
  • win8.1 升级
  • windows xp cmd
  • 在linux系统中,用来存放系统所需要的配置文件和子目录
  • xp内置语音输入没反应
  • windows10的便签纸在哪
  • SUSE Linux Enterprise Server 设置防火墙开启ssh远程端口的方法
  • linux ftpd
  • fcbzmgr.exe
  • 铁嘴啥意思
  • 小郭聊一聊
  • unity怪物自动攻击
  • python怎么多进程
  • unity 2d 3d混合
  • python中子类继承父类的静态方法吗
  • 刷医保的网络可以用外网吗
  • 三星电视投屏显示不支持当前文件
  • 代理记账协会成立时间
  • 国税合并地税
  • 北京车船税新标准
  • 免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

    鄂ICP备2023003026号

    网站地图: 企业信息 工商信息 财税知识 网络常识 编程技术

    友情链接: 武汉网站建设