Forget about PHP. Java's development pace has been glacial the last few years (though Oracle seems determined to do something about it), but when introducing new features, it's rare that backward compatibility breaks (even when it would be desirable).