[pmwiki-users] Recipes you use/need to be updated for PHP 5.5

Petko Yotov 5ko at 5ko.fr
Sat Jan 4 16:58:43 CST 2014


Petko Yotov writes:
> You can test if (function_exists('PCCF')) {...} else {...}

Sorry, that is more like this:

  if (! function_exists('PCCF')) {
    function PCCF(...) {...}
  }

Or, you can write your own function that creates callbacks and not rely on  
the PmWiki version.

> lambda functions (closires)  

Typo: that is "closures", not "closires". :-/

Petko




More information about the pmwiki-users mailing list