Comparing PHP to JavaScript

PHP and JavaScript are often used together on web pages and in web applications. It can be helpful to compare parts of the two languages when learning them as it is easy to forget which syntax belongs to which language. This is an index into articles and blog posts on comparing PHP to JavaScript.

Comparing PHP to JavaScript Index

PHP Versus JavaScript Comments – compares commenting  code in PHP and JavaScript. Also includes HTML and CSS comments.

PHP Versus JavaScript Variables – compares variables in PHP and JavaScript including naming of variables.