summaryrefslogtreecommitdiff
path: root/Zend/tests/014.phpt
blob: c02fee93856f1871518a14ae56f1b3d8fad9a402 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
--TEST--
get_included_files() tests
--FILE--
<?php

var_dump(get_included_files());

include(__DIR__."/014.inc");
var_dump(get_included_files());

include_once(__DIR__."/014.inc");
var_dump(get_included_files());

include(__DIR__."/014.inc");
var_dump(get_included_files());

echo "Done\n";
?>
--EXPECTF--
array(1) {
  [0]=>
  string(%d) "%s"
}
array(2) {
  [0]=>
  string(%d) "%s"
  [1]=>
  string(%d) "%s"
}
array(2) {
  [0]=>
  string(%d) "%s"
  [1]=>
  string(%d) "%s"
}
array(2) {
  [0]=>
  string(%d) "%s"
  [1]=>
  string(%d) "%s"
}
Done