> So, I've been reading articles for a decade now that say that readfile() is
> great and wonderful except for memory usage. Specifically, that it reads a
> file into memory entirely, and then prints it to stdout from there. So if
> you're outputing a big file you will hit your memory limit and k
Hi,
Readfile() is internally implemented in the same way like fpassthru()
(actually the same backend function is called, readfile only opening a
stream before delegating to passthru). Both methods delegate from PHP
user-space to an internal streams API methods php_stream_passthru(). This
one has 2
So, I've been reading articles for a decade now that say that readfile()
is great and wonderful except for memory usage. Specifically, that it
reads a file into memory entirely, and then prints it to stdout from
there. So if you're outputing a big file you will hit your memory limit
and kill
On Sun, Apr 29, 2012 at 2:22 PM, Jille Timmermans wrote:
> On 28-04-12 06:27, Kalle Sommer Nielsen wrote:
>
>> 2012/4/27 Jille Timmermans:
>>
>> I suggest we add a function boolval(). It simply converts the given
>>> argument
>>> to a boolean, like strval(), intval() and floatval(). I already ha
On 28-04-12 06:27, Kalle Sommer Nielsen wrote:
2012/4/27 Jille Timmermans:
I suggest we add a function boolval(). It simply converts the given argument
to a boolean, like strval(), intval() and floatval(). I already have an
implementation ready[1].
Why?
* It is missing in the current list of *v
On Sun, Apr 29, 2012 at 1:44 PM, Sebastian Bergmann wrote:
> Am 29.04.2012 13:24, schrieb Gergo Erdosi:
> > Yes, see Ramus' reply in an older thread:
> > http://marc.info/?l=php-internals&m=131423346824759
>
> I know that autoconf 2.13 is required for PHP 5.3 and that
> autoconf 2.59 is required
Am 29.04.2012 13:44, schrieb Sebastian Bergmann:
> I know that autoconf 2.13 is required for PHP 5.3 and that
> autoconf 2.59 is required for PHP 5.4. But on Fedora 16 I only have the
> choice between 2.13 and 2.68 and it looks to me like we are running into
> the same problem again of not being co
Am 29.04.2012 13:24, schrieb Gergo Erdosi:
> Yes, see Ramus' reply in an older thread:
> http://marc.info/?l=php-internals&m=131423346824759
I know that autoconf 2.13 is required for PHP 5.3 and that
autoconf 2.59 is required for PHP 5.4. But on Fedora 16 I only have the
choice between 2.13 and
On Sun, Apr 29, 2012 at 1:18 PM, Sebastian Bergmann wrote:
> Is this intentional?
>
> buildconf: You need autoconf 2.59 or lower to build this version of
> PHP. You are currently trying to use 2.68 Most distros have separate
> autoconf 2.13 or 2.59 packages. On Debian/Ubuntu both autoconf2.13
Is this intentional?
buildconf: You need autoconf 2.59 or lower to build this version of
PHP. You are currently trying to use 2.68 Most distros have separate
autoconf 2.13 or 2.59 packages. On Debian/Ubuntu both autoconf2.13 and
autoconf2.59 packages exist. Install autoconf2.13 and set the
P
On Sun, Apr 29, 2012 at 5:42 PM, Nikita Popov wrote:
> On Sun, Apr 29, 2012 at 6:00 AM, Laruence wrote:
>> On Sun, Apr 29, 2012 at 5:05 AM, Nikita Popov
>> wrote:
>>> On Thu, Apr 19, 2012 at 1:57 AM, Kris Craig wrote:
"There'd be a minimum of 2 weeks between when an RFC that touches the
>
On Sun, Apr 29, 2012 at 6:00 AM, Laruence wrote:
> On Sun, Apr 29, 2012 at 5:05 AM, Nikita Popov
> wrote:
>> On Thu, Apr 19, 2012 at 1:57 AM, Kris Craig wrote:
>>> "There'd be a minimum of 2 weeks between when an RFC that touches the
>>> language is brought up on this list and when it's voted o
12 matches
Mail list logo