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";
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php