cvs: php-src /tests/strings 002.phpt

From: Date: Tue, 18 May 2004 21:27:08 +0000
Subject: cvs: php-src /tests/strings 002.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-27378@lists.php.net to get a copy of this message
helly Tue May 18 17:27:08 2004 EDT Modified files: /php-src/tests/strings 002.phpt Log: Fix test http://cvs.php.net/diff.php/php-src/tests/strings/002.phpt?r1=1.8&r2=1.9&ty=u Index: php-src/tests/strings/002.phpt diff -u php-src/tests/strings/002.phpt:1.8 php-src/tests/strings/002.phpt:1.9 --- php-src/tests/strings/002.phpt:1.8 Mon May 17 16:58:57 2004 +++ php-src/tests/strings/002.phpt Tue May 18 17:27:08 2004 @@ -1,13 +1,12 @@ --TEST-- Formatted print functions ---POST-- ---GET-- --FILE-- <?php error_reporting(0); $fp = fopen("php://stdout", "w") or die("Arrggsgg!!"); -$x = fprintf($fp, "fprintf test 1:%.5s\n", "abcdefghij"); +$x = fprintf($fp, "fprintf test 1:%.5s", "abcdefghij"); +echo "\n"; var_dump($x); printf("printf test 1:%s\n", "simple string");

« previous php.cvs (#27378) next »