Skip to content

Instantly share code, notes, and snippets.

@jack126guy
Last active January 5, 2016 07:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jack126guy/8d5566babc556cb096ba to your computer and use it in GitHub Desktop.
Save jack126guy/8d5566babc556cb096ba to your computer and use it in GitHub Desktop.
phpDocumentor test
<?php
/**
* Test file
*
* @author Jack126Guy someanon126@gmail.com
* @license http://creativecommons.org/publicdomain/zero/1.0/
* Creative Commons CC0 1.0 Universal
*/
namespace {
/**
* Global constant
*/
const GLOBAL_TEST_CONST = 'Test';
/**
* Global test function
*/
function global_test_func() {
//Do nothing
}
/**
* Global test class
*/
class GlobalTestClass {
}
}
/**
* Test namespace
*/
namespace Test {
/**
* Namespace constant
*/
const TEST_CONST = 'Test';
/**
* Test function in a namespace
*/
function test_func() {
//Do nothing
}
/**
* Test class in a namespace
*/
class TestClass {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment