PHP 5.4 Support: Anonymous Object Variable
By Ondrej Brejla on Feb 06, 2012
Hi all! Today we would like to introduce you next of our PHP 5.4 support features for NetBeans 7.2. It's called Anonymous Object Variables.
Note: All PHP 5.4 features are available in your projects after setting Project Properties -> Sources -> PHP Version to PHP 5.4 value, or after choosing the same value during a PHP Project creation (in New Project Wizard).
If you don't know what to imagine under this feature's name, so here is just another description: class member access on instantiation support.
And what it really means is clear from the following image. You can also invoke code completion after object operator.