Login   Register  
PHP Classes
elePHPant
Icontem

File: web/mock/json.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Lukasz Cepowski  >  Mock HTTP Server  >  web/mock/json.php  >  Download  
File: web/mock/json.php
Role: Auxiliary script
Content type: text/plain
Description: Unit test script
Class: Mock HTTP Server
Setup and start a HTTP server for testing purposes
Author: By
Last change:
Date: 2012-09-11 03:18
Size: 96 bytes
 

Contents

Class file image Download
<?php
header
('Content-Type: application/json');
echo 
json_encode(array('a' => 123'b' => 456));