Make comparison stricter.

This commit is contained in:
euromark 2014-12-08 11:39:15 +01:00
parent f302d8c4d3
commit 2937ea9ba5

View file

@ -366,7 +366,7 @@ class ExtractTask extends AppShell {
$this->_tokens = array(); $this->_tokens = array();
foreach ($allTokens as $token) { foreach ($allTokens as $token) {
if (!is_array($token) || ($token[0] != T_WHITESPACE && $token[0] != T_INLINE_HTML)) { if (!is_array($token) || ($token[0] !== T_WHITESPACE && $token[0] !== T_INLINE_HTML)) {
$this->_tokens[] = $token; $this->_tokens[] = $token;
} }
} }