...

View Full Version : How is a heredoc commented out (for testing)?



milesdriven
07-26-2012, 06:10 PM
To comment out a heredoc, do I have to put "//" in front of every line, or just the beginning and ending delimiters?

Thank you

tangoforce
07-26-2012, 06:17 PM
I'd use the /* method:

/*
php code
on multiple
lines
*/



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum