summaryrefslogtreecommitdiff
path: root/tests/strings
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2004-05-18 21:27:08 +0000
committerMarcus Boerger <helly@php.net>2004-05-18 21:27:08 +0000
commit007a076cd034d32e02191a6d3b3e3112735b30b8 (patch)
treed8c561f211d038c897a46cc1cb1d18efed8dddad /tests/strings
parentc8e72410be64c1bc0b8231330d901d2dcd49d63b (diff)
downloadphp-git-007a076cd034d32e02191a6d3b3e3112735b30b8.tar.gz
Fix test
Diffstat (limited to 'tests/strings')
-rw-r--r--tests/strings/002.phpt5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/strings/002.phpt b/tests/strings/002.phpt
index c3fcf6db5e..7b95a25645 100644
--- a/tests/strings/002.phpt
+++ b/tests/strings/002.phpt
@@ -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");