diff --git a/gulliver/thirdparty/pear/Net/FTP/Socket.php b/gulliver/thirdparty/pear/Net/FTP/Socket.php index d6d2c82a8..3dce53e7b 100755 --- a/gulliver/thirdparty/pear/Net/FTP/Socket.php +++ b/gulliver/thirdparty/pear/Net/FTP/Socket.php @@ -362,7 +362,7 @@ function ftp_pasv(&$control, $pasv) $pos2 = strrpos($cont, ')')-$pos; $string = substr($cont, $pos, $pos2); - $array = split(',', $string); + $array = explode(',', $string); // IP we are connecting to $ip = $array[0]. '.' .$array[1]. '.' .$array[2]. '.' .$array[3]; // Port ( 256*lowbit + highbit diff --git a/gulliver/thirdparty/pear/OS/Guess.php b/gulliver/thirdparty/pear/OS/Guess.php index 5decdc896..abcae5946 100755 --- a/gulliver/thirdparty/pear/OS/Guess.php +++ b/gulliver/thirdparty/pear/OS/Guess.php @@ -106,7 +106,7 @@ class OS_Guess if ($uname === null) { $uname = php_uname(); } - $parts = split('[[:space:]]+', trim($uname)); + $parts = explode('[[:space:]]+', trim($uname)); $n = count($parts); $release = $machine = $cpu = ''; diff --git a/gulliver/thirdparty/pear/SOAP/Interop/interop_client.php b/gulliver/thirdparty/pear/SOAP/Interop/interop_client.php index ac23a1484..75e3aa06e 100755 --- a/gulliver/thirdparty/pear/SOAP/Interop/interop_client.php +++ b/gulliver/thirdparty/pear/SOAP/Interop/interop_client.php @@ -720,10 +720,10 @@ class Interop_Client . "\n" . "\n"; foreach ($methods as $method) { - $info = split(':', $method); + $info = explode(':', $method); echo "
Endpoint"; foreach ($info as $m) { - $hi = split(',', $m); + $hi = explode(',', $m); echo ''. $hi[0] . "
\n"; if (count($hi) > 1) { echo "  Actor=" diff --git a/gulliver/thirdparty/pear/SOAP/Interop/interop_client_run.php b/gulliver/thirdparty/pear/SOAP/Interop/interop_client_run.php index 5829cd647..75d81fff7 100755 --- a/gulliver/thirdparty/pear/SOAP/Interop/interop_client_run.php +++ b/gulliver/thirdparty/pear/SOAP/Interop/interop_client_run.php @@ -121,7 +121,7 @@ foreach ($args[0] as $arg) { help(); exit(0); case 'l': - $iop->skipEndpointList = split(',', $arg[1]); + $iop->skipEndpointList = explode(',', $arg[1]); break; case 'm': $iop->testMethod = $arg[1]; diff --git a/gulliver/thirdparty/pear/SOAP/Parser.php b/gulliver/thirdparty/pear/SOAP/Parser.php index b5c00e5ec..1627d1fb5 100755 --- a/gulliver/thirdparty/pear/SOAP/Parser.php +++ b/gulliver/thirdparty/pear/SOAP/Parser.php @@ -383,7 +383,7 @@ class SOAP_Parser extends SOAP_Base $this->message[$pos]['arrayType'] = $vqn->name; } elseif ($kqn->name == 'offset') { - $this->message[$pos]['arrayOffset'] = split(',', substr($value, 1, strlen($value) - 2)); + $this->message[$pos]['arrayOffset'] = explode(',', substr($value, 1, strlen($value) - 2)); } elseif ($kqn->name == 'id') { // Save id to reference array. diff --git a/gulliver/thirdparty/pear/SOAP/Transport/HTTP.php b/gulliver/thirdparty/pear/SOAP/Transport/HTTP.php index 39f4bed98..ec03f2418 100755 --- a/gulliver/thirdparty/pear/SOAP/Transport/HTTP.php +++ b/gulliver/thirdparty/pear/SOAP/Transport/HTTP.php @@ -269,13 +269,13 @@ class SOAP_Transport_HTTP extends SOAP_Transport { /* Largely borrowed from HTTP_Request. */ $this->result_headers = array(); - $headers = split("\r?\n", $headers); + $headers = explode("\r?\n", $headers); foreach ($headers as $value) { if (strpos($value,':') === false) { $this->result_headers[0] = $value; continue; } - list($name, $value) = split(':', $value); + list($name, $value) = explode(':', $value); $headername = strtolower($name); $headervalue = trim($value); $this->result_headers[$headername] = $headervalue; diff --git a/gulliver/thirdparty/pear/Spreadsheet/Excel/Writer/Parser.php b/gulliver/thirdparty/pear/Spreadsheet/Excel/Writer/Parser.php index e617de750..651bec9f9 100755 --- a/gulliver/thirdparty/pear/Spreadsheet/Excel/Writer/Parser.php +++ b/gulliver/thirdparty/pear/Spreadsheet/Excel/Writer/Parser.php @@ -680,10 +680,10 @@ class Spreadsheet_Excel_Writer_Parser extends PEAR // Split the range into 2 cell refs if (preg_match("/^([A-Ia-i]?[A-Za-z])(\d+)\:([A-Ia-i]?[A-Za-z])(\d+)$/",$range)) { - list($cell1, $cell2) = split(':', $range); + list($cell1, $cell2) = explode(':', $range); } elseif (preg_match("/^([A-Ia-i]?[A-Za-z])(\d+)\.\.([A-Ia-i]?[A-Za-z])(\d+)$/",$range)) { - list($cell1, $cell2) = split('\.\.', $range); + list($cell1, $cell2) = explode('\.\.', $range); } else { @@ -733,7 +733,7 @@ class Spreadsheet_Excel_Writer_Parser extends PEAR $class = 2; // as far as I know, this is magick. // Split the ref at the ! symbol - list($ext_ref, $range) = split('!', $token); + list($ext_ref, $range) = explode('!', $token); // Convert the external reference part (different for BIFF8) if ($this->_BIFF_version == 0x0500) { @@ -750,7 +750,7 @@ class Spreadsheet_Excel_Writer_Parser extends PEAR } // Split the range into 2 cell refs - list($cell1, $cell2) = split(':', $range); + list($cell1, $cell2) = explode(':', $range); // Convert the cell references if (preg_match("/^(\$)?[A-Ia-i]?[A-Za-z](\$)?(\d+)$/", $cell1)) @@ -839,7 +839,7 @@ class Spreadsheet_Excel_Writer_Parser extends PEAR $class = 2; // as far as I know, this is magick. // Split the ref at the ! symbol - list($ext_ref, $cell) = split('!', $cell); + list($ext_ref, $cell) = explode('!', $cell); // Convert the external reference part (different for BIFF8) if ($this->_BIFF_version == 0x0500) { @@ -891,7 +891,7 @@ class Spreadsheet_Excel_Writer_Parser extends PEAR // Check if there is a sheet range eg., Sheet1:Sheet2. if (preg_match("/:/", $ext_ref)) { - list($sheet_name1, $sheet_name2) = split(':', $ext_ref); + list($sheet_name1, $sheet_name2) = explode(':', $ext_ref); $sheet1 = $this->_getSheetIndex($sheet_name1); if ($sheet1 == -1) { @@ -940,7 +940,7 @@ class Spreadsheet_Excel_Writer_Parser extends PEAR // Check if there is a sheet range eg., Sheet1:Sheet2. if (preg_match("/:/", $ext_ref)) { - list($sheet_name1, $sheet_name2) = split(':', $ext_ref); + list($sheet_name1, $sheet_name2) = explode(':', $ext_ref); $sheet1 = $this->_getSheetIndex($sheet_name1); if ($sheet1 == -1) { diff --git a/gulliver/thirdparty/pear/Spreadsheet/Excel/Writer/Worksheet.php b/gulliver/thirdparty/pear/Spreadsheet/Excel/Writer/Worksheet.php index fce437db2..64cb22c78 100755 --- a/gulliver/thirdparty/pear/Spreadsheet/Excel/Writer/Worksheet.php +++ b/gulliver/thirdparty/pear/Spreadsheet/Excel/Writer/Worksheet.php @@ -1318,7 +1318,7 @@ class Spreadsheet_Excel_Writer_Worksheet extends Spreadsheet_Excel_Writer_BIFFwr $row = $match[2]; // Convert base26 column string to number - $chars = split('', $col); + $chars = explode('', $col); $expn = 0; $col = 0; @@ -2032,13 +2032,13 @@ class Spreadsheet_Excel_Writer_Worksheet extends Spreadsheet_Excel_Writer_BIFFwr // Determine if the link contains a sheet reference and change some of the // parameters accordingly. // Split the dir name and sheet name (if it exists) - list($dir_long , $sheet) = split('/\#/', $url); + list($dir_long , $sheet) = explode('/\#/', $url); $link_type = 0x01 | $absolute; if (isset($sheet)) { $link_type |= 0x08; $sheet_len = pack("V", strlen($sheet) + 0x01); - $sheet = join("\0", split('', $sheet)); + $sheet = join("\0", explode('', $sheet)); $sheet .= "\0\0\0"; } else { @@ -2057,7 +2057,7 @@ class Spreadsheet_Excel_Writer_Worksheet extends Spreadsheet_Excel_Writer_BIFFwr $dir_short = preg_replace('/\.\.\\/', '', $dir_long) . "\0"; // Store the long dir name as a wchar string (non-null terminated) - $dir_long = join("\0", split('', $dir_long)); + $dir_long = join("\0", explode('', $dir_long)); $dir_long = $dir_long . "\0"; // Pack the lengths of the dir strings diff --git a/gulliver/thirdparty/pear/class.soap_transport_http.php b/gulliver/thirdparty/pear/class.soap_transport_http.php index bbad576df..cf8094191 100755 --- a/gulliver/thirdparty/pear/class.soap_transport_http.php +++ b/gulliver/thirdparty/pear/class.soap_transport_http.php @@ -932,7 +932,7 @@ class soap_transport_http extends nusoap_base { */ function parseCookie($cookie_str) { $cookie_str = str_replace('; ', ';', $cookie_str) . ';'; - $data = split(';', $cookie_str); + $data = explode(';', $cookie_str); $value_str = $data[0]; $cookie_param = 'domain='; @@ -1035,4 +1035,4 @@ class soap_transport_http extends nusoap_base { } -?> \ No newline at end of file +?> diff --git a/gulliver/thirdparty/pear/nusoap.colosa.php b/gulliver/thirdparty/pear/nusoap.colosa.php index 2ff8c7906..ab3b3cc32 100755 --- a/gulliver/thirdparty/pear/nusoap.colosa.php +++ b/gulliver/thirdparty/pear/nusoap.colosa.php @@ -2940,7 +2940,7 @@ class soap_transport_http extends nusoap_base_colosa { */ function parseCookie($cookie_str) { $cookie_str = str_replace('; ', ';', $cookie_str) . ';'; - $data = split(';', $cookie_str); + $data = explode(';', $cookie_str); $value_str = $data[0]; $cookie_param = 'domain='; diff --git a/gulliver/thirdparty/pear/nusoap.php b/gulliver/thirdparty/pear/nusoap.php index 2f80ca174..32c1f2c30 100755 --- a/gulliver/thirdparty/pear/nusoap.php +++ b/gulliver/thirdparty/pear/nusoap.php @@ -2943,7 +2943,7 @@ class soap_transport_http extends nusoap_base { */ function parseCookie($cookie_str) { $cookie_str = str_replace('; ', ';', $cookie_str) . ';'; - $data = split(';', $cookie_str); + $data = explode(';', $cookie_str); $value_str = $data[0]; $cookie_param = 'domain='; @@ -7299,4 +7299,4 @@ class soapclient extends nusoap_base { return true; } } -?> \ No newline at end of file +?> diff --git a/gulliver/thirdparty/phing/tasks/ext/coverage/CoverageReportTask.php b/gulliver/thirdparty/phing/tasks/ext/coverage/CoverageReportTask.php index 7e42daa1a..455914ce5 100644 --- a/gulliver/thirdparty/phing/tasks/ext/coverage/CoverageReportTask.php +++ b/gulliver/thirdparty/phing/tasks/ext/coverage/CoverageReportTask.php @@ -165,7 +165,7 @@ class CoverageReportTask extends TaskPhing $html = $geshi->parse_code(); - $lines = split("
  • |
  • ", $html); + $lines = explode("
  • |
  • ", $html); // skip first and last line array_pop($lines); @@ -404,4 +404,4 @@ class CoverageReportTask extends TaskPhing } } } -?> \ No newline at end of file +?> diff --git a/gulliver/thirdparty/smarty/libs/plugins/function.fetch.php b/gulliver/thirdparty/smarty/libs/plugins/function.fetch.php index 81b1bfc6b..8b36ce3c2 100755 --- a/gulliver/thirdparty/smarty/libs/plugins/function.fetch.php +++ b/gulliver/thirdparty/smarty/libs/plugins/function.fetch.php @@ -181,12 +181,12 @@ function smarty_function_fetch($params, &$smarty) $content .= fgets($fp,4096); } fclose($fp); - $csplit = split("\r\n\r\n",$content,2); + $csplit = explode("\r\n\r\n",$content,2); $content = $csplit[1]; if(!empty($params['assign_headers'])) { - $smarty->assign($params['assign_headers'],split("\r\n",$csplit[0])); + $smarty->assign($params['assign_headers'],explode("\r\n",$csplit[0])); } } } else { diff --git a/workflow/engine/classes/model/Language.php b/workflow/engine/classes/model/Language.php index ab33d8853..49708f72a 100755 --- a/workflow/engine/classes/model/Language.php +++ b/workflow/engine/classes/model/Language.php @@ -67,7 +67,7 @@ class Language extends BaseLanguage public function findById ($LAN_ID) { if (strpos($LAN_ID, '_') !== false) { - $aux = split('_', $LAN_ID); + $aux = explode('_', $LAN_ID); $LAN_ID = $aux[0]; } $oCriteria = new Criteria( 'workflow' ); diff --git a/workflow/engine/methods/setup/appCacheViewAjax.php b/workflow/engine/methods/setup/appCacheViewAjax.php index 4af621a0d..078f06f8a 100755 --- a/workflow/engine/methods/setup/appCacheViewAjax.php +++ b/workflow/engine/methods/setup/appCacheViewAjax.php @@ -296,7 +296,7 @@ switch ($request) { $passwd = $_POST['password']; $server = $_POST['host']; $code = $_POST['codeCaptcha']; - $aServer = split(":", $server); + $aServer = explode(':', $server); $serverName = $aServer[0]; $port = (count($aServer) > 1) ? $aServer[1] : "none";