QUIZGUM

Coding Class

Quizgum : annotation

Annotation

You can use annotations to write what phrases you want to leave in the source as you program, what programming sources do what, and so on.
If you want to comment out multiple lines of text
Start with / *
The end is * /
You can do this.

for examples

<?php
  /*
    echo "hello world";
    This is the source for the first time you learn the echo statement and the phrase hello world on the screen.
    I enjoy this job so much. However, hello world is inside a annotation so it is not printed.
  */
?>

If you enter the source above, the result is nothing. This is because the echo statement is commented out.

Use // to process annotations on a single line.

<?php
    echo "hello world";
    //echo "hello world2";
    //I enjoy this job so much. However, hello world is inside a annotation so it is not printed.나는 이 작업이 너무 즐겁다. 하지만 hello world2는 주석문 안에 있으므로 출력되지 않는다.완전 아무말
?>

The code above used a single line annotation. Only the uncommented part will work properly.