There actually are small differences - all of which that I know of involve file paths (big suprise). Also, old versions of php 4 don't support remote fopen and remote include, features that NEVER should have been allowed in a programming language in the first place.
I hate php - it's syntax is alright, but it's insecure by design, gobbles memory, and is used to build some truely atrocious software.