Haxe is much more structured in how it's organized. It requires an explicit class for code, it has very few methods or variables in the global namespace, it has block-level vs. function-level scoping, etc. Those are pretty typical language features for languages designed for large code bases, but they're probably unfamiliar territory for some php developers.