A colleague brought up an interesting question today, he asked which was better performance-wise using closures or using capturing with output control (ob_start() / ob_get_clean()). I expected closures would be better since there's a bit more going on behind the scenes when using output buffering, but I wasn't sure so I decided to make a little test.more
Subscribe to Feed
Recent posts
- Checking if an option exists in an MySQL enum column
- A VirtualBox and Lighttpd caching quirk
- PHP: Capture vs Closures
- Securing the web with SSL Client Certificates
- Getting Flattr to play nice with your WordPress 3 setup
- Converting a simple XML snippet to an array
- Splitting up your Habari plugin in smaller logical modules
- lighttpd redirect quirk
- Civilization 5 addiction
- Bit flags
- Rebirth
- In search of the Best Related Posts Plugin for WordPress
- Signs of a forthcoming release of Engarde Linux?
- Installing a Web Application on Engarde Secure Linux
Sorry
I know this theme sucks.I will change it, I promise!