Wednesday, January 22, 2014

Google PrettyPrint with Custom Theme

interface SomeInterface
{
    public function somefunction();
}

abstract class SomeAbstractClass
{
    public function __construct()
    {
    }
}

// single line comment
class SomeClass extends SomeAbstractClass implements SomeInterface
{
    protected $var = "some text";
    private $array = array(['key' => 'value' ]);
    
    $array = ['key' => 'value' ];

    // show timers by default
    public function somefunction()
    {
        $this->variable->variable = SomeAbstractClass::make( 'something' );
        $this->variable->somefunction( 'something' );
        $something = new Something();
    }
    
    for ( $i = 0 ; $i < 10 ; $i++ )
    
    >= <= >> << || | & &&

    /*
    public function somefunction()
    {
    }*/
}

function somefunction()
{
    return null;
}

No comments:

Post a Comment