Fix for php 5.5 style class name resolution (ClassName::class)

Fixed issue when ClassName::class was treated as class definition.