patch from http://www.cowbarn.org/phpeclipse/