/2.1/Testing/Tests/FileSystem/file_get_contents.php
PHP | 11 lines | 11 code | 0 blank | 0 comment | 0 complexity | 24457e2d037344594dbffc16a9d580be MD5 | raw file
Possible License(s): CPL-1.0, GPL-2.0, CC-BY-SA-3.0, MPL-2.0-no-copyleft-exception, Apache-2.0
- [expect php]
- [file]
- <?
- $context = stream_context_create();
- echo "-------------------------\n";
- echo file_get_contents(__FILE__),"\n";
- echo "-------------------------\n";
- echo file_get_contents(__FILE__,false,$context,1),"\n";
- echo "-------------------------\n";
- echo file_get_contents(__FILE__,false,$context,1,10),"\n";
- ?>