+ 1
Is Javascript very similar to php
2 Réponses
+ 3
Not "very" similar, but similar...
In real almost all langage sharing same concepts, and very similars structures ( variables and type of, boucles, functions, classes, and so on ), so the real differences are essentially in syntaxe, and few keywords not necessarly equivalent ( in some ways, need to traduct from one to the other )... The object model implementation is certainly the domain who's the mostly heterogeneous, followed by the data structures who can have very differents implementations/names/definitions.
Well Javascript and Php shares a logical semantic ( curly braces, semi colon, ... ) who's permit to not be too lost when switching from one to the other ;)
+ 1
All programming languages share similarities. However there are lots of differences between JS and PHP