Guest autofocus Posted February 4, 2009 Report Share Posted February 4, 2009 I was following php oops tutorial there were two declarations $stefan = new person(); $jimmy = new person; what is the difference between these two declarations ? i am php beginner and have not much experience in php but whatever i coded i always used $stefan = new person(); and never faced any problem. now i am confused. Quote Link to comment Share on other sites More sharing options...
Wickham Posted February 4, 2009 Report Share Posted February 4, 2009 They should both have ( ) Quote Link to comment 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.
Note: Your post will require moderator approval before it will be visible.