3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dateTime = new DateTime(); echo $dateTime ->add(new DateInterval('PT20M')) ->sub(new DateInterval('PT800S')) ->diff(new DateTime())->format("%I:%S");

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
168.86 ms | 2918 KiB | 10 Q