+ 1

Is Javascript very similar to php

22nd Dec 2016, 12:52 PM
Owen Jay
Owen Jay - avatar
2 Answers
+ 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 ;)
22nd Dec 2016, 1:03 PM
visph
visph - avatar
+ 1
All programming languages share similarities. However there are lots of differences between JS and PHP
22nd Dec 2016, 5:07 PM
Rishi Anand
Rishi Anand - avatar