Brian W Posted October 1, 2008 Share Posted October 1, 2008 On the page for sleep() that was linked on another tread, I found some one using something I don't know how to use. $dis=<<<DIS <div style="width:200px; background-color:lime;border:1px; text-align:center;text-decoration:blink;"> $i </div> DIS; echo $dis; What is the <<<DIS and then DIS;? I saw this on the XSS cheat sheet page also, I can't say I've seen it before. What should I look up in the manual to find out about it? Link to comment https://forums.phpfreaks.com/topic/126629-solved-newb-question/ Share on other sites More sharing options...
trq Posted October 1, 2008 Share Posted October 1, 2008 heredoc. Link to comment https://forums.phpfreaks.com/topic/126629-solved-newb-question/#findComment-654816 Share on other sites More sharing options...
Brian W Posted October 1, 2008 Author Share Posted October 1, 2008 Thanks, It ends up not very useful seemingly, but still good to know I guess. Link to comment https://forums.phpfreaks.com/topic/126629-solved-newb-question/#findComment-654822 Share on other sites More sharing options...
revraz Posted October 1, 2008 Share Posted October 1, 2008 It has it's place, like everything else, where it can be useful. Link to comment https://forums.phpfreaks.com/topic/126629-solved-newb-question/#findComment-654841 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.