PHP Classes

File: phpcf-src/test/expected/const-comment.php

Recommend this page to a friend!
  Classes of Alex Krash   PHP Code formatter   phpcf-src/test/expected/const-comment.php   Download  
File: phpcf-src/test/expected/const-comment.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: 9 years ago
Size: 160 bytes
 

Contents

Class file image Download
<?php
/**
 * Test check formatting of multiple constants, with single 'const' word before
 */

class Test
{
    const
       
ONE = 1,
       
TWO = 2; //duo
}