4 AnswersNew Answer
different companies use different things so look up some hiring advertisements online and see which one is more demanding or which technologies the company you want to work for uses. Generally, PHP is slowly dying but contrary to popular belief, it's still widely used! Also knowing both PHP and nodejs makes you more valuable ;) NodeJS is mostly used with frameworks and libraries that come as packages so nodejs itself isn't really as important as the packages
I prefer Node.js bcoz PHP looks boring to me 😁😁😁
why not both?