- file_get_contents: documentation ( source)
- var_dump: documentation ( source)
- file_put_contents: documentation ( source)
<?php
file_put_contents('/tmp/file', 'hello, world');
var_dump(file_get_contents('/tmp/file', false, null, 0, null));
var_dump(file_get_contents('/tmp/file', false, null, 0));