DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
php get class name without namespace from string
return substr(strrchr(__CLASS__, ""), 1);
Source by coderwall.com #
PREVIOUS
NEXT
Tagged:
#php
#class
#namespace
#string
ADD COMMENT
Topic
COMMENT
Name
7+6 =
Submit