1--TEST--
2Test date_interval_format() function : basic functionality
3--CREDITS--
4Jean Carlo Machado <contato@jeancarlomachado.com.br>
5--INI--
6date.timezone=UTC
7--FILE--
8<?php
9
10$interval = new DateInterval('P2Y4DT6H8M');
11echo date_interval_format($interval, '%d days');
12
13echo PHP_EOL;
14
15$interval = new DateInterval('P32D');
16echo date_interval_format($interval, '%d days');
17
18?>
19--EXPECT--
204 days
2132 days
22