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 Quote 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. Quote Link to comment https://forums.phpfreaks.com/topic/217988-underscore-in-class-name/#findComment-1131310 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.