Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
$src = "src/new.json";
$tmp = readfile( $fileOriginal$src);
echo $tmp;


Option 2) file_get_contents( $filename)

...

Code Block
$src = "src/new.json";
$tmp = file_get_contents( $fileOriginal$src);
echo $tmp;