Error: idn_to_ascii() expects at most 2 parameters, 3 given

@MartinS

Is there a possibility to only change some files?
All the core files of the new Kirby 2.5.7 still remain and only on specific file needs to be reversed to a previous version?

I thought about the file
kirby/vendor/getkirby/toolkit/lib/url.php
and then starting with line 399.