PHP comment code

จาก Wiki2

ข้ามไปที่: นำทาง, สืบค้น

Comment คือ Code ที่ใช้อธิบายโปรแกรมไม่มีผลต่อการทำงานของโปรแกรม ซึ่ง PHP มีสามแบบดังต่อไปนี้

<HTML>
<HEAD>
<TITLE>Code Comments</TITLE>
</HEAD>
<BODY>

<!-- This is an HTML comment. -->

<?

// This is a simple PHP comment.

/* This is a C-style, multi-line comment. 
 You can make this as long as you'd like. */

# Used to shells?  Use this kind of comment.

?> 
</BODY>
</HTML>
รับข้อมูลจาก "http://www.noklek.com/wiki2/index.php/PHP_comment_code"
เครื่องมือส่วนตัว