Current, I installed phpunit. i use OS win 10. I think i installed new version from https://phpunit.de/ (current version 5.6, beta 5.7). But when check version with command
If you have installed PHPUnit globally with the PHP Archive (PHAR) procedure, you can simply run:
phpunit --self-update
Note that:
The openssl extension is required for using the --self-update feature of the PHAR.
More info in the doc.
Hope this help