php multiple line string
snippet in php

php multiple line string

user7209

//use EOD function for multiple line variable
$variable=<<<EOD
  this is line1
  this is line2
  EOD;