Preview: InlineCommentUnitTest.inc.fixed
Size: 490 B
/opt/cpanel/ea-wappspector/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/Commenting/InlineCommentUnitTest.inc.fixed
<?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.
Directory Contents
Dirs: 0 × Files: 13