PHP 8.2 Support

How to correctly enable PHP 8.2 support for compatibility testing in phpenv because got error?

$ phpenv global 8.2
696rbenv: version `8.2' not installed
697The command "phpenv global 8.2" failed and exited with 1 during .