PHP 5.5: New Class Constant http://t.co/qHCpQrdR9E #php55 #php
June 29, 2013
Sebastian Bergmann | 06/26/2013 | Blog Last week, the first stable version of PHP 5.5 was released. It introduced a class-level constant, aptly named CLASS, that is automatically available on all classes and holds the fully-qualified name of that class. getMock('vendor\package\Bar'); $foo = new Foo; $foo->process($bar); // ...
/image%2F0004624%2F201210%2Fob_b01b21efdb72588090d70c1e23a4f101_nicolashachet-logo.png)

