cvs: php4(PHP_4_3) /ext/standard/tests/reg 009.phpt
| From: | Shane Caraveo | Date: | Mon, 10 Mar 2003 01:10:52 +0000 |
| Subject: | cvs: php4(PHP_4_3) /ext/standard/tests/reg 009.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-19474@lists.php.net to get a copy of this message | ||
shane Sun Mar 9 20:10:52 2003 EDT
Modified files: (Branch: PHP_4_3)
/php4/ext/standard/tests/reg 009.phpt
Log:
splitting on whitespace will be different depending on platform, so be specific with the line
ending.
Index: php4/ext/standard/tests/reg/009.phpt
diff -u php4/ext/standard/tests/reg/009.phpt:1.1 php4/ext/standard/tests/reg/009.phpt:1.1.18.1
--- php4/ext/standard/tests/reg/009.phpt:1.1 Sun Aug 27 15:46:00 2000
+++ php4/ext/standard/tests/reg/009.phpt Sun Mar 9 20:10:52 2003
@@ -4,8 +4,7 @@
--GET--
--FILE--
<?php
- $a=split("[[:space:]]","this is a
-test");
+ $a=split("[[:space:]]","this is a\ntest");
echo count($a) . "\n";
for ($i = 0; $i < count($a); $i++) {
echo $a[$i] . "\n";