For example, is it possible to write code like this:
int $x = 6; str $y = \"hello world\"; bool $z = false; MyObject $foo = new MyObject();
PHP is not strictly typed, so no. That said, it does support limited type hinting on functions - that's as close as it gets.