Lines Matching refs:file_get_contents

2 Phar: test edge cases of file_get_contents() function interception
16 file_get_contents(array());
23 echo file_get_contents($fname);
28 echo file_get_contents("foo/" . basename(__FILE__));
31 file_get_contents("./hi", 0, $context, 0, -1);
35 echo file_get_contents("fgc_edgecases.txt");
37 echo file_get_contents("fgc_edgecases.txt", true);
38 echo file_get_contents("./hi", 0, $context);
39 echo file_get_contents("../oops");
40 echo file_get_contents("./hi", 0, $context, 50000);
41 echo file_get_contents("./hi");
42 echo file_get_contents("./hi", 0, $context, 0, 0);
53 file_get_contents(): Argument #1 ($filename) must be of type string, array given
56 echo file_get_contents("foo/" . basename(__FILE__));
59 file_get_contents("./hi", 0, $context, 0, -1);
63 echo file_get_contents("fgc_edgecases.txt");
65 echo file_get_contents("fgc_edgecases.txt", true);
66 echo file_get_contents("./hi", 0, $context);
67 echo file_get_contents("../oops");
68 echo file_get_contents("./hi", 0, $context, 50000);
69 echo file_get_contents("./hi");
70 echo file_get_contents("./hi", 0, $context, 0, 0);
72 file_get_contents(): Argument #5 ($length) must be greater than or equal to 0
76 echo file_get_contents("foo/" . basename(__FILE__));
79 file_get_contents("./hi", 0, $context, 0, -1);
83 echo file_get_contents("fgc_edgecases.txt");
85 echo file_get_contents("fgc_edgecases.txt", true);
86 echo file_get_contents("./hi", 0, $context);
87 echo file_get_contents("../oops");
88 echo file_get_contents("./hi", 0, $context, 50000);
89 echo file_get_contents("./hi");
90 echo file_get_contents("./hi", 0, $context, 0, 0);
93 Warning: file_get_contents(phar://%sfgc_edgecases.phar.php/oops): Failed to open stream: phar error…
95 Warning: file_get_contents(): Failed to seek to position 50000 in the stream in phar://%sfgc_edgeca…
97 echo file_get_contents("foo/" . basename(__FILE__));
100 file_get_contents("./hi", 0, $context, 0, -1);
104 echo file_get_contents("fgc_edgecases.txt");
106 echo file_get_contents("fgc_edgecases.txt", true);
107 echo file_get_contents("./hi", 0, $context);
108 echo file_get_contents("../oops");
109 echo file_get_contents("./hi", 0, $context, 50000);
110 echo file_get_contents("./hi");
111 echo file_get_contents("./hi", 0, $context, 0, 0);