Warning: Invalid argument supplied for foreach() in /home/jihswbiz/public_html/t6.gwilt.org/refDox.php on line 212
Docs-flagTst

 

ReLoad

Keys


Functions

arraybrowsercolorcookiedatetimeDBdebugdeviceDSTequiverrorflagsfontformatgeo
holidayhtmlisjsonmathparsePHPprintsearchsortstringtabletexttracetype
VOTDweatherxml

Function  flagTst   Lines 1179-1191 (12 lines) file  utils.php   Last mod: Fri 2021-05-14 21:45:07

function flagTst $flags$f$v )
        {
#-k     flags
#-      test the '$f'th flag for the value '$v'

        
if (($f 1) or ($f 49)) return false;

        
$flg str_split $flags );
        if (!isset(
$flg[$f])) return false;     # that position doesn't exist
        
if ($flg[$f] == $v) return true;
        return 
false;
        }

?>