1--TEST-- 2Test date_interval_create_from_date_string() function : with 2 parameters (wrong). 3Rodrigo Prado de Jesus <royopa [at] gmail [dot] com> 4--FILE-- 5<?php 6$i = date_interval_create_from_date_string('1 year', 'wrong'); 7?> 8--EXPECTF-- 9Warning: date_interval_create_from_date_string() expects exactly 1 parameter, 2 given in %s on line %d