Node.js vs php

hello,

i have been coding with javascript–> jquery,angularJS,now i want to start node.js,but is it worth it? or should i learn php?

similar discussion: http://www.sitepoint.com/forums/showthread.php?1039434-Is-node-js-a-replacement-for-PHP

Also, check this out: http://flippinawesome.org/2013/09/03/node-js-vs-php/

And a well written piece on measuring performance of Node.js compared to a LAMP stack - http://blog.loadimpact.com/2013/02/01/node-js-vs-php-using-load-impact-to-visualize-node-js-efficency/

Both Node.js & PHP have their pros & cons - both follow a different style of architecture & thought process & while Node.js would excel in high load apps, PHP is a matured platform with a zillion resources, very matured framework/software platforms - & its not a slouch either.

End of the day, how you write code will determine the kind of performance you get from your app. Its just that starting out in Node.js would be a bit difficult given that support resources are very few.

I would stick on PHP it’s already been solid tested…
But if your background on JavaScript is very good, then go ahead…