[pmwiki-users] PHP 5.5 compatibility

Patrick R. Michaud pmichaud at pobox.com
Fri Feb 21 10:40:28 CST 2014

On Fri, Feb 21, 2014 at 05:31:31PM +0100, Petko Yotov wrote:
> Hans Bracker writes:
> >I am updating some recipes and cookbook pages:
> >do you want the category link [[!PHP55]] on all cookbook pages where
> >the script is PHP5.5 compatible? 

> There are two different notions - compatibility and requirement.
> A recipe "compatibile" with PHP 5.5 will work on PHP 5.5 but
> probably also on earlier versions - we simply inform the readers
> that this recipe works with this very particular PHP version which
> introduced a major change. We add the category [[!PHP55]] to those
> pages.

I wonder if it's better to have a "Compatible-with:" (or similarly
named) PageTextVariable here instead of categories.  

Somehow having "PHP55" as a category link feels wrong to me... if
PHP makes a 5.7 with lots of changes, do we start creating new 
categories for every version of PHP?


More information about the pmwiki-users mailing list