- Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.30
- Fatal error: Can't use function return value in write context in /in/9qJWW on line 4
Process exited with code 255.
<?php
$productName = "Bad Boy";
$_nonSupps = array("Tee", "Socks", "Vest", "Snapback", "Cap", "Top");
if (strpos($productName, $_nonSupps) = true) {
echo "exists";
}
else {
echo "nope";
}
?>