1--TEST--
2Test date_interval_create_from_date_string() function : null parameter
3--CREDITS--
4Rodrigo Prado de Jesus <royopa [at] gmail [dot] com>
5--FILE--
6<?php
7$i = date_interval_create_from_date_string(null);
8var_dump($i);
9?>
10--EXPECTF--
11Deprecated: date_interval_create_from_date_string(): Passing null to parameter #1 ($datetime) of type string is deprecated in %s on line %d
12
13Warning: date_interval_create_from_date_string(): Unknown or bad format () at position 0 ( ): Empty string in %sdate_interval_create_from_date_string_nullparam.php on line 2
14bool(false)
15