- Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.25
- Parse error: syntax error, unexpected '}' in /in/019oD on line 26
Process exited with code 255.
<?php
function match_str($cellItemName,$dbItemArray)
{
$count = 0;
for($i=0;$i<2;$i++)
{
$reult1 = stristr($cellItemName,$dbItemArray);
if($result)
$count=1;
break;
}
}
if($count==1)
{
return 1;
}
else
{
return 0;
}
}
$result = match_str("2 php developer $150","php developer");
echo $result;
?>