inclued 函数
PHP 手册

inclued_get_data

(PECL inclued >= 0.1.0)

inclued_get_dataGet the inclued data

说明

array inclued_get_data ( void )

Get the inclued data.

参数

此函数没有参数。

返回值

The inclued data.

范例

Example #1 inclued_get_data() example

See the inclued examples section for ways to create graphs with this data.

<?php 
include 'x.php';

$clue inclued_get_data();

print_r($clue);
?>

以上例程的输出类似于:

Array
(
  [includes] => Array
    (
      [0] => Array
        (
          [operation] => include
          [op_type] => 2
          [filename] => x.php
          [opened_path] => /tmp/x.php
          [fromfile] => /tmp/z.php
          [fromline] => 2
        )
    )
)

参见


inclued 函数
PHP 手册