Source Code:
(back to article)
<?php $var1 = "hello"; $var2 = 3.14; echo is_string($var1) . "\n"; // output: 1 (true) echo is_string($var2) . "\n"; // output: (false) ?>
Result:
Report an issue