人人人妻人人人妻人人人,99精品国产综合久久久久五月天 ,欧美白人最猛性XXXXX,日韩AV无码免费播放

News新聞

業(yè)界新聞動態(tài)、技術前沿
Who are we?

您的位置:首頁      樂道系統(tǒng)FAQ      PHP判斷文件是否被引入的方法get_included_files用法示例

PHP判斷文件是否被引入的方法get_included_files用法示例

標簽: 發(fā)布日期:2016-11-29 00:00:00 243

本文實例講述了PHP判斷文件是否被引入的方法get_included_files用法。分享給大家供大家參考,具體如下:

<?php
// 本文件是 abc.php
include 'test1.php';
include_once 'test2.php';
require 'test3.php';
require_once 'test4.php';
$included_files = get_included_files();
foreach ($included_files as $filename) {
  echo "$filename\n";
}
?>