Fixes wsdl2phpgenerator/wsdl2phpgenerator#162

There was an error within the string handling, since strrpos evaluates to false, and false is interpreted by substr as a length of 0.

Fixes #162