3v4l.org

run code in 200+ PHP versions simultaneously
<?php var_dump(\DateInterval::createFromDateString('6 years foobarbaz 4 months'));
based on sQjh2