PHP Classes

File: tests/print_pre.php

Recommend this page to a friend!
  Classes of Ali YILMAZ  >  Mind Framework  >  tests/print_pre.php  >  Download  
File: tests/print_pre.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 months ago
Size: 771 bytes
 

Contents

Class file image Download
<?php

require_once '../src/Mind.php';

$Mind = new Mind();


/* -------------------------------------------------------------------------- */
/* ARRAY */
/* -------------------------------------------------------------------------- */
$data = array(
       
'username'=>'aliyilmaz',
       
'password'=>md5(123456)
);
$Mind->print_pre($data);


/* -------------------------------------------------------------------------- */
/* JSON */
/* -------------------------------------------------------------------------- */
$data = json_encode(array(
   
'username'=>'aliyilmaz',
   
'password'=>md5(123456)
));

$Mind->print_pre($data);

For more information send a message to info at phpclasses dot org.