Skip to main content
Home / Code Snippets / PHP / Comments in PHP

Comments in PHP

<?php

    /*
           This code by Chris Coyier
    */

    $i = 0;    // counter to be used later;

?>

Comments in PHP can be between /* */ markings (useful for multiple line comments) or after // markings (for single lines only).

icon-link icon-logo-star icon-search icon-star