PHP Classes

File: tests/write.php

Recommend this page to a friend!
  Classes of Ali YILMAZ   Mind Framework   tests/write.php   Download  
File: tests/write.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Mind Framework
Framework that implements several design patterns
Author: By
Last change:
Date: 2 years ago
Size: 441 bytes
 

Contents

Class file image Download
<?php
require_once ('../src/Mind.php');

$Mind = new Mind();

// $str = 'Merhaba dünya';
// $Mind->write($str, 'yeni.txt');

// $str = array('Merhaba', 'Dünya');
// $Mind->write($str, 'yeni.txt');

// $str = array('Merhaba', 'Dünya');
// $Mind->write($str, 'yeni.txt', '~');

$str = 'Merhaba dünya';
$Mind->write($str, 'klasor/alt_klasor/yeni.txt');

$str = array('Merhaba', 'Dünya');
$Mind->write($str, 'klasor/alt_klasor/yeni.txt');