seventheyejosh Posted July 5, 2009 Share Posted July 5, 2009 hello all, i was wondering if ya'll could tell me what the technical name for the code that is like /******** *@ ok : ok **/ found in php files, and if there are php functions for reading it? Like doing a fopen() then scanning and capturing the data denoted by that format? Thanks to all Quote Link to comment https://forums.phpfreaks.com/topic/164870-solved-etc-etc/ Share on other sites More sharing options...
papaface Posted July 5, 2009 Share Posted July 5, 2009 Thats not code. Its commented out of the PHP code so php doesn't process it. Quote Link to comment https://forums.phpfreaks.com/topic/164870-solved-etc-etc/#findComment-869395 Share on other sites More sharing options...
wildteen88 Posted July 5, 2009 Share Posted July 5, 2009 Lines that start with // or a block of code contained within /* and */ are commented out However blocks of code looking like the following /** * something * @bar whatever * @foo somethinge here * etc */ Is used for phpDocumenter. This allows devlopers to easily create documentation for their code. Quote Link to comment https://forums.phpfreaks.com/topic/164870-solved-etc-etc/#findComment-869403 Share on other sites More sharing options...
seventheyejosh Posted July 5, 2009 Author Share Posted July 5, 2009 ya the php documenter part is what i was talking about! i would hope that everyone would know that /* */ is a comment... thanks again Quote Link to comment https://forums.phpfreaks.com/topic/164870-solved-etc-etc/#findComment-869442 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.