Deleted Added
full compact
fstat_variation6.phpt (e815e613) fstat_variation6.phpt (04145dc2)
1--TEST--
1--TEST--
2Test function fstat() by substituting agument 1 with object values.
2Test function fstat() by substituting argument 1 with object values.
3--FILE--
4<?php
5
6
7
8
9function test_error_handler($err_no, $err_msg, $filename, $linenum, $vars) {
10 if (error_reporting() != 0) {

--- 23 unchanged lines hidden (view full) ---

34
35
36foreach ( $variation_array as $var ) {
37 var_dump(fstat( $var ) );
38}
39?>
40===DONE===
41--EXPECTF--
3--FILE--
4<?php
5
6
7
8
9function test_error_handler($err_no, $err_msg, $filename, $linenum, $vars) {
10 if (error_reporting() != 0) {

--- 23 unchanged lines hidden (view full) ---

34
35
36foreach ( $variation_array as $var ) {
37 var_dump(fstat( $var ) );
38}
39?>
40===DONE===
41--EXPECTF--
42Error: 2 - fstat(): supplied argument is not a valid stream resource, %s(%d)
42Error: 2 - fstat() expects parameter 1 to be resource, object given, %s(%d)
43bool(false)
43bool(false)
44Error: 2 - fstat(): supplied argument is not a valid stream resource, %s(%d)
44Error: 2 - fstat() expects parameter 1 to be resource, object given, %s(%d)
45bool(false)
46===DONE===
45bool(false)
46===DONE===