码迷,mamicode.com
首页 > 其他好文 > 详细

strtoupper() 函数

时间:2017-02-09 16:36:31      阅读:109      评论:0      收藏:0      [点我收藏+]

标签:strtoupper() 函数

定义和用法

strtoupper() 函数把字符串转换为大写

语法

strtoupper(string)

参数解析

参数描述
string必需。规定要转换的字符串。

示例

<?php
    echo strtoupper("Hello WORLD!");
?>

输出

HELLO WORLD!


本文出自 “素颜” 博客,请务必保留此出处http://suyanzhu.blog.51cto.com/8050189/1896254

strtoupper() 函数

标签:strtoupper() 函数

原文地址:http://suyanzhu.blog.51cto.com/8050189/1896254

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!