Skip to Content

Need a little good news today? We've got plenty!
AOL Tech

Filed under: Developer, Internet, Text, News, Productivity, Web services, Open Source

PHP 5.2 released

PHPI don't have to tell you what PHP is obviously, many of you could run circles around me. I don't have to tell you how widely used, versatile, or powerful it is either. All I need to tell you is that 5.2 is out. This release is mostly bug fixes, some new enhancements, just in case you were wondering or hadn't heard yet. PHP is my favorite web scripting language, and I jump all over it when new versions of my favorite software comes out. Via the PHP.net website, these are the new features of PHP 5.2.0:
  • New memory manager for the Zend Engine with improved performance and a more accurate memory usage tracking.
  • Input filtering extension was added and enabled by default.
  • JSON extension was added and enabled by default.
  • ZIP extension for creating and editing zip files was introduced.
  • Hooks for tracking file upload progress were introduced.
  • Introduced E_RECOVERABLE_ERROR error mode.
  • Introduced DateTime and DateTimeZone objects with methods to manipulate date/time information.
  • Upgraded bundled SQLite, PCRE libraries.
  • Upgraded OpenSSL, MySQL and PostgreSQL client libraries for Windows installations.
  • Many performance improvements.
  • Over 200 bug fixes.
And this is the list of security features:
  • Made PostgreSQL escaping functions in PostgreSQL and PDO extension keep track of character set encoding whenever possible.
  • Added allow_url_include, set to Off by default to disallow use of URLs for include and require.
  • Disable realpath cache when open_basedir and safe_mode are being used.
  • Improved safe_mode enforcement for error_log() function.
  • Fixed a possible buffer overflow in the underlying code responsible for htmlspecialchars() and htmlentities() functions.
  • Added missing safe_mode and open_basedir checks for the cURL extension.
  • Fixed overflow is str_repeat() & wordwrap() functions on 64bit machines.
  • Fixed handling of long paths inside the tempnam() function.
  • Fixed safe_mode/open_basedir checks for session.save_path, allowing them to account for extra parameters.
  • Fixed ini setting overload in the ini_restore() function.
So, apparently the PHP guys have been busy bees, and they are doing it all for the good of the common developer like you and me. It brings a tear to my eye...okay not really.

Relevant Posts

Featured Time Waster

Build the highest tower with 99 Bricks - Time Waster

Wrapping your mind around a simple game like 99 Bricks is harder than you might imagine. The object of the game is to build the highest possible tower using only 99 pieces. Sounds easy enough, but you're playing with Tetris pieces and distinctly non-Tetris physics. If you screw up, you don't just leave gaps that you could have used to score points, you cause your whole tower to wobble and collapse.

Pieces also don't lock to a grid in 99 Bricks, the way they do in Tetris. You can wind up with pieces slanted diagonally, and there's an edge of the board that your toppled bricks can fall off of. 99 Bricks is kind of like Jenga, in that it's almost as satisfying to watch your tower crumble as it is to play seriously. Once you get the hang of the way the pieces behave, it's an addictive little game.

View more Time Wasters

Featured Galleries

Defective by Design, London: Protest Pictures
Cooking Mama: Mama Kills Animals
Android First-look: Amazon.com MP3 Store
Android First-look: Twitroid
Google Reader Android
Android Hands-On
Twine 1.0
Photoshop Express Beta
SXSWi 2008 Schwag Unboxing
SXSWi 2008 Day 1
Mozilla Birthday Cake
Palm stuff
Adobe Lightroom 1.1

 


Follow us on Twitter!

Flickr Pool

www.flickr.com

BloggingStocks Tech Coverage

More Tech Coverage

Joystiq

TUAW

BloggingStocks

Autoblog

Xbox 360 Fanboy

Engadget

WOW Insider

Switched.com

FanHouse