tbarsness Posted February 8, 2008 Share Posted February 8, 2008 Can anyone tell me what this block of code does: $mask |= mosMainFrame::getCfg( 'hidePrint' ) ? MASK_HIDEPRINT : 0; I've never seen the pipe character in php before and have no idea what it does. There isn't really a good way I can find to search for it either. Link to comment https://forums.phpfreaks.com/topic/90135-php-pipe-character/ Share on other sites More sharing options...
kenrbnsn Posted February 8, 2008 Share Posted February 8, 2008 It's the bitwise "Or" operator and it's being used like "+=" or ".=". If you want to know what the operators are just go to http://www.php.net/operators Ken Link to comment https://forums.phpfreaks.com/topic/90135-php-pipe-character/#findComment-462209 Share on other sites More sharing options...
phpSensei Posted February 8, 2008 Share Posted February 8, 2008 Refered to: http://ca3.php.net/manual/en/language.operators.assignment.php Link to comment https://forums.phpfreaks.com/topic/90135-php-pipe-character/#findComment-462210 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.