1--TEST--
2Bug #54283 (new DatePeriod(NULL) causes crash)
3--FILE--
4<?php
5
6try {
7 var_dump(new DatePeriod(NULL));
8} catch (Exception $e) {
9 var_dump($e->getMessage());
10}
11
12?>
13--EXPECT--
14string(51) "DatePeriod::__construct(): Unknown or bad format ()"
15