PHP Classes

File: vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/LanguageConstructSpacingUnitTest.inc.fixed

Recommend this page to a friend!
  Classes of milenmk   Simple PHP Password Manager   vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/LanguageConstructSpacingUnitTest.inc.fixed   Download  
File: vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/LanguageConstructSpacingUnitTest.inc.fixed
Role: Example script
Content type: text/plain
Description: Example script
Class: Simple PHP Password Manager
Application to store and retrieve user password
Author: By
Last change:
Date: 1 year ago
Size: 592 bytes
 

Contents

Class file image Download
<?php
echo $blah;
echo
$blah;
echo(
$blah);

print
$blah;
print
$blah;
print(
$blah);

include
$blah;
include
$blah;
include(
$blah);

include_once
$blah;
include_once
$blah;
include_once(
$blah);

require
$blah;
require
$blah;
require(
$blah);

require_once
$blah;
require_once
$blah;
require_once(
$blah);

$obj = new MyClass();
$obj = new MyClass();

return;
return
$blah;
return
$blah;
return(
$blah);

return
$tab;
return
$newLine;

// The following line must have a single space at the end (after return)
return $spaceAndNewLine;

// The following line must be the last line in the file
return