mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +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--
|
--TEST--
|
||||||
Formatted print functions
|
Formatted print functions
|
||||||
--POST--
|
|
||||||
--GET--
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
error_reporting(0);
|
error_reporting(0);
|
||||||
|
|
||||||
$fp = fopen("php://stdout", "w") or die("Arrggsgg!!");
|
$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);
|
var_dump($x);
|
||||||
|
|
||||||
printf("printf test 1:%s\n", "simple string");
|
printf("printf test 1:%s\n", "simple string");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue