- PHP fails gracefully. Java crashes and burns.
Say variable var doesn’t exist yet. We have 2 lines of code:
# php: $var = 230; // java var = 230;
Java? STATUS 500. THIS PAGE HAS CRASHED AND BURNED, because of an undefined variable.
- In php, you don’t have to restart tomcat. or whatever webserver you’re using. hardly ever.
- there’s more……….