Lines Matching refs:file_get_contents
2 Phar: test edge cases of file_get_contents() function interception
18 file_get_contents(array());
25 echo file_get_contents($fname);
30 echo file_get_contents("foo/" . basename(__FILE__));
33 file_get_contents("./hi", 0, $context, 0, -1);
37 echo file_get_contents("fgc_edgecases.txt");
39 echo file_get_contents("fgc_edgecases.txt", true);
40 echo file_get_contents("./hi", 0, $context);
41 echo file_get_contents("../oops");
42 echo file_get_contents("./hi", 0, $context, 50000);
43 echo file_get_contents("./hi");
44 echo file_get_contents("./hi", 0, $context, 0, 0);
55 file_get_contents(): Argument #1 ($filename) must be of type string, array given
58 echo file_get_contents("foo/" . basename(__FILE__));
61 file_get_contents("./hi", 0, $context, 0, -1);
65 echo file_get_contents("fgc_edgecases.txt");
67 echo file_get_contents("fgc_edgecases.txt", true);
68 echo file_get_contents("./hi", 0, $context);
69 echo file_get_contents("../oops");
70 echo file_get_contents("./hi", 0, $context, 50000);
71 echo file_get_contents("./hi");
72 echo file_get_contents("./hi", 0, $context, 0, 0);
74 file_get_contents(): Argument #5 ($length) must be greater than or equal to 0
78 echo file_get_contents("foo/" . basename(__FILE__));
81 file_get_contents("./hi", 0, $context, 0, -1);
85 echo file_get_contents("fgc_edgecases.txt");
87 echo file_get_contents("fgc_edgecases.txt", true);
88 echo file_get_contents("./hi", 0, $context);
89 echo file_get_contents("../oops");
90 echo file_get_contents("./hi", 0, $context, 50000);
91 echo file_get_contents("./hi");
92 echo file_get_contents("./hi", 0, $context, 0, 0);
95 Warning: file_get_contents(phar://%sfgc_edgecases.phar.php/oops): Failed to open stream: phar error…
97 Warning: file_get_contents(): Failed to seek to position 50000 in the stream in phar://%sfgc_edgeca…
99 echo file_get_contents("foo/" . basename(__FILE__));
102 file_get_contents("./hi", 0, $context, 0, -1);
106 echo file_get_contents("fgc_edgecases.txt");
108 echo file_get_contents("fgc_edgecases.txt", true);
109 echo file_get_contents("./hi", 0, $context);
110 echo file_get_contents("../oops");
111 echo file_get_contents("./hi", 0, $context, 50000);
112 echo file_get_contents("./hi");
113 echo file_get_contents("./hi", 0, $context, 0, 0);