摘要: //heredoc: 1.相当于双引号--解析 2.php5.3后可以初始化静态变量和类的常量,属性//heredoc php4引入/*echo <<<EOTMy name is "$name". I am printing some $foo->foo.Now, I am printing some {$foo->bar[1]}.This should print a capital 'A': \x41EOT;*///nowdoc: 1.相当于单引--不解析 2. 可以在任何静态数据里使用,用来初始化类的常量,属性//nowd 阅读全文
posted @ 2012-02-28 11:26 赵治鲁 阅读(475) 评论(0) 推荐(0) 编辑