cvs: php4 /tests/strings 002.phpt

From: Date: Fri, 22 Mar 2002 09:09:36 +0000
Subject: cvs: php4 /tests/strings 002.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-10575@lists.php.net to get a copy of this message
derick Fri Mar 22 04:09:36 2002 EDT Modified files: /php4/tests/strings 002.phpt Log: - Add test for sprintf()'s zero'th argument Index: php4/tests/strings/002.phpt diff -u php4/tests/strings/002.phpt:1.3 php4/tests/strings/002.phpt:1.4 --- php4/tests/strings/002.phpt:1.3 Mon Apr 9 11:44:24 2001 +++ php4/tests/strings/002.phpt Fri Mar 22 04:09:36 2002 @@ -38,6 +38,7 @@ printf("printf test 27:%3\$d %d %d\n", 1, 2, 3); printf("printf test 28:%2\$02d %1\$2d\n", 1, 2); printf("printf test 29:%2\$-2d %1\$2d\n", 1, 2); +print("printf test 30:"); printf("%0\$s", 1); print("x\n"); ?> --EXPECT-- @@ -72,3 +73,4 @@ printf test 27:3 1 2 printf test 28:02 1 printf test 29:2 1 +printf test 30:x

« previous php.cvs (#10575) next »