X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=sidebyside;f=htdocs%2FTESTS%2Fsimpletest%2Fweb_tester.php;h=d1bacb67c1428e0817353953cfa1a3978581625c;hb=575dd9be519a557c47e1288eaa15b1e1446dd058;hp=baecfa31410998b47fe02b27e0c9fd1366c825fe;hpb=3a186ecfcad2a21707d04a3d21e691a3eede18e3;p=platal.git diff --git a/htdocs/TESTS/simpletest/web_tester.php b/htdocs/TESTS/simpletest/web_tester.php index baecfa3..d1bacb6 100644 --- a/htdocs/TESTS/simpletest/web_tester.php +++ b/htdocs/TESTS/simpletest/web_tester.php @@ -182,7 +182,7 @@ * @access protected */ function _findHeader($compare) { - $lines = split("\r\n", $compare); + $lines = explode("\r\n", $compare); foreach ($lines as $line) { if ($this->_testHeaderLine($line)) { return $line; @@ -198,7 +198,7 @@ * @access private */ function _testHeaderLine($line) { - if (count($parsed = split(':', $line)) < 2) { + if (count($parsed = explode(':', $line)) < 2) { return false; } list($header, $value) = $parsed; @@ -1096,4 +1096,4 @@ sprintf($message, "Not expecting cookie [$name]")); } } -?> \ No newline at end of file +?>