Source for file example_file.php
Documentation is available at example_file.php
require_once 'Stream/Var.php';
"argh" => "I really like tomatoes."
echo "<strong>open 'var://GLOBALS/myVar/argh'</strong><br>";
if ($fp = fopen('var://GLOBALS/myVar/argh','r+')) {
echo " reading 9 chars from stream: $data<br>";
echo "write 'hate' to stream.<br>";
echo "myVar after fwrite:";
Documentation generated on Mon, 11 Mar 2019 15:32:46 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|