3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $preparationDelayWarehouse = 2; $date = new DateTime("2017-07-07"); $pickUpDelay = $date->add(new DateInterval('P'.$preparationDelayWarehouse.'D'));
Output for 5.3.29