06-28-2011
5 More Discussions You Might Find Interesting
1. Solaris
Hi guys,
Why is the look and feel of CDE still the same? It hasn't changed at all.
-cadmiumgreen (1 Reply)
Discussion started by: cadmiumgreen
1 Replies
2. What is on Your Mind?
Hi all,
I was just crious to know your thoughts about sudo i.e. does it really enhance security or do you feel that it doesn't provide with much security as Ubuntu folks think :) And also post your personal experiences of using sudo and your first thoughts about it and any suggestions to... (1 Reply)
Discussion started by: tayyabq8
1 Replies
3. What is on Your Mind?
OK, be honest ...... :D (21 Replies)
Discussion started by: Neo
21 Replies
4. Solaris
Every once in a while, I take a peek at OpenIndiana, Nexenta and Illumos hoping to see the spirit of OpenSolaris rise and fly.
But I'm not real impressed with the level of activity.
What do you think? Is there still forward progress?
Is there a large reservoir of loyal Solaris users that... (1 Reply)
Discussion started by: KenJackson
1 Replies
5. What is on Your Mind?
I am trying to study this solaris OS. But each time I study, I feel like I didn't learn anything. Any suggestions?
Thanks (4 Replies)
Discussion started by: cjashu
4 Replies
LEARN ABOUT PHP
is_string
IS_STRING(3) 1 IS_STRING(3)
is_string - Find whether the type of a variable is string
SYNOPSIS
bool is_string (mixed $var)
DESCRIPTION
Finds whether the type given variable is string.
PARAMETERS
o $var
- The variable being evaluated.
RETURN VALUES
Returns TRUE if $var is of type string, FALSE otherwise.
EXAMPLES
Example #1
is_string(3) example
<?php
$values = array(false, true, null, 'abc', '23', 23, '23.5', 23.5, '', ' ', '0', 0);
foreach ($values as $value) {
echo "is_string(";
var_export($value);
echo ") = ";
echo var_dump(is_string($value));
}
?>
The above example will output:
is_string(false) = bool(false)
is_string(true) = bool(false)
is_string(NULL) = bool(false)
is_string('abc') = bool(true)
is_string('23') = bool(true)
is_string(23) = bool(false)
is_string('23.5') = bool(true)
is_string(23.5) = bool(false)
is_string('') = bool(true)
is_string(' ') = bool(true)
is_string('0') = bool(true)
is_string(0) = bool(false)
SEE ALSO
is_float(3), is_int(3), is_bool(3), is_object(3), is_array(3).
PHP Documentation Group IS_STRING(3)