SleePyCode Forums

Special Site & Other Boards => PasteBin => Topic started by: Guest on Oct 19, 2007, 02:31 AM

Title: Paste-1192761084:v:use_geshi-1:v:type-php
Post by: Guest on Oct 19, 2007, 02:31 AM
<?php
error_reporting(E_ALL);

$a = 'jay';
$b = 'a';
echo strpos($a, $b);
echo '
';

$a = '';
$b = 'a';
echo strpos($a, $b) == false ? 'false' : 'true';

$a = 'jay';
$b = '';
echo strpos($a, $b);
?>