摘要:
阅读全文
posted @ 2019-06-07 17:41
像一棵海草海草海草
阅读(94)
评论(0)
推荐(0)
摘要:
"; echo "高度为:" . $height . ""; /* 图像类型的标记: 1 = GIF,2 = JPG,3 =PNG,4 = SWF,5 = PSD,6 = BMP,7 = TIFF(intel byte order), 8 =TIFF(motorola byte order),9 = JPC,10 = JP2,11 = JPX,12... 阅读全文
posted @ 2019-06-07 17:37
像一棵海草海草海草
阅读(94)
评论(0)
推荐(0)
摘要:
"; if (checkdate(18, 2, 1970))//检查日期函数 { print("这是一个正确的日期格式"); } else { print("18,2,1970 :" . "这不是一个正确的日期格式"); } ?> 阅读全文
posted @ 2019-06-07 13:09
像一棵海草海草海草
阅读(93)
评论(0)
推荐(0)
摘要:
\n"); } ?> 阅读全文
posted @ 2019-06-07 13:06
像一棵海草海草海草
阅读(133)
评论(0)
推荐(0)
摘要:
\n"); print("xacos(x)\n"); for($index = -1; $index \n"); print("$index\n"); print("" . acos($index) . "\n"); print("\n"); } print("\n"); // 从 -1 到 1打印asi... 阅读全文
posted @ 2019-06-07 13:04
像一棵海草海草海草
阅读(166)
评论(0)
推荐(0)
摘要:
"); $text = "ztKwrlBIUA"; print("ztKwrlBIUA: " . base64_decode($text)); //编码 ?> 阅读全文
posted @ 2019-06-07 13:00
像一棵海草海草海草
阅读(140)
评论(0)
推荐(0)
摘要:
"); //小写字串 print("小写: ".strtolower("Hello World").""); //大写字串 print("大写: ".strtoupper("Hello World").""); //去空格 $text = " whitespace "; print("\"" . trim($text... 阅读全文
posted @ 2019-06-07 12:55
像一棵海草海草海草
阅读(109)
评论(0)
推荐(0)
摘要:
");//取出子串 //切开字串 // create a demo string $line = "leon\tatkinson\tleon@clearink.com"; // loop while there are still tokens for($token = strtok($line, "\t"); $token != ""... 阅读全文
posted @ 2019-06-07 12:54
像一棵海草海草海草
阅读(108)
评论(0)
推荐(0)
摘要:
"); } else { print("字符串不相等".""); } print("abcde我是中国人: ".strlen("abcde我是中国人")."");//字串长度 $text = "hello world"; print(strpos($text, "w")."");//寻找字串中某字元最先出现处 ?> ... 阅读全文
posted @ 2019-06-07 12:46
像一棵海草海草海草
阅读(81)
评论(0)
推荐(0)
摘要:
");//数组的个数 print("数组的当前值:".current($colors)."");//当前的值 end($colors); print("数组的最后一个的值:".current($colors).""); print(""); $slice = each($colors);// print("each()函数的使用:".""); ... 阅读全文
posted @ 2019-06-07 12:41
像一棵海草海草海草
阅读(90)
评论(0)
推荐(0)
摘要:
"Yobert", "steve" => "Btephen", "jon" => "Aonathon"); /*循环输出 reset() 函数将内部指针指向数组中的第一个元素,并输出。 相关的方法: current() - 返回数组中的当前元素的值,而 key() 函数返回的是元素的键名。 end() - 将内部... 阅读全文
posted @ 2019-06-07 12:36
像一棵海草海草海草
阅读(212)
评论(0)
推荐(0)

浙公网安备 33010602011771号