mirror of
https://github.com/php/php-src.git
synced 2025-08-18 06:58:55 +02:00
Fixed warning mesgs
This commit is contained in:
parent
63a1b34924
commit
91a1e7b90b
12 changed files with 12 additions and 12 deletions
|
@ -10,6 +10,6 @@ fclose($s);
|
||||||
echo fread($s2, strlen("<?php"));
|
echo fread($s2, strlen("<?php"));
|
||||||
echo "\nDone.\n";
|
echo "\nDone.\n";
|
||||||
--EXPECTF--
|
--EXPECTF--
|
||||||
Warning: fread(): %d is not a valid stream resource in %s on line %d
|
Warning: fread(): supplied resource is not a valid stream resource in %s on line %d
|
||||||
|
|
||||||
Done.
|
Done.
|
||||||
|
|
|
@ -97,5 +97,5 @@ bool(false)
|
||||||
bool(false)
|
bool(false)
|
||||||
*** closing file, testing eof ***
|
*** closing file, testing eof ***
|
||||||
|
|
||||||
Warning: feof(): %d is not a valid stream resource in %s on line %d
|
Warning: feof(): supplied resource is not a valid stream resource in %s on line %d
|
||||||
Done
|
Done
|
||||||
|
|
|
@ -41,7 +41,7 @@ echo "Done";
|
||||||
*** Testing fgetc() : usage variations ***
|
*** Testing fgetc() : usage variations ***
|
||||||
-- Testing fgetc() with closed handle --
|
-- Testing fgetc() with closed handle --
|
||||||
|
|
||||||
Warning: fgetc(): %d is not a valid stream resource in %s on line %d
|
Warning: fgetc(): supplied resource is not a valid stream resource in %s on line %d
|
||||||
bool(false)
|
bool(false)
|
||||||
-- Testing fgetc() with unset handle --
|
-- Testing fgetc() with unset handle --
|
||||||
|
|
||||||
|
|
|
@ -43,7 +43,7 @@ NULL
|
||||||
Warning: flock() expects parameter 1 to be resource, string given in %s on line %d
|
Warning: flock() expects parameter 1 to be resource, string given in %s on line %d
|
||||||
NULL
|
NULL
|
||||||
|
|
||||||
Warning: flock(): %d is not a valid stream resource in %s on line %d
|
Warning: flock(): supplied resource is not a valid stream resource in %s on line %d
|
||||||
bool(false)
|
bool(false)
|
||||||
bool(true)
|
bool(true)
|
||||||
bool(true)
|
bool(true)
|
||||||
|
|
|
@ -94,7 +94,7 @@ NULL
|
||||||
Warning: flock() expects parameter 2 to be long, string given in %s on line %d
|
Warning: flock() expects parameter 2 to be long, string given in %s on line %d
|
||||||
NULL
|
NULL
|
||||||
|
|
||||||
Warning: flock(): %d is not a valid stream resource in %s on line %d
|
Warning: flock(): supplied resource is not a valid stream resource in %s on line %d
|
||||||
bool(false)
|
bool(false)
|
||||||
|
|
||||||
Warning: flock() expects parameter 1 to be resource, string given in %s on line %d
|
Warning: flock() expects parameter 1 to be resource, string given in %s on line %d
|
||||||
|
|
|
@ -103,7 +103,7 @@ bool(false)
|
||||||
|
|
||||||
Notice: Undefined variable: file_content_type in %s on line %d
|
Notice: Undefined variable: file_content_type in %s on line %d
|
||||||
|
|
||||||
Warning: fread(): %d is not a valid stream resource in %s on line %d
|
Warning: fread(): supplied resource is not a valid stream resource in %s on line %d
|
||||||
bool(false)
|
bool(false)
|
||||||
|
|
||||||
Warning: fread() expects parameter 1 to be resource, null given in %s on line %d
|
Warning: fread() expects parameter 1 to be resource, null given in %s on line %d
|
||||||
|
|
|
@ -70,7 +70,7 @@ NULL
|
||||||
Warning: fscanf() expects at least 2 parameters, 1 given in %s on line %d
|
Warning: fscanf() expects at least 2 parameters, 1 given in %s on line %d
|
||||||
NULL
|
NULL
|
||||||
|
|
||||||
Warning: fscanf(): %d is not a valid File-Handle resource in %s on line %d
|
Warning: fscanf(): supplied resource is not a valid File-Handle resource in %s on line %d
|
||||||
bool(false)
|
bool(false)
|
||||||
|
|
||||||
Warning: fscanf(): Different numbers of variable names and field specifiers in %s on line %d
|
Warning: fscanf(): Different numbers of variable names and field specifiers in %s on line %d
|
||||||
|
|
|
@ -91,7 +91,7 @@ bool(false)
|
||||||
Warning: fseek() expects parameter 1 to be resource, object given in %s on line %d
|
Warning: fseek() expects parameter 1 to be resource, object given in %s on line %d
|
||||||
bool(false)
|
bool(false)
|
||||||
-- Testing fseek() with closed/unset file handle --
|
-- Testing fseek() with closed/unset file handle --
|
||||||
Warning: fseek(): %d is not a valid stream resource in %s on line %d
|
Warning: fseek(): supplied resource is not a valid stream resource in %s on line %d
|
||||||
bool(false)
|
bool(false)
|
||||||
|
|
||||||
Warning: fseek() expects parameter 1 to be resource, null given in %s on line %d
|
Warning: fseek() expects parameter 1 to be resource, null given in %s on line %d
|
||||||
|
|
|
@ -87,7 +87,7 @@ bool(false)
|
||||||
Warning: ftell() expects parameter 1 to be resource, object given in %s on line %d
|
Warning: ftell() expects parameter 1 to be resource, object given in %s on line %d
|
||||||
bool(false)
|
bool(false)
|
||||||
-- Testing ftell with closed/unset file handle --
|
-- Testing ftell with closed/unset file handle --
|
||||||
Warning: ftell(): %d is not a valid stream resource in %s on line %d
|
Warning: ftell(): supplied resource is not a valid stream resource in %s on line %d
|
||||||
bool(false)
|
bool(false)
|
||||||
|
|
||||||
Warning: ftell() expects parameter 1 to be resource, null given in %s on line %d
|
Warning: ftell() expects parameter 1 to be resource, null given in %s on line %d
|
||||||
|
|
|
@ -87,7 +87,7 @@ bool(false)
|
||||||
Warning: rewind() expects parameter 1 to be resource, object given in %s on line %d
|
Warning: rewind() expects parameter 1 to be resource, object given in %s on line %d
|
||||||
bool(false)
|
bool(false)
|
||||||
-- Testing rewind() with closed/unset file handle --
|
-- Testing rewind() with closed/unset file handle --
|
||||||
Warning: rewind(): %d is not a valid stream resource in %s on line %d
|
Warning: rewind(): supplied resource is not a valid stream resource in %s on line %d
|
||||||
bool(false)
|
bool(false)
|
||||||
|
|
||||||
Warning: rewind() expects parameter 1 to be resource, null given in %s on line %d
|
Warning: rewind() expects parameter 1 to be resource, null given in %s on line %d
|
||||||
|
|
|
@ -114,7 +114,7 @@ Warning: ftruncate() expects parameter 1 to be resource, object given in %s on l
|
||||||
bool(false)
|
bool(false)
|
||||||
-- Testing ftruncate() with closed/unset file handle --
|
-- Testing ftruncate() with closed/unset file handle --
|
||||||
|
|
||||||
Warning: ftruncate(): %d is not a valid stream resource in %s on line %d
|
Warning: ftruncate(): supplied resource is not a valid stream resource in %s on line %d
|
||||||
bool(false)
|
bool(false)
|
||||||
int(36)
|
int(36)
|
||||||
|
|
||||||
|
|
|
@ -112,7 +112,7 @@ Warning: fwrite() expects parameter 1 to be resource, object given in %s on line
|
||||||
bool(false)
|
bool(false)
|
||||||
-- Testing fwrite() with closed/unset file handle --
|
-- Testing fwrite() with closed/unset file handle --
|
||||||
|
|
||||||
Warning: fwrite(): %d is not a valid stream resource in %s on line %d
|
Warning: fwrite(): supplied resource is not a valid stream resource in %s on line %d
|
||||||
bool(false)
|
bool(false)
|
||||||
|
|
||||||
Warning: fwrite() expects parameter 1 to be resource, null given in %s on line %d
|
Warning: fwrite() expects parameter 1 to be resource, null given in %s on line %d
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue