PHP Classes
elePHPant
Icontem

File: phpcf-src/test/expected/empty-call.php

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

 

Contents

Class file image Download
<?php
/**
 * Test for formatting function call without arguments
 */

$a = array();

function
definition() {}

class
ClassDef
{
    private function
emptyFunction() {}
}

functionCall();

$a = function() {};