[pmwiki-users] version numbering format

Peter Bowers pbowers at pobox.com
Wed Aug 13 03:50:41 CDT 2008

I've got some code that works in one way with beta 67 and after and in
a different way prior to beta 67 (has to do with sessions and

My question is what $Version will look like when we move away from beta.

Will this code work?

  if ((preg_match("/pmwiki-2\.2\.0-beta(\d+)/", $Version, $m) &&
      $m[1] >= 67) || $Version > "pmwiki-2.2.0-")
      ... (code for beta 67 and after) ...
      ... (code for pre-beta-67) ...


More information about the pmwiki-users mailing list