摘要: 1 <?php 2 header("Content-Type: text/html; charset=utf-8"); 3 echo '<pre>'; 4 ?> 5 <body> 6 <?php 7 echo '<h3>list()不是函数,而是一种语言结构;</h3>'; 8 echo '<p>将一个数组里的值按照数字索引赋值给list($n1, $n2, $n3...)里的变量'; 9 echo '<p>list() 仅能用于 阅读全文
posted @ 2012-11-27 23:50 cntnn11 阅读(262) 评论(0) 推荐(0) 编辑
摘要: 管理员要是看到该文章放到博客园首页了,还请麻烦给移除。因为这只是个人的笔记,没有细入去研究 1 <?php 2 header("content-Type:text/html; charset=utf-8"); 3 echo '<pre>'; 4 /** 5 * PHP正则的学习笔记 6 */ 7 ?> 8 元字符 9 代码 说明 10 . 匹配除换行符以外的任意字符 11 \d 匹配数字 [表示数字 0-9] 12 \D 匹配除数字意外的... 阅读全文
posted @ 2012-11-27 23:47 cntnn11 阅读(391) 评论(0) 推荐(0) 编辑