Blame view

vendor/phpunit/php-token-stream/tests/_fixture/source3.php 305 Bytes
ad2e91f7   Mihail   move multyparser ...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
  <?php
  // This file is example#1
  // from http://www.php.net/manual/en/function.get-included-files.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";
  }