Joined May 2015
·

Robin von den Bergen

BannerBüro GmbH
·
Cologne, Germany
·
·
·

Posted to PHP get class name without namespace over 1 year ago

fastest solution so far

return (substr($classname, strrpos($classname, '\\') + 1));
Achievements
9 Karma
9,225 Total ProTip Views