Home > Backend Development > PHP Tutorial > 5.2X中正常5.3.3出错一个数组的有关问题?

5.2X中正常5.3.3出错一个数组的有关问题?

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 13:12:43
Original
742 people have browsed it

5.2X中正常5.3.3出错一个数组的问题??
$htmlfiletag=array('''''=>': ?>',''=>'',''=>'',''=>'',''=>'','''=>'; ?>','{'=>'webRoot.\'','}/>'=>'\'); ?>','''=>' ?>');


PHP错误信息:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting '(' in




上面的数组在5.2X中没事 刚升级了5.3.3的就出错了???

------解决方案--------------------
没有发现错误.版本5.4x
------解决方案--------------------

PHP code
Array
(
    [ <?php foreach
    [<{if] => <?php if
    [<{for] => <?php for
    [:}>] => : ?>
    [] => <?php endif; ?>
    [] => <?php else: ?>
    [] => <?php endforeach; ?>
    [] => <?php endfor; ?>
    [ <?php echo 
    [}$>] => ; ?>
    [{] => <?php include($this->webRoot.'
    [}/>] => '); ?>
    [ <?php [}>] =>  ?>
)
<br><font color="#e78608">------解决方案--------------------</font><br>
你这次才贴全了呀!<br>贴出46到56行的代码,并指出56行在哪里 <div class="clear">
                 
              
              
        
            </div>
Copy after login
Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template