Categories
PHP 5

PHP dump a variable to a file


$var_str = var_export($data, true);
				$var = "$var_str";
				file_put_contents('/var/some/location/on/server/value.txt', $var);