Linked by Thom Holwerda on Mon 20th Feb 2006 17:55 UTC
General Development "The introduction of new object-oriented programming features in PHP V5 has significantly raised the level of functionality in this programming language. Not only can you have private, protected, and public member variables and functions - just as you would in the Java, C++, or C# programming languages - but you can also create objects that bend at runtime, creating new methods and member variables on the fly. You can't do that with the Java, C++, or C# languages. This kind of functionality makes super-rapid application development systems, such as Ruby on Rails, possible."
Permalink for comment 97775
To read all comments associated with this story, please click here.
Member since:

Sorry, I assumed that you were saying that the ability to dynamically add methods was going to create security issues. The poster you replied to assumed the same thing, since he asked for an example relating to that.

As for declaring variables, it is not that big of an issue. On your development server, just configure PHP to give you a notice whenever it encounters an uninitialised variable.

Reply Parent Score: 1