我正在尝试减少我的index.php
. 是否会减少我的if {code}
语句以if {include}
减少加载时间或全部包含编译?
IE
//old code:
<?php
if (isset($_get("about")){
my_sql code...;
echo about me code...;
?>
//new code:
<?php
if (isset($_get("about")){
include "./include/about.php";
?>