diff --git a/airtime_mvc/library/phing/tasks/ext/coverage/CoverageReportTask.php b/airtime_mvc/library/phing/tasks/ext/coverage/CoverageReportTask.php
index f6d3ae8b38..08a0443e07 100644
--- a/airtime_mvc/library/phing/tasks/ext/coverage/CoverageReportTask.php
+++ b/airtime_mvc/library/phing/tasks/ext/coverage/CoverageReportTask.php
@@ -238,7 +238,7 @@ protected function highlightSourceFile($filename)
$html = $geshi->parse_code();
- $lines = split("
|", $html);
+ $lines = preg_split("/|<\/li>/", $html);
// skip first and last line
array_pop($lines);
diff --git a/airtime_mvc/library/phing/tasks/ext/phk/PhkPackageTask.php b/airtime_mvc/library/phing/tasks/ext/phk/PhkPackageTask.php
index 8c170286fb..f16a8a6f6c 100644
--- a/airtime_mvc/library/phing/tasks/ext/phk/PhkPackageTask.php
+++ b/airtime_mvc/library/phing/tasks/ext/phk/PhkPackageTask.php
@@ -224,7 +224,7 @@ public function main()
* Print with Phing log...
*/
$output = trim(ob_get_clean());
- $output = split("\n", $output);
+ $output = explode("\n", $output);
foreach ($output as $line) {
/*
* Delete all '--- *' lines. Bluh!