したがって、2 つの PHP ファイルindex.php
とinclude.php
.
のindex.php
<?php
include ('include.php');
?>
のinclude.php
<?
$a = 1>0;
echo "test";
を実行するindex.php
と、得られるのは
0; echo "test";
これは、include.php が短い開始タグを使用している場合に発生します。誰が問題を知っていますか?
PHP 5.4.16 を使用しています