This is part of the Exove's Local-docker stack for PHP development (namely Drupal projects).
However, this can be used individually as well:
$ docker run xoxoxo/php-container:7.3-1.3 bash -c 'php -v' ✔ 10120 12:19:59
PHP 7.3.27 (cli) (built: Mar 6 2021 05:59:52) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.27, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.3.27, Copyright (c) 1999-2018, by Zend Technologies
with Xdebug v3.0.3, Copyright (c) 2002-2021, by Derick Rethans
PHP 7.3 based on Alpine Linux with following extensions:
Additional extensions build in: