TomTees Posted November 7, 2010 Share Posted November 7, 2010 Can you use underscores in Class/Object names? This_Is_My_Class{ } this_is_my_object = new This_Is_My_Class(); TomTees Link to comment https://forums.phpfreaks.com/topic/217988-underscore-in-class-name/ Share on other sites More sharing options...
KevinM1 Posted November 7, 2010 Share Posted November 7, 2010 Yes. An underscore cannot be the first character, but can be anywhere else in the name. Link to comment https://forums.phpfreaks.com/topic/217988-underscore-in-class-name/#findComment-1131310 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.