DVWA is too insecure for php, therefore it is not possible using PHP 7.1 to use DVWA.
It has been removed in php7, so php 7.1 does not have it.
Okey. What to do?
Yes, I do. I've cloned it a few hours ago.
Okey, thank you.