Re: PHP 4.0 Bug #8206: Output of bigger file produce only a small piece

From: Date: Tue, 12 Dec 2000 12:41:31 +0000
Subject: Re: PHP 4.0 Bug #8206: Output of bigger file produce only a small piece
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-40961@lists.php.net to get a copy of this message
JT>> >This outputs instead of ~3Mb file only 433 bytes ... JT>> > JT>> >Is this my bug ???? JT>> JT>> I think it's bug in PHP. But only when used on Windows. JT>> JT>> ext/standard/file.c: JT>> -----8<---------------------------------------------- JT>> fp = php_fopen_wrapper((*arg1)->value.str.val,"r", JT>> use_include_path|ENFORCE_SAFE_MODE, &issock, &socketd, NULL); JT>> ---8<------------------------------------------------ JT>> JT>> Shouldn't that "r" be "rb" instead? There are a lot of "r"'s there. Anyone cares to explain why they aren't "rb"'s? -- Stanislav Malyshev, Zend Products Engineer stas@zend.com http://www.zend.com/ +972-3-6139665 ext.106

« previous php.dev (#40961) next »