- strpos: documentation ( source)
- define: documentation ( source)
<?php
namespace {
define("Foo\TRUE", 0);
define("Foo\FALSE", 1);
}
namespace Foo {
if (strpos("foobarbaz", "bar") !== FALSE) {
echo "It's There!";
} else {
echo "It's Not There!";
}
}