The PHP5 function replacements are included regardless
of whether the user is usign a version of PHP that
already has the PHP5 functions. :)
For now, I just wrapped the scandir declaration in a
if( version_compare(PHP_VERSION, '5.0.0', '<') ) {
}
but it'd probably be best to use a "php5_compat"
include file that's only included if needed. Or to
wrap those methods inside of an "if defined"-type block.
Logged In: YES
user_id=601038
There are a bunch of other PHP5 errors, including the
runtime references - fixed by converting method(&$var) to
$varref=&$var;method($varref) - and some screwy nested
function badness. After fixing those and various other
problems, I just get a green box that says "New Search |
Contribute | Update", and the links don't do anything.
So, maybe this bug should be "all versions of MindMeld crap
out under PHP5, the stable version being worst of all
because the installer never even runs"... This is rather
important, given that the PHP devs are looking at making an
official PHP5 release *very* soon now, and these are
happening under PHP5RC1. :)