~clint-fewbar/ubuntu/precise/php5/php5-5.4-merge

« back to all changes in this revision

Viewing changes to ext/standard/tests/file/readfile_variation10-win32.phpt

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2011-02-22 09:46:37 UTC
  • mfrom: (1.1.20) (0.3.18 sid)
  • Revision ID: package-import@ubuntu.com-20110222094637-nlu2tvb7oqgaarl0
Tags: 5.3.5-1ubuntu1
* Merge from debian/unstable. Remaining changes:
 - debian/control:
    * Dropped firebird2.1-dev, libc-client-dev, libmcrypt-dev as it is in universe.
    * Dropped libmysqlclient15-dev, build against mysql 5.1.
    * Dropped libcurl-dev not in the archive.
    * Suggest php5-suhosin rather than recommends.
    * Dropped php5-imap, php5-interbase, php5-mcrypt since we have versions 
      already in universe.
    * Dropped libonig-dev and libqgdbm since its in universe. (will be re-added in lucid+1)
    * Dropped locales-all.
  - modulelist: Drop imap, interbase, sybase, and mcrypt.
  - debian/rules:
    * Dropped building of mcrypt, imap, and interbase.
    * Install apport hook for php5.
    * stop mysql instance on clean just in case we failed in tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
 
38
38
foreach($names_arr as $key => $value) {
39
39
      echo "\n-- Filename: $key --\n";
40
 
      readfile($value);
 
40
      var_dump(readfile($value));
41
41
};
42
42
 
43
43
?>
48
48
-- Filename: -1 --
49
49
 
50
50
Warning: readfile(-1): failed to open stream: No such file or directory in %s on line %d
 
51
bool(false)
51
52
 
52
53
-- Filename: TRUE --
53
54
 
54
55
Warning: readfile(1): failed to open stream: No such file or directory in %s on line %d
 
56
bool(false)
55
57
 
56
58
-- Filename: FALSE --
57
59
 
58
60
Warning: readfile(): Filename cannot be empty in %s on line %d
 
61
bool(false)
59
62
 
60
63
-- Filename: NULL --
61
64
 
62
65
Warning: readfile(): Filename cannot be empty in %s on line %d
 
66
bool(false)
63
67
 
64
68
-- Filename: "" --
65
69
 
66
70
Warning: readfile(): Filename cannot be empty in %s on line %d
 
71
bool(false)
67
72
 
68
73
-- Filename: " " --
69
74
 
70
75
Warning: readfile( ): failed to open stream: Permission denied in %s on line %d
 
76
bool(false)
71
77
 
72
78
-- Filename: \0 --
73
 
 
74
 
Warning: readfile(): Filename cannot be empty in %s on line %d
 
79
bool(false)
75
80
 
76
81
-- Filename: array() --
77
82
 
78
83
Warning: readfile() expects parameter 1 to be string, array given in %s on line %d
 
84
bool(false)
79
85
 
80
86
-- Filename: /no/such/file/dir --
81
87
 
82
88
Warning: readfile(/no/such/file/dir): failed to open stream: No such file or directory in %s on line %d
 
89
bool(false)
83
90
 
84
91
-- Filename: php/php --
85
92
 
86
93
Warning: readfile(php/php): failed to open stream: No such file or directory in %s on line %d
 
94
bool(false)
87
95
===Done===
 
 
b'\\ No newline at end of file'