summaryrefslogtreecommitdiff
path: root/Zend/tests/014.phpt
blob: 25995b797609448f2787dcc3d57ccff489721946 (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
43
44
45
46
47
48
49
50
51
52
--TEST--
get_included_files() tests
--FILE--
<?php

var_dump(get_included_files());

include(dirname(__FILE__)."/014.inc");
var_dump(get_included_files());

var_dump(get_included_files(1,1));

include_once(dirname(__FILE__)."/014.inc");
var_dump(get_included_files());

var_dump(get_included_files(1));

include(dirname(__FILE__)."/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"
}

Warning: get_included_files() expects exactly 0 parameters, 2 given in %s on line %d
NULL
array(2) {
  [0]=>
  string(%d) "%s"
  [1]=>
  string(%d) "%s"
}

Warning: get_included_files() expects exactly 0 parameters, 1 given in %s on line %d
NULL
array(2) {
  [0]=>
  string(%d) "%s"
  [1]=>
  string(%d) "%s"
}
Done