summaryrefslogtreecommitdiff
path: root/buildscripts/PhpDocumentor/phpDocumentor/phpDocumentorTParser.inc
diff options
context:
space:
mode:
authorrojaro <>2009-10-03 00:11:50 +0000
committerrojaro <>2009-10-03 00:11:50 +0000
commit6d02d935df4b8c6525a00670d54f37a9de0a87e0 (patch)
treec5fdc48fc01e267d1d7b24c29424780c25f309d5 /buildscripts/PhpDocumentor/phpDocumentor/phpDocumentorTParser.inc
parent840718fadba6645f5eb8fe038eecd084d715a581 (diff)
php 5.3 compatibility fixes
Diffstat (limited to 'buildscripts/PhpDocumentor/phpDocumentor/phpDocumentorTParser.inc')
-rw-r--r--buildscripts/PhpDocumentor/phpDocumentor/phpDocumentorTParser.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/buildscripts/PhpDocumentor/phpDocumentor/phpDocumentorTParser.inc b/buildscripts/PhpDocumentor/phpDocumentor/phpDocumentorTParser.inc
index b5c5c733..24a816e9 100644
--- a/buildscripts/PhpDocumentor/phpDocumentor/phpDocumentorTParser.inc
+++ b/buildscripts/PhpDocumentor/phpDocumentor/phpDocumentorTParser.inc
@@ -1660,7 +1660,7 @@ class phpDocumentorTParser extends Parser
} else
{
$save = $value[$i];
- $value[$i] = split("[\t ]",str_replace("\t",' ',$value[$i]));
+ $value[$i] = preg_split("/[\t ]/", str_replace("\t", ' ', $value[$i]));
$word = trim(array_shift($value[$i]));
$val = join(' ',$value[$i]);
if (trim($word) == 'internal')
@@ -2612,4 +2612,4 @@ class phpDocumentorTParser extends Parser
$this->_wp->setWhitespace(false);
}
}
-?> \ No newline at end of file
+?>