}
// Register 5xx SMTP response code (permanent failure) as bounce.
- if (isset($code{0}) && $code{0} === '5') {
+ if (isset($code[0]) && $code[0] === '5') {
return FALSE;
}
$value = NULL;
}
// Skip '_foobar' and '{\u00}*_options' and 'N'.
- if (preg_match('/[a-zA-Z]/', $key{0}) && $key !== 'N') {
+ if (preg_match('/[a-zA-Z]/', $key[0]) && $key !== 'N') {
$row[$key] = $value;
}
}
// Callback: Constant value.
return new ResolverConstantCallback((int) $id);
}
- elseif ($id{0} >= 'A' && $id{0} <= 'Z') {
+ elseif ($id[0] >= 'A' && $id[0] <= 'Z') {
// Object: New/default instance.
return new $id();
}
if ($dh = opendir($subdir)) {
while (FALSE !== ($entry = readdir($dh))) {
$path = $subdir . DIRECTORY_SEPARATOR . $entry;
- if ($entry{0} == '.') {
+ if ($entry[0] == '.') {
}
elseif (is_dir($path)) {
$todos[] = $path;