Does not work. php54 will not install.
It will replace the modules (ie: php54-mcrypt, mysql, etc) but will skip php54 due to conflict. So you have a real mess now.
I just ran upcp -y and got everything working again with php54. There is a conflict in the packages.