3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<!DOCTYPE html> <html> <body> <?php // This is a single line comment # This is also a single line comment /* This is a multiple lines comment block that spans over more than one line */ ?> </body> </html>
based on GlgaM
Output for hhvm-3.12.0, 7.0.0 - 7.1.0
<!DOCTYPE html> <html> <body> Notice: Use of undefined constant comment - assumed 'comment' in /in/hpnfZ on line 7 </body> </html>
Output for hhvm-3.10.0

Process exited with code 153.
Output for 4.3.0 - 5.6.28
<!DOCTYPE html> <html> <body> Notice: Use of undefined constant comment - assumed 'comment' in /in/hpnfZ on line 14 </body> </html>