PHP Classes

File: phpcf-src/test/expected/long-classdef.php

Recommend this page to a friend!
  Classes of Alex Krash   PHP Code formatter   phpcf-src/test/expected/long-classdef.php   Download  
File: phpcf-src/test/expected/long-classdef.php
Role: Unit test script
Content type: text/plain
Description: Unit test script
Class: PHP Code formatter
Reformat PHP code according to standard options
Author: By
Last change:
Date: 10 years ago
Size: 408 bytes
 

Contents

Class file image Download
<?php
abstract class Something extends OtherThing
{
    const
C1 = "Something", C2 = "Other things";
    private static
$hello = "Hello";
    abstract function
someThing();
}

class
SomethingTwo extends OtherThing
{
    const
       
C1 = "Something",
       
C2 = "Another thing";

    private static
       
$helloo = "Hello",
       
$world = array("world");
}

class
EmptySomething extends OtherThing {}