freelance84 Posted June 2, 2010 Share Posted June 2, 2010 Not really very important but it would come in handy. Having searched the old goggle pages nothing really came up: Is it possible to have to some how insert commented out comments half way along a line and then continue on the same line back into the php? e.g When creating an array from multiple components it would be handy to be able to stick little notes in the line here and there with out having to drop onto a new line. Anybody heard of this? Link to comment https://forums.phpfreaks.com/topic/203633-inline-comments/ Share on other sites More sharing options...
phpchamps Posted June 2, 2010 Share Posted June 2, 2010 r u talking about something like below code?? if yes then its possible.. use multiline comment /* */ for that $arr = array('a'=>'1', 'b'=>'2','c'=>'3' /* new array starts */ , 'd'=>array('2','3','5'=> /*new array starts*/ array('z'=>'10','y'=>'11'))); echo "<pre>"; print_r($arr); Link to comment https://forums.phpfreaks.com/topic/203633-inline-comments/#findComment-1066633 Share on other sites More sharing options...
freelance84 Posted June 2, 2010 Author Share Posted June 2, 2010 Oh yea. Thanks I forgot that's what it was called. Muchos gracias! Link to comment https://forums.phpfreaks.com/topic/203633-inline-comments/#findComment-1066699 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.