You should learn PHP if you want to be a developer and want to be in demand for the foreseeable future! It’s also an accessible language and could be learned alongside HTML or JavaScript as the three play well together. While PHP will be replaced eventually, it will likely be an evolution rather than revolution so PHP is safe bet for now.