projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
newsflash : split is not explode ....
[platal.git]
/
htdocs
/
TESTS
/
simpletest
/
web_tester.php
diff --git
a/htdocs/TESTS/simpletest/web_tester.php
b/htdocs/TESTS/simpletest/web_tester.php
index
baecfa3
..
d1bacb6
100644
(file)
--- a/
htdocs/TESTS/simpletest/web_tester.php
+++ b/
htdocs/TESTS/simpletest/web_tester.php
@@
-182,7
+182,7
@@
* @access protected
*/
function _findHeader($compare) {
* @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;
foreach ($lines as $line) {
if ($this->_testHeaderLine($line)) {
return $line;
@@
-198,7
+198,7
@@
* @access private
*/
function _testHeaderLine($line) {
* @access private
*/
function _testHeaderLine($line) {
- if (count($parsed =
split
(':', $line)) < 2) {
+ if (count($parsed =
explode
(':', $line)) < 2) {
return false;
}
list($header, $value) = $parsed;
return false;
}
list($header, $value) = $parsed;
@@
-1096,4
+1096,4
@@
sprintf($message, "Not expecting cookie [$name]"));
}
}
sprintf($message, "Not expecting cookie [$name]"));
}
}
-?>
\ No newline at end of file
+?>