News Feed
Sections




News Archive
feed this:

Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Elizabeth Smith's Blog:
New Cairo Symbols in 1.8 and 1.6
October 14, 2008 @ 09:32:10

Elizabeth Smith has worked up a post with a full listing of the new symbols in the Cairo extension (a 2D graphics library for PHP).

Originally we were only going to support the latest (1.6), but then the new 1.8 version was released and I started adding support to that as well. Then we noticed that dreadfully slow/out of date RHEL and derivatives still have 1.4 versions of Cairo floating around (yuck). So the extension will support 1.4+ However the cairo docs are incorrect in a couple of places regarding new symbols. After some header diffing here is a complete list for 1.8 and 1.6 (to make life easier for anyone else writing language wrappers).

Her list includes forty new symbols for the 1.8 release of the extension and twenty-two for version 1.6.

0 comments voice your opinion now!
cairo graphic library 2d extension pecl


ProDevTips:
Sorting 2D-arrays in PHP - anectodes and reflections
January 07, 2008 @ 08:41:00

On the ProDevTips website today, there's a new article looking at the sorting of arrays, specifically of the two- and three-dimensional sort.

One of the many problems with PHP that detractors are eager to point out is the fact that the language has thousands of global functions. Without the awesome CHM version of the PHP manual - finding your way in this jungle would be a mess. Simply finding a function like array_multisort is not trivial. And even if you find it, understanding it completely is not trivial either!

Not quite finding what he needed in the array_multisort function built into PHP, the author opts to create his own custom sorting function that make sorting 2D arrays simpler.

0 comments voice your opinion now!
sort 2d 3d array dimensional arraymultisort usort tutorial sort 2d 3d array dimensional arraymultisort usort tutorial



Community Events





Don't see your event here?
Let us know!


laravel podcast tool introduction series framework language release symfony library security voicesoftheelephpant interview composer list opinion community version conference artisanfiles

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework