[email protected] Posted November 27, 2009 Share Posted November 27, 2009 define('IN_PHPBB', true); Link to comment https://forums.phpfreaks.com/topic/183092-what-does-this-code-meando/ Share on other sites More sharing options...
Cosizzle Posted November 27, 2009 Share Posted November 27, 2009 It defines that IN_PHPBB is set to true. Think of it as a constant. You could later go if (IN_PHPBB == true) { // do something } Link to comment https://forums.phpfreaks.com/topic/183092-what-does-this-code-meando/#findComment-966294 Share on other sites More sharing options...
trq Posted November 27, 2009 Share Posted November 27, 2009 define('IN_PHPBB', true); All functions are described in detail in the manual. The manual even has a cool trick where you can type http://php.net/functionname and it will take you directly to the page for that function. eg; http://php.net/define Link to comment https://forums.phpfreaks.com/topic/183092-what-does-this-code-meando/#findComment-966355 Share on other sites More sharing options...
salathe Posted November 27, 2009 Share Posted November 27, 2009 [ot] It's not just function names that can be access with a "shortcut": other things that can be accessed are classes, "book" sections, control structures, etc.. More details are listed at http://php.net/urlhowto [/ot] Link to comment https://forums.phpfreaks.com/topic/183092-what-does-this-code-meando/#findComment-966361 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.