fix RModule with PHP 5.2 syntax rules