PHP 8.2.31
Preview: InlineCommentUnitTest.inc Size: 488 B
/opt/cpanel/ea-wappspector/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/Commenting/InlineCommentUnitTest.inc

<?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

Name Size Perms Modified Actions
2.79 KB lrw-r--r-- 2025-11-04 16:30:35
Edit Download
1.80 KB lrw-r--r-- 2025-11-04 16:30:35
Edit Download
1.41 KB lrw-r--r-- 2025-11-04 16:30:35
Edit Download
168 B lrw-r--r-- 2025-11-04 16:30:35
Edit Download
49 B lrw-r--r-- 2025-11-04 16:30:35
Edit Download
114 B lrw-r--r-- 2025-11-04 16:30:35
Edit Download
2.37 KB lrw-r--r-- 2025-11-04 16:30:35
Edit Download
8.93 KB lrw-r--r-- 2025-11-04 16:30:35
Edit Download
8.85 KB lrw-r--r-- 2025-11-04 16:30:35
Edit Download
2.47 KB lrw-r--r-- 2025-11-04 16:30:35
Edit Download
488 B lrw-r--r-- 2025-11-04 16:30:35
Edit Download
490 B lrw-r--r-- 2025-11-04 16:30:35
Edit Download
1.45 KB lrw-r--r-- 2025-11-04 16:30:35
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).