Since PHP is a server-side scripting language whereas Java is a general-purpose language. In other words, PHP is only used as a server-side language where Java is both for server-side and desktop programming language. ... ? Java has annotations: Annotations can be used for both compile-time and run-time.
urgent requirement of PHP&web designer