1--TEST-- 2Test date_interval_create_from_date_string() function : wrong parameter (array) 3--CREDITS-- 4Rodrigo Prado de Jesus <royopa [at] gmail [dot] com> 5--FILE-- 6<?php 7$wrong_parameter = array(); 8$i = date_interval_create_from_date_string($wrong_parameter); 9?> 10--EXPECTF-- 11Warning: date_interval_create_from_date_string() expects parameter 1 to be string, array given in %s on line %d 12