fixes T_PAAMAYIM_NEKUDOTAYIM error in php 5.2. fixes #387