Jump to content

[SOLVED] /** @ etc etc


seventheyejosh

Recommended Posts

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 :)

Link to comment
https://forums.phpfreaks.com/topic/164870-solved-etc-etc/
Share on other sites

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.

Link to comment
https://forums.phpfreaks.com/topic/164870-solved-etc-etc/#findComment-869403
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.