detect if an input is a variable string or string literal php code example Example: php is string is_string($var)