Node.js is primarily used to build network programs such as web servers.[29] The most significant difference between Node.js and PHP is that most functions in PHP block until completion (commands execute only after previous commands finish), while Node.js functions are non-blocking (commands execute concurrently and use callbacks to signal completion or failure).[29]
node.js differs from php in that it supports concurrent command execution.
