~ubuntu-branches/ubuntu/lucid/php5/lucid

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2010-03-16 09:09:50 UTC
  • mfrom: (1.1.18 upstream) (0.3.10 sid)
  • Revision ID: james.westby@ubuntu.com-20100316090950-e36m0pzranoixifd
Tags: 5.3.2-1ubuntu1
* Merge from debian unstable: 
  - 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, and mcrypt.
  - debian/rules:
    * Dropped building of mcrypt, imap, and interbase.
    * Install apport hook for php5.
  - Dropped debian/patches/libedit_is_editline.patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
this is the line with \n character. 
36
36
EOT;
37
37
 
 
38
if(substr(PHP_OS, 0, 3) == "WIN")  {
 
39
        $string_with_tags = str_replace("\r",'', $string_with_tags);
 
40
}
 
41
 
38
42
$filename = dirname(__FILE__)."/fgetss_variation3.tmp"; 
39
43
 
40
44
/* try reading the file opened in different modes of reading */
76
80
 
77
81
echo "Done\n";
78
82
?>
79
 
--EXPECTF--
 
83
--EXPECT--
80
84
*** Testing fgetss() : usage variations ***
81
85
 
82
86
-- Testing fgetss() with file opened using w+ mode --