Home
PHP
Chart
Class
Components
Cookie Session
Data Structure
Data Type
Date
Design Patterns
Development
DNS
Email
File Directory
Form
Functions
Graphics Image
HTML
Language Basics
Login Authentication
Math
MySQL Database
Network
Operator
PDF
Reflection
Statement
String
Utility Function
Web Services SOAP WSDL
XML
Menu
shell style comments : Comments « Language Basics « PHP
PHP
Language Basics
Comments
shell style comments
<?php # Title: My PHP program # Author: Tom print
"This is a PHP program"
; ?>
Related examples in the same category
1.
Shell style comments
2.
PHP comments are usually preceded by double slashes
3.
Php single line comment:#
4.
Php more than single line comment
5.
Combine three types of comment signs
6.
A comment is text in a script that is ignored by the PHP engine.
7.
In PHP, everything between /* and */ is considered a comment
8.
Multiline comments
9.
Multiline comments begin with a forward slash followed by an asterisk (/*) and end with an asterisk followed by a forward slash (*/)
10.
PHP supports C, C++ and Unix shell-style comments