7. PHP new features
Namespaces
Late Static Binding
Traits
Array short syntax
Closures scopes and $this
Built-in web server
Generators
try-catch Finally
Password hashing API
16. Hack Lang
http://hacklang.org/
<?hh
class MyClass {
public function alpha(): int {
return 1;
}
public function beta(): string {
return 'hi test';
}
}
function f(MyClass $my_inst): string {
// Fix me!
return $my_inst->alpha();
}
26. What is Symfony?
Reusable set of standalone, decoupled PHP components
Based on components Symfony is a full-stack framework
Symfony is an HTTP framework
Request/Response framework
Non MVC
http://fabien.potencier.org/article/49/what-is-symfony2