From: Lars K. <la...@kn...> - 2004-04-01 12:27:52
|
Carsten Wolff <car...@cr...> schrieb:=20 >The way i implement it ATM is simply: >if(strnatcmp(PHP_VERSION,'4.2.0')<0) { > // old code >} else { > // new code >} > >in all places in class.contacts_ldap.inc.php, where it is needed. It = should >be=20 >backwards-compatible. If someday in the future we depend on php4.2 = anyway, >we=20 >can still remove the old code. If it works this way, everything is ok. Cu |