Page 1 / 3 (22 Posts)

flush() bug in PHP 5.4

For some reason, nobody seems to acknowledge there is a bug with Codeflush() in PHP 5.4. In any previous version of PHP, you could just do: PHPflush(); and the PHP output buffer would be sent to Apache which would in turn send it to your web browser.…...

April 26, 2013 · 1 min · François Planque

Why echo is slow in PHP and how to make it really fast

You may have noticed that PHP scripts that echo a lot of content appear to be running with poor performance... Well, the operative word here is "appear". It is a common misconception that "echo is the slowest PHP command"! The problem is actually…...

December 3, 2009 · 4 min · François Planque

How to install the APC PHP Cache on Debian (Lenny or Squeeze)

The APC cache can significantly improve your PHP script performance, just by installing it, whoch basically takes 5 minutes! Here's what I did on my Debian Lenny box... First you may want to have a reference benchmark to see if it actually improves:…...

November 29, 2009 · 2 min · François Planque

About the PHP 5 migration chicken & egg issue

It's been 3 years since PHP 5 has been released. Yet PHP 4 still rules on the vast majority of web hosting platforms. This is annoying for PHP open source developers who cannot leverage the potential of PHP 5 as long as they need to support PHP 4. Thi…...

June 22, 2007 · 7 min · François Planque

Rasmus: "I don't like SOAP"

At PHP Forum, Rasmus wisefully explained that SOAP is intrinsically broken because it's too complex... just as anything that takes more than 20 minutes to understand. When it comes to webservices, I myself tend to prefer XML-RPC ("Does distributed co…...

December 21, 2005 · 1 min · François Planque

PHP: why use DOM/XML writer functions?

There's one thing I was wondering about: why would you actually want to use the DOM/XML writing functions of PHP to generate XML? I mean: we've been generating HTML without specific functions for over 10 years, so why would we need a library to build a…...

November 24, 2005 · 1 min · François Planque

Status of PHP 5

Here are a few bits of information I collected at PHP Forum (Nov 9 & 10, 2005): It is estimated than no more than 5% of the servers running PHP have switched to PHP 5 yet PHP 5.0 is a feature release, not a performance release. Therefore it is…...

November 21, 2005 · 2 min · François Planque

Rasmus on templating engines

At PHP Forum, Rasmus said this about the "templating engine question coming back every year": PHP *is* a templating engine by itself. Adding another templating engine on top of it just doesn't make sense. The only situation where it makes sense, is…...

November 16, 2005 · 3 min · François Planque

Caching built into PHP?

The PHP Core Team is meeting this week to decide wether or not there should be some caching built into the next major release of PHP. (I guess that would be PHP 6). I definitely hope the answer will be YES since this has been available on others…...

November 14, 2005 · 2 min · François Planque

PHP Forum Paris 2005

I've spent the last two days at PHP Forum Paris 2005. Very interesting stuff! I'll try to blog the most important facts (IMHO) over the week-end... But, now when you think about it, I've been there last year also... Very interesting stuff also... And I…...

November 11, 2005 · 1 min · François Planque