Sindbad~EG File Manager

Current Path : /var/www/html/edd.sumar.com.py/vendor/nikic/php-parser/test/code/prettyPrinter/
Upload File :
Current File : /var/www/html/edd.sumar.com.py/vendor/nikic/php-parser/test/code/prettyPrinter/indent.test

Indentation
-----
<?php

class Test {
    /**
     * Comment
     */
    public function foo() {
        if (1) {
            echo $bar;
        }
    }
}
-----
!!indent="  "
class Test
{
  /**
   * Comment
   */
  public function foo()
  {
    if (1) {
      echo $bar;
    }
  }
}
-----
<?php

class Test {
    /**
     * Comment
     */
    public function foo() {
        if (1) {
            echo $bar;
        }
    }
}
-----
!!indent="   "
class Test
{
   /**
    * Comment
    */
   public function foo()
   {
      if (1) {
         echo $bar;
      }
   }
}
-----
<?php

class Test {
    /**
     * Comment
     */
    public function foo() {
        if (1) {
            echo $bar;
        }
    }
}
-----
!!indent="\t"
class Test
{
@@{"\t"}@@/**
@@{"\t"}@@ * Comment
@@{"\t"}@@ */
@@{"\t"}@@public function foo()
@@{"\t"}@@{
@@{"\t\t"}@@if (1) {
@@{"\t\t\t"}@@echo $bar;
@@{"\t\t"}@@}
@@{"\t"}@@}
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists