Replace function split by explode when possible.

Signed-off-by: Mark Story <mark@mark-story.com>
This commit is contained in:
Juan Basso 2009-11-19 20:17:47 -02:00 committed by mark_story
parent 911a99bf23
commit 1c0c1bc9c7

View file

@ -263,9 +263,9 @@ class ExtractTask extends Shell{
}
if (is_array($token)) {
$lineNumber += count(split("\n", $token[1])) - 1;
$lineNumber += count(explode("\n", $token[1])) - 1;
} else {
$lineNumber += count(split("\n", $token)) - 1;
$lineNumber += count(explode("\n", $token)) - 1;
}
}
unset($allTokens);