Date: 04/21/98
- Next message: Rasmus Lerdorf: "Re: [PHP-DEV] Bug #297: printing quotation mark read by fgets-function"
- Previous message: Rasmus Lerdorf: "Re: [PHP-DEV] Bug #296: cannot found httpd.h but it is there"
- Next in thread: Rasmus Lerdorf: "Re: [PHP-DEV] Bug #297: printing quotation mark read by fgets-function"
- Reply: Rasmus Lerdorf: "Re: [PHP-DEV] Bug #297: printing quotation mark read by fgets-function"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: gihwaja <email protected>
Operating system: SunOS 5.5.1
PHP version: 3.0 Release Candidate 4
PHP Bug Type: Other
Bug description:
Let's say that "quotation" file has only five quotation mark.
(that is, """"")
and execute following php-script
<?php
$fp = fopen("quotation", "r");
echo fgets($fp, 100);
?>
The result is
\"\"\"\"\"
of length 10, not 5.
- Next message: Rasmus Lerdorf: "Re: [PHP-DEV] Bug #297: printing quotation mark read by fgets-function"
- Previous message: Rasmus Lerdorf: "Re: [PHP-DEV] Bug #296: cannot found httpd.h but it is there"
- Next in thread: Rasmus Lerdorf: "Re: [PHP-DEV] Bug #297: printing quotation mark read by fgets-function"
- Reply: Rasmus Lerdorf: "Re: [PHP-DEV] Bug #297: printing quotation mark read by fgets-function"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

