PHP中关于双引号和单引号的问题
<!-- Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --> $this->view->baseUrl = $this->_request->getBaseUrl(); echo '<a href="'.%24this->view->baseUrl.'/index/index/">返回</a>'; echo "<a href="%24this-">view->baseUrl/index/index/>返回</a>";
<?php class foo { public $a; function __construct(){ $this->a='aaaaaaaaaaaaa'; } } $f=new foo(); echo "BBB{$f->a}BBBBB"; ?> <div class="clear"> </div>