php-sugar 0.60

0 views
Skip to first unread message

Sean Middleditch

unread,
May 26, 2007, 3:08:59 AM5/26/07
to PHP-Sugar Discussion
Released 0.60.

Prime reason for this release was my decision to drop support for the
raw PHP cache. There was no noticeable performance gain, and the
issues of trying to secure that feature against PHP injection was just
too much of a pain in the arse. The cache is back to using the
regular bytecode like the original implementation. I didn't like the
idea, and my fears about it proved right.

There are also a handful of other improvements and minor changes.
Function calls can now be embedded in expressions using regular
mathematical notation, i.e. function(arg1, arg2) and also with named
parameters, ie function(foo="hi", bar="bye").

The bytecode system now uses json_encode and json_decode if they're
available. PHP 5.2 has them and they are available from PECL for
older PHP releases. The resulting files are much easier to read. The
serialize()/unserialize() functionality is still there and is
automatically used if the json functions are not available.

Reply all
Reply to author
Forward
0 new messages