mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Fix test
This commit is contained in:
parent
c8e72410be
commit
007a076cd0
1 changed files with 2 additions and 3 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue