PHP Classes

File: Example.php

Recommend this page to a friend!
  Packages of Max Base   PHP Auto Style Fixer   Example.php   Download  
File: Example.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Auto Style Fixer
Beautify PHP source code fixing its style
Author: By
Last change: Fix example.php file and add a example test file
Date: 7 months ago
Size: 273 bytes
 

Contents

Class file image Download
<?php
/* Include Class */
require "PHPAS.php";

/* Create Class Instance with default options */
$AS = new PHPAutoStyle();

/* or with optional configuratoin */
$options = [
   
'identation' => ' ' // 4 spaces (default Tab)
];

print
$AS->loadFile("input.test.php") ."\n";