<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title> strtoupper2.php </title>
<meta charset="UTF-8">
<meta name="Author" content="">
<meta name="Keywords" content="">
<meta name="Description" content="">
</head> <body>
<?php
$str = "i want to Fly";
$str2 = strtoupper($str);
echo $str;
echo '<br>';
echo $str2;
?>
</body>
</html>i want to Fly
I WANT TO FLY (2)strtoupper()函数。该函数作用同strtolower 函数刚好相反,是将传入的字符串参数的
字符全部转换成大写,并以大写的形式返回这个字符串。该函数声明如下:
string strtoupper ( string string)
strtoupper2.php
转载
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
strtoupper() 函数
strtoupper() 函数
函数 strtoupper -
字符串函数strtoupper解析
字符串函数strtoupper解析
字符串 函数 strtoupper 解析 -
php基础2
php基础
php 基础