Lines Matching refs:file_get_contents
2 Phar: test edge cases of file_get_contents() function interception
18 file_get_contents(array());
22 echo file_get_contents($fname);
27 echo file_get_contents("foo/" . basename(__FILE__));
29 file_get_contents("./hi", 0, $context, 0, -1);
30 echo file_get_contents("foob");
32 echo file_get_contents("foob", true);
33 echo file_get_contents("./hi", 0, $context);
34 echo file_get_contents("../oops");
35 echo file_get_contents("./hi", 0, $context, 50000);
36 echo file_get_contents("./hi");
37 echo file_get_contents("./hi", 0, $context, 0, 0);
50 Warning: file_get_contents() expects parameter 1 to be a valid path, array given in %sfgc_edgecases…
53 echo file_get_contents("foo/" . basename(__FILE__));
55 file_get_contents("./hi", 0, $context, 0, -1);
56 echo file_get_contents("foob");
58 echo file_get_contents("foob", true);
59 echo file_get_contents("./hi", 0, $context);
60 echo file_get_contents("../oops");
61 echo file_get_contents("./hi", 0, $context, 50000);
62 echo file_get_contents("./hi");
63 echo file_get_contents("./hi", 0, $context, 0, 0);
66 Warning: file_get_contents(): length must be greater than or equal to zero in phar://%sfgc_edgecase…
70 echo file_get_contents("foo/" . basename(__FILE__));
72 file_get_contents("./hi", 0, $context, 0, -1);
73 echo file_get_contents("foob");
75 echo file_get_contents("foob", true);
76 echo file_get_contents("./hi", 0, $context);
77 echo file_get_contents("../oops");
78 echo file_get_contents("./hi", 0, $context, 50000);
79 echo file_get_contents("./hi");
80 echo file_get_contents("./hi", 0, $context, 0, 0);
83 Warning: file_get_contents(phar://%sfgc_edgecases.phar.php/oops): failed to open stream: phar error…
85 Warning: file_get_contents(): Failed to seek to position 50000 in the stream in phar://%sfgc_edgeca…
87 echo file_get_contents("foo/" . basename(__FILE__));
89 file_get_contents("./hi", 0, $context, 0, -1);
90 echo file_get_contents("foob");
92 echo file_get_contents("foob", true);
93 echo file_get_contents("./hi", 0, $context);
94 echo file_get_contents("../oops");
95 echo file_get_contents("./hi", 0, $context, 50000);
96 echo file_get_contents("./hi");
97 echo file_get_contents("./hi", 0, $context, 0, 0);