PATH:
opt
/
cpanel
/
ea-wappspector
/
vendor
/
squizlabs
/
php_codesniffer
/
src
/
Standards
/
PEAR
/
Tests
/
Commenting
<?php // Some code goes here. // This comment contains # multiple // hash signs (#). /* * Here is a small function comment. */ function test() { // Some code goes here. // This comment is banned. }//end test() /* A longer comment goes here. It spans multiple lines. */ // This is a long comment // that is banned. // use the code from the regex // over hre // ok? // ️⃣ Apparently the emoji keycap number sign (hash) also works and turns this into a comment.
[+]
..
[-] FunctionCommentUnitTest.inc.fixed
[edit]
[-] FileCommentUnitTest.2.inc
[edit]
[-] FileCommentUnitTest.1.inc
[edit]
[-] FunctionCommentUnitTest.inc
[edit]
[-] FunctionCommentUnitTest.php
[edit]
[-] FileCommentUnitTest.3.inc
[edit]
[-] ClassCommentUnitTest.inc
[edit]
[-] FileCommentUnitTest.4.inc
[edit]
[-] InlineCommentUnitTest.inc.fixed
[edit]
[-] InlineCommentUnitTest.inc
[edit]
[-] ClassCommentUnitTest.php
[edit]
[-] FileCommentUnitTest.php
[edit]
[-] InlineCommentUnitTest.php
[edit]