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

 

ReLoad

Keys


Functions

arraybrowsercolorcookiedatetimeDBdebugdeviceDSTequiverrorflagsfontformatgeo
holidayhtmlisjsonmathparsePHPprintsearchsortstringtabletexttracetype
VOTDweatherxml

Function  is_varsafe   Lines 1464-1473 (9 lines)Added: 2021-02-10 file  utils.php   Last mod: Fri 2021-05-14 21:45:07

function is_varsafe $str )
        {
#-k     string text type is
#-      is every character in $str either alphanumeric or '-' or '_'?
#-d     2/10/21 Added

        
return preg_match '/^[a-zA-Z0-9_\-]+$/'$str );

        }

?>