<?php $f = fopen('php://memory', 'w+'); fwrite($f, 'Hello'); ftruncate($f, 2); // in 7.3 changes file pointer to 2 fwrite($f, 'World'); rewind($f); echo addslashes(stream_get_contents($f)); fclose($f);
You have javascript disabled. You will not be able to edit any code.