Last active
January 5, 2016 07:42
-
-
Save jack126guy/8d5566babc556cb096ba to your computer and use it in GitHub Desktop.
phpDocumentor test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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