/vendor/phpunit/php-token-stream/tests/_fixture/source3.php

https://bitbucket.org/alan_cordova/api-sb-map · PHP · 14 lines · 9 code · 3 blank · 2 comment · 0 complexity · a5cd42729c1bcb391a76f649774244db MD5 · raw file

  1. <?php
  2. // This file is example#1
  3. // from http://www.php.net/manual/en/function.get-included-files.php
  4. include 'test1.php';
  5. include_once 'test2.php';
  6. require 'test3.php';
  7. require_once 'test4.php';
  8. $included_files = get_included_files();
  9. foreach ($included_files as $filename) {
  10. echo "$filename\n";
  11. }