diff options
Diffstat (limited to 'ext/date/tests')
90 files changed, 808 insertions, 808 deletions
diff --git a/ext/date/tests/68062.phpt b/ext/date/tests/68062.phpt index ce2105abae..6b1e16ae67 100644 --- a/ext/date/tests/68062.phpt +++ b/ext/date/tests/68062.phpt @@ -10,4 +10,4 @@ echo $tz->getOffset($dt); echo $tz->getOffset(1); --EXPECTF-- 3600 -Warning: DateTimeZone::getOffset() expects parameter 1 to be DateTimeInterface, integer given in %s +Warning: DateTimeZone::getOffset() expects parameter 1 to be DateTimeInterface, int given in %s diff --git a/ext/date/tests/DateTimeZone_getOffset_variation1.phpt b/ext/date/tests/DateTimeZone_getOffset_variation1.phpt index 2ee21a5262..700da01fea 100644 --- a/ext/date/tests/DateTimeZone_getOffset_variation1.phpt +++ b/ext/date/tests/DateTimeZone_getOffset_variation1.phpt @@ -112,22 +112,22 @@ fclose( $file_handle ); -- int 0 -- -Warning: DateTimeZone::getOffset() expects parameter 1 to be DateTimeInterface, integer given in %s on line %d +Warning: DateTimeZone::getOffset() expects parameter 1 to be DateTimeInterface, int given in %s on line %d bool(false) -- int 1 -- -Warning: DateTimeZone::getOffset() expects parameter 1 to be DateTimeInterface, integer given in %s on line %d +Warning: DateTimeZone::getOffset() expects parameter 1 to be DateTimeInterface, int given in %s on line %d bool(false) -- int 12345 -- -Warning: DateTimeZone::getOffset() expects parameter 1 to be DateTimeInterface, integer given in %s on line %d +Warning: DateTimeZone::getOffset() expects parameter 1 to be DateTimeInterface, int given in %s on line %d bool(false) -- int -12345 -- -Warning: DateTimeZone::getOffset() expects parameter 1 to be DateTimeInterface, integer given in %s on line %d +Warning: DateTimeZone::getOffset() expects parameter 1 to be DateTimeInterface, int given in %s on line %d bool(false) -- float 10.5 -- diff --git a/ext/date/tests/DateTime_construct_variation2.phpt b/ext/date/tests/DateTime_construct_variation2.phpt index e75e14d8e3..887e0e0a6e 100644 --- a/ext/date/tests/DateTime_construct_variation2.phpt +++ b/ext/date/tests/DateTime_construct_variation2.phpt @@ -118,16 +118,16 @@ fclose( $file_handle); *** Testing new DateTime() : usage variation - unexpected values to second argument $timezone*** -- int 0 -- -FAILED: DateTime::__construct() expects parameter 2 to be DateTimeZone, integer given +FAILED: DateTime::__construct() expects parameter 2 to be DateTimeZone, int given -- int 1 -- -FAILED: DateTime::__construct() expects parameter 2 to be DateTimeZone, integer given +FAILED: DateTime::__construct() expects parameter 2 to be DateTimeZone, int given -- int 12345 -- -FAILED: DateTime::__construct() expects parameter 2 to be DateTimeZone, integer given +FAILED: DateTime::__construct() expects parameter 2 to be DateTimeZone, int given -- int -12345 -- -FAILED: DateTime::__construct() expects parameter 2 to be DateTimeZone, integer given +FAILED: DateTime::__construct() expects parameter 2 to be DateTimeZone, int given -- float 10.5 -- FAILED: DateTime::__construct() expects parameter 2 to be DateTimeZone, float given diff --git a/ext/date/tests/DateTime_setDate_variation1.phpt b/ext/date/tests/DateTime_setDate_variation1.phpt index 945f7ae973..a25bdee54f 100644 --- a/ext/date/tests/DateTime_setDate_variation1.phpt +++ b/ext/date/tests/DateTime_setDate_variation1.phpt @@ -3,14 +3,14 @@ Test DateTime::setDate() function : usage variation - Passing unexpected values --FILE-- <?php /* Prototype : public DateTime DateTime::setDate ( int $year , int $month , int $day ) - * Description: Resets the current date of the DateTime object to a different date. + * Description: Resets the current date of the DateTime object to a different date. * Source code: ext/date/php_date.c * Alias to functions: date_date_set */ echo "*** Testing DateTime::setDate() : usage variation - unexpected values to first argument \$year***\n"; -//Set the default time zone +//Set the default time zone date_default_timezone_set("Europe/London"); //get an unset variable @@ -90,8 +90,8 @@ $inputs = array( // unset data 'unset var' => @$unset_var, - - // resource + + // resource 'resource' => $file_handle ); @@ -184,22 +184,22 @@ object(DateTime)#%d (3) { -- empty array -- -Warning: DateTime::setDate() expects parameter 1 to be integer, array given in %s on line %d +Warning: DateTime::setDate() expects parameter 1 to be int, array given in %s on line %d bool(false) -- int indexed array -- -Warning: DateTime::setDate() expects parameter 1 to be integer, array given in %s on line %d +Warning: DateTime::setDate() expects parameter 1 to be int, array given in %s on line %d bool(false) -- associative array -- -Warning: DateTime::setDate() expects parameter 1 to be integer, array given in %s on line %d +Warning: DateTime::setDate() expects parameter 1 to be int, array given in %s on line %d bool(false) -- nested arrays -- -Warning: DateTime::setDate() expects parameter 1 to be integer, array given in %s on line %d +Warning: DateTime::setDate() expects parameter 1 to be int, array given in %s on line %d bool(false) -- uppercase NULL -- @@ -264,42 +264,42 @@ object(DateTime)#%d (3) { -- empty string DQ -- -Warning: DateTime::setDate() expects parameter 1 to be integer, string given in %s on line %d +Warning: DateTime::setDate() expects parameter 1 to be int, string given in %s on line %d bool(false) -- empty string SQ -- -Warning: DateTime::setDate() expects parameter 1 to be integer, string given in %s on line %d +Warning: DateTime::setDate() expects parameter 1 to be int, string given in %s on line %d bool(false) -- string DQ -- -Warning: DateTime::setDate() expects parameter 1 to be integer, string given in %s on line %d +Warning: DateTime::setDate() expects parameter 1 to be int, string given in %s on line %d bool(false) -- string SQ -- -Warning: DateTime::setDate() expects parameter 1 to be integer, string given in %s on line %d +Warning: DateTime::setDate() expects parameter 1 to be int, string given in %s on line %d bool(false) -- mixed case string -- -Warning: DateTime::setDate() expects parameter 1 to be integer, string given in %s on line %d +Warning: DateTime::setDate() expects parameter 1 to be int, string given in %s on line %d bool(false) -- heredoc -- -Warning: DateTime::setDate() expects parameter 1 to be integer, string given in %s on line %d +Warning: DateTime::setDate() expects parameter 1 to be int, string given in %s on line %d bool(false) -- instance of classWithToString -- -Warning: DateTime::setDate() expects parameter 1 to be integer, object given in %s on line %d +Warning: DateTime::setDate() expects parameter 1 to be int, object given in %s on line %d bool(false) -- instance of classWithoutToString -- -Warning: DateTime::setDate() expects parameter 1 to be integer, object given in %s on line %d +Warning: DateTime::setDate() expects parameter 1 to be int, object given in %s on line %d bool(false) -- undefined var -- @@ -324,6 +324,6 @@ object(DateTime)#%d (3) { -- resource -- -Warning: DateTime::setDate() expects parameter 1 to be integer, resource given in %s on line %d +Warning: DateTime::setDate() expects parameter 1 to be int, resource given in %s on line %d bool(false) ===DONE=== diff --git a/ext/date/tests/DateTime_setDate_variation2.phpt b/ext/date/tests/DateTime_setDate_variation2.phpt index e335d21059..b3fbf46f4f 100644 --- a/ext/date/tests/DateTime_setDate_variation2.phpt +++ b/ext/date/tests/DateTime_setDate_variation2.phpt @@ -3,14 +3,14 @@ Test DateTime::setDate() function : usage variation - Passing unexpected values --FILE-- <?php /* Prototype : public DateTime DateTime::setDate ( int $year , int $month , int $day ) - * Description: Resets the current date of the DateTime object to a different date. + * Description: Resets the current date of the DateTime object to a different date. * Source code: ext/date/php_date.c * Alias to functions: date_date_set */ echo "*** Testing DateTime::setDate() : usage variation - unexpected values to second argument \$month***\n"; -//Set the default time zone +//Set the default time zone date_default_timezone_set("Europe/London"); //get an unset variable @@ -90,8 +90,8 @@ $inputs = array( // unset data 'unset var' => @$unset_var, - - // resource + + // resource 'resource' => $file_handle ); @@ -184,22 +184,22 @@ object(DateTime)#%d (3) { -- empty array -- -Warning: DateTime::setDate() expects parameter 2 to be integer, array given in %s on line %d +Warning: DateTime::setDate() expects parameter 2 to be int, array given in %s on line %d bool(false) -- int indexed array -- -Warning: DateTime::setDate() expects parameter 2 to be integer, array given in %s on line %d +Warning: DateTime::setDate() expects parameter 2 to be int, array given in %s on line %d bool(false) -- associative array -- -Warning: DateTime::setDate() expects parameter 2 to be integer, array given in %s on line %d +Warning: DateTime::setDate() expects parameter 2 to be int, array given in %s on line %d bool(false) -- nested arrays -- -Warning: DateTime::setDate() expects parameter 2 to be integer, array given in %s on line %d +Warning: DateTime::setDate() expects parameter 2 to be int, array given in %s on line %d bool(false) -- uppercase NULL -- @@ -264,42 +264,42 @@ object(DateTime)#%d (3) { -- empty string DQ -- -Warning: DateTime::setDate() expects parameter 2 to be integer, string given in %s on line %d +Warning: DateTime::setDate() expects parameter 2 to be int, string given in %s on line %d bool(false) -- empty string SQ -- -Warning: DateTime::setDate() expects parameter 2 to be integer, string given in %s on line %d +Warning: DateTime::setDate() expects parameter 2 to be int, string given in %s on line %d bool(false) -- string DQ -- -Warning: DateTime::setDate() expects parameter 2 to be integer, string given in %s on line %d +Warning: DateTime::setDate() expects parameter 2 to be int, string given in %s on line %d bool(false) -- string SQ -- -Warning: DateTime::setDate() expects parameter 2 to be integer, string given in %s on line %d +Warning: DateTime::setDate() expects parameter 2 to be int, string given in %s on line %d bool(false) -- mixed case string -- -Warning: DateTime::setDate() expects parameter 2 to be integer, string given in %s on line %d +Warning: DateTime::setDate() expects parameter 2 to be int, string given in %s on line %d bool(false) -- heredoc -- -Warning: DateTime::setDate() expects parameter 2 to be integer, string given in %s on line %d +Warning: DateTime::setDate() expects parameter 2 to be int, string given in %s on line %d bool(false) -- instance of classWithToString -- -Warning: DateTime::setDate() expects parameter 2 to be integer, object given in %s on line %d +Warning: DateTime::setDate() expects parameter 2 to be int, object given in %s on line %d bool(false) -- instance of classWithoutToString -- -Warning: DateTime::setDate() expects parameter 2 to be integer, object given in %s on line %d +Warning: DateTime::setDate() expects parameter 2 to be int, object given in %s on line %d bool(false) -- undefined var -- @@ -324,6 +324,6 @@ object(DateTime)#%d (3) { -- resource -- -Warning: DateTime::setDate() expects parameter 2 to be integer, resource given in %s on line %d +Warning: DateTime::setDate() expects parameter 2 to be int, resource given in %s on line %d bool(false) ===DONE=== diff --git a/ext/date/tests/DateTime_setDate_variation3.phpt b/ext/date/tests/DateTime_setDate_variation3.phpt index ef65e45e0e..b1f7aab961 100644 --- a/ext/date/tests/DateTime_setDate_variation3.phpt +++ b/ext/date/tests/DateTime_setDate_variation3.phpt @@ -3,14 +3,14 @@ Test DateTime::setDate() function : usage variation - Passing unexpected values --FILE-- <?php /* Prototype : public DateTime DateTime::setDate ( int $year , int $month , int $day ) - * Description: Resets the current date of the DateTime object to a different date. + * Description: Resets the current date of the DateTime object to a different date. * Source code: ext/date/php_date.c * Alias to functions: date_date_set */ echo "*** Testing DateTime::setDate() : usage variation - unexpected values to third argument \$day***\n"; -//Set the default time zone +//Set the default time zone date_default_timezone_set("Europe/London"); //get an unset variable @@ -90,8 +90,8 @@ $inputs = array( // unset data 'unset var' => @$unset_var, - - // resource + + // resource 'resource' => $file_handle ); @@ -184,22 +184,22 @@ object(DateTime)#%d (3) { -- empty array -- -Warning: DateTime::setDate() expects parameter 3 to be integer, array given in %s on line %d +Warning: DateTime::setDate() expects parameter 3 to be int, array given in %s on line %d bool(false) -- int indexed array -- -Warning: DateTime::setDate() expects parameter 3 to be integer, array given in %s on line %d +Warning: DateTime::setDate() expects parameter 3 to be int, array given in %s on line %d bool(false) -- associative array -- -Warning: DateTime::setDate() expects parameter 3 to be integer, array given in %s on line %d +Warning: DateTime::setDate() expects parameter 3 to be int, array given in %s on line %d bool(false) -- nested arrays -- -Warning: DateTime::setDate() expects parameter 3 to be integer, array given in %s on line %d +Warning: DateTime::setDate() expects parameter 3 to be int, array given in %s on line %d bool(false) -- uppercase NULL -- @@ -264,42 +264,42 @@ object(DateTime)#%d (3) { -- empty string DQ -- -Warning: DateTime::setDate() expects parameter 3 to be integer, string given in %s on line %d +Warning: DateTime::setDate() expects parameter 3 to be int, string given in %s on line %d bool(false) -- empty string SQ -- -Warning: DateTime::setDate() expects parameter 3 to be integer, string given in %s on line %d +Warning: DateTime::setDate() expects parameter 3 to be int, string given in %s on line %d bool(false) -- string DQ -- -Warning: DateTime::setDate() expects parameter 3 to be integer, string given in %s on line %d +Warning: DateTime::setDate() expects parameter 3 to be int, string given in %s on line %d bool(false) -- string SQ -- -Warning: DateTime::setDate() expects parameter 3 to be integer, string given in %s on line %d +Warning: DateTime::setDate() expects parameter 3 to be int, string given in %s on line %d bool(false) -- mixed case string -- -Warning: DateTime::setDate() expects parameter 3 to be integer, string given in %s on line %d +Warning: DateTime::setDate() expects parameter 3 to be int, string given in %s on line %d bool(false) -- heredoc -- -Warning: DateTime::setDate() expects parameter 3 to be integer, string given in %s on line %d +Warning: DateTime::setDate() expects parameter 3 to be int, string given in %s on line %d bool(false) -- instance of classWithToString -- -Warning: DateTime::setDate() expects parameter 3 to be integer, object given in %s on line %d +Warning: DateTime::setDate() expects parameter 3 to be int, object given in %s on line %d bool(false) -- instance of classWithoutToString -- -Warning: DateTime::setDate() expects parameter 3 to be integer, object given in %s on line %d +Warning: DateTime::setDate() expects parameter 3 to be int, object given in %s on line %d bool(false) -- undefined var -- @@ -324,6 +324,6 @@ object(DateTime)#%d (3) { -- resource -- -Warning: DateTime::setDate() expects parameter 3 to be integer, resource given in %s on line %d +Warning: DateTime::setDate() expects parameter 3 to be int, resource given in %s on line %d bool(false) ===DONE=== diff --git a/ext/date/tests/DateTime_setISODate_variation1.phpt b/ext/date/tests/DateTime_setISODate_variation1.phpt index 58043e5689..74f262b536 100644 --- a/ext/date/tests/DateTime_setISODate_variation1.phpt +++ b/ext/date/tests/DateTime_setISODate_variation1.phpt @@ -184,22 +184,22 @@ object(DateTime)#%d (3) { -- empty array -- -Warning: DateTime::setISODate() expects parameter 1 to be integer, array given in %s on line %d +Warning: DateTime::setISODate() expects parameter 1 to be int, array given in %s on line %d bool(false) -- int indexed array -- -Warning: DateTime::setISODate() expects parameter 1 to be integer, array given in %s on line %d +Warning: DateTime::setISODate() expects parameter 1 to be int, array given in %s on line %d bool(false) -- associative array -- -Warning: DateTime::setISODate() expects parameter 1 to be integer, array given in %s on line %d +Warning: DateTime::setISODate() expects parameter 1 to be int, array given in %s on line %d bool(false) -- nested arrays -- -Warning: DateTime::setISODate() expects parameter 1 to be integer, array given in %s on line %d +Warning: DateTime::setISODate() expects parameter 1 to be int, array given in %s on line %d bool(false) -- uppercase NULL -- @@ -264,42 +264,42 @@ object(DateTime)#%d (3) { -- empty string DQ -- -Warning: DateTime::setISODate() expects parameter 1 to be integer, string given in %s on line %d +Warning: DateTime::setISODate() expects parameter 1 to be int, string given in %s on line %d bool(false) -- empty string SQ -- -Warning: DateTime::setISODate() expects parameter 1 to be integer, string given in %s on line %d +Warning: DateTime::setISODate() expects parameter 1 to be int, string given in %s on line %d bool(false) -- string DQ -- -Warning: DateTime::setISODate() expects parameter 1 to be integer, string given in %s on line %d +Warning: DateTime::setISODate() expects parameter 1 to be int, string given in %s on line %d bool(false) -- string SQ -- -Warning: DateTime::setISODate() expects parameter 1 to be integer, string given in %s on line %d +Warning: DateTime::setISODate() expects parameter 1 to be int, string given in %s on line %d bool(false) -- mixed case string -- -Warning: DateTime::setISODate() expects parameter 1 to be integer, string given in %s on line %d +Warning: DateTime::setISODate() expects parameter 1 to be int, string given in %s on line %d bool(false) -- heredoc -- -Warning: DateTime::setISODate() expects parameter 1 to be integer, string given in %s on line %d +Warning: DateTime::setISODate() expects parameter 1 to be int, string given in %s on line %d bool(false) -- instance of classWithToString -- -Warning: DateTime::setISODate() expects parameter 1 to be integer, object given in %s on line %d +Warning: DateTime::setISODate() expects parameter 1 to be int, object given in %s on line %d bool(false) -- instance of classWithoutToString -- -Warning: DateTime::setISODate() expects parameter 1 to be integer, object given in %s on line %d +Warning: DateTime::setISODate() expects parameter 1 to be int, object given in %s on line %d bool(false) -- undefined var -- @@ -324,6 +324,6 @@ object(DateTime)#%d (3) { -- resource -- -Warning: DateTime::setISODate() expects parameter 1 to be integer, resource given in %s on line %d +Warning: DateTime::setISODate() expects parameter 1 to be int, resource given in %s on line %d bool(false) ===DONE=== diff --git a/ext/date/tests/DateTime_setISODate_variation2.phpt b/ext/date/tests/DateTime_setISODate_variation2.phpt index c40665950a..1677d042c6 100644 --- a/ext/date/tests/DateTime_setISODate_variation2.phpt +++ b/ext/date/tests/DateTime_setISODate_variation2.phpt @@ -184,22 +184,22 @@ object(DateTime)#%d (3) { -- empty array -- -Warning: DateTime::setISODate() expects parameter 2 to be integer, array given in %s on line %d +Warning: DateTime::setISODate() expects parameter 2 to be int, array given in %s on line %d bool(false) -- int indexed array -- -Warning: DateTime::setISODate() expects parameter 2 to be integer, array given in %s on line %d +Warning: DateTime::setISODate() expects parameter 2 to be int, array given in %s on line %d bool(false) -- associative array -- -Warning: DateTime::setISODate() expects parameter 2 to be integer, array given in %s on line %d +Warning: DateTime::setISODate() expects parameter 2 to be int, array given in %s on line %d bool(false) -- nested arrays -- -Warning: DateTime::setISODate() expects parameter 2 to be integer, array given in %s on line %d +Warning: DateTime::setISODate() expects parameter 2 to be int, array given in %s on line %d bool(false) -- uppercase NULL -- @@ -264,42 +264,42 @@ object(DateTime)#%d (3) { -- empty string DQ -- -Warning: DateTime::setISODate() expects parameter 2 to be integer, string given in %s on line %d +Warning: DateTime::setISODate() expects parameter 2 to be int, string given in %s on line %d bool(false) -- empty string SQ -- -Warning: DateTime::setISODate() expects parameter 2 to be integer, string given in %s on line %d +Warning: DateTime::setISODate() expects parameter 2 to be int, string given in %s on line %d bool(false) -- string DQ -- -Warning: DateTime::setISODate() expects parameter 2 to be integer, string given in %s on line %d +Warning: DateTime::setISODate() expects parameter 2 to be int, string given in %s on line %d bool(false) -- string SQ -- -Warning: DateTime::setISODate() expects parameter 2 to be integer, string given in %s on line %d +Warning: DateTime::setISODate() expects parameter 2 to be int, string given in %s on line %d bool(false) -- mixed case string -- -Warning: DateTime::setISODate() expects parameter 2 to be integer, string given in %s on line %d +Warning: DateTime::setISODate() expects parameter 2 to be int, string given in %s on line %d bool(false) -- heredoc -- -Warning: DateTime::setISODate() expects parameter 2 to be integer, string given in %s on line %d +Warning: DateTime::setISODate() expects parameter 2 to be int, string given in %s on line %d bool(false) -- instance of classWithToString -- -Warning: DateTime::setISODate() expects parameter 2 to be integer, object given in %s on line %d +Warning: DateTime::setISODate() expects parameter 2 to be int, object given in %s on line %d bool(false) -- instance of classWithoutToString -- -Warning: DateTime::setISODate() expects parameter 2 to be integer, object given in %s on line %d +Warning: DateTime::setISODate() expects parameter 2 to be int, object given in %s on line %d bool(false) -- undefined var -- @@ -324,6 +324,6 @@ object(DateTime)#%d (3) { -- resource -- -Warning: DateTime::setISODate() expects parameter 2 to be integer, resource given in %s on line %d +Warning: DateTime::setISODate() expects parameter 2 to be int, resource given in %s on line %d bool(false) ===DONE=== diff --git a/ext/date/tests/DateTime_setISODate_variation3.phpt b/ext/date/tests/DateTime_setISODate_variation3.phpt index 87c39264a7..63ac22c28b 100644 --- a/ext/date/tests/DateTime_setISODate_variation3.phpt +++ b/ext/date/tests/DateTime_setISODate_variation3.phpt @@ -184,22 +184,22 @@ object(DateTime)#%d (3) { -- empty array -- -Warning: DateTime::setISODate() expects parameter 3 to be integer, array given in %s on line %d +Warning: DateTime::setISODate() expects parameter 3 to be int, array given in %s on line %d bool(false) -- int indexed array -- -Warning: DateTime::setISODate() expects parameter 3 to be integer, array given in %s on line %d +Warning: DateTime::setISODate() expects parameter 3 to be int, array given in %s on line %d bool(false) -- associative array -- -Warning: DateTime::setISODate() expects parameter 3 to be integer, array given in %s on line %d +Warning: DateTime::setISODate() expects parameter 3 to be int, array given in %s on line %d bool(false) -- nested arrays -- -Warning: DateTime::setISODate() expects parameter 3 to be integer, array given in %s on line %d +Warning: DateTime::setISODate() expects parameter 3 to be int, array given in %s on line %d bool(false) -- uppercase NULL -- @@ -264,42 +264,42 @@ object(DateTime)#%d (3) { -- empty string DQ -- -Warning: DateTime::setISODate() expects parameter 3 to be integer, string given in %s on line %d +Warning: DateTime::setISODate() expects parameter 3 to be int, string given in %s on line %d bool(false) -- empty string SQ -- -Warning: DateTime::setISODate() expects parameter 3 to be integer, string given in %s on line %d +Warning: DateTime::setISODate() expects parameter 3 to be int, string given in %s on line %d bool(false) -- string DQ -- -Warning: DateTime::setISODate() expects parameter 3 to be integer, string given in %s on line %d +Warning: DateTime::setISODate() expects parameter 3 to be int, string given in %s on line %d bool(false) -- string SQ -- -Warning: DateTime::setISODate() expects parameter 3 to be integer, string given in %s on line %d +Warning: DateTime::setISODate() expects parameter 3 to be int, string given in %s on line %d bool(false) -- mixed case string -- -Warning: DateTime::setISODate() expects parameter 3 to be integer, string given in %s on line %d +Warning: DateTime::setISODate() expects parameter 3 to be int, string given in %s on line %d bool(false) -- heredoc -- -Warning: DateTime::setISODate() expects parameter 3 to be integer, string given in %s on line %d +Warning: DateTime::setISODate() expects parameter 3 to be int, string given in %s on line %d bool(false) -- instance of classWithToString -- -Warning: DateTime::setISODate() expects parameter 3 to be integer, object given in %s on line %d +Warning: DateTime::setISODate() expects parameter 3 to be int, object given in %s on line %d bool(false) -- instance of classWithoutToString -- -Warning: DateTime::setISODate() expects parameter 3 to be integer, object given in %s on line %d +Warning: DateTime::setISODate() expects parameter 3 to be int, object given in %s on line %d bool(false) -- undefined var -- @@ -324,6 +324,6 @@ object(DateTime)#%d (3) { -- resource -- -Warning: DateTime::setISODate() expects parameter 3 to be integer, resource given in %s on line %d +Warning: DateTime::setISODate() expects parameter 3 to be int, resource given in %s on line %d bool(false) ===DONE=== diff --git a/ext/date/tests/DateTime_setTime_variation1.phpt b/ext/date/tests/DateTime_setTime_variation1.phpt index 3f3c1e4c21..ea2942bff3 100644 --- a/ext/date/tests/DateTime_setTime_variation1.phpt +++ b/ext/date/tests/DateTime_setTime_variation1.phpt @@ -184,22 +184,22 @@ object(DateTime)#%d (3) { -- empty array -- -Warning: DateTime::setTime() expects parameter 1 to be integer, array given in %s on line %d +Warning: DateTime::setTime() expects parameter 1 to be int, array given in %s on line %d bool(false) -- int indexed array -- -Warning: DateTime::setTime() expects parameter 1 to be integer, array given in %s on line %d +Warning: DateTime::setTime() expects parameter 1 to be int, array given in %s on line %d bool(false) -- associative array -- -Warning: DateTime::setTime() expects parameter 1 to be integer, array given in %s on line %d +Warning: DateTime::setTime() expects parameter 1 to be int, array given in %s on line %d bool(false) -- nested arrays -- -Warning: DateTime::setTime() expects parameter 1 to be integer, array given in %s on line %d +Warning: DateTime::setTime() expects parameter 1 to be int, array given in %s on line %d bool(false) -- uppercase NULL -- @@ -264,42 +264,42 @@ object(DateTime)#%d (3) { -- empty string DQ -- -Warning: DateTime::setTime() expects parameter 1 to be integer, string given in %s on line %d +Warning: DateTime::setTime() expects parameter 1 to be int, string given in %s on line %d bool(false) -- empty string SQ -- -Warning: DateTime::setTime() expects parameter 1 to be integer, string given in %s on line %d +Warning: DateTime::setTime() expects parameter 1 to be int, string given in %s on line %d bool(false) -- string DQ -- -Warning: DateTime::setTime() expects parameter 1 to be integer, string given in %s on line %d +Warning: DateTime::setTime() expects parameter 1 to be int, string given in %s on line %d bool(false) -- string SQ -- -Warning: DateTime::setTime() expects parameter 1 to be integer, string given in %s on line %d +Warning: DateTime::setTime() expects parameter 1 to be int, string given in %s on line %d bool(false) -- mixed case string -- -Warning: DateTime::setTime() expects parameter 1 to be integer, string given in %s on line %d +Warning: DateTime::setTime() expects parameter 1 to be int, string given in %s on line %d bool(false) -- heredoc -- -Warning: DateTime::setTime() expects parameter 1 to be integer, string given in %s on line %d +Warning: DateTime::setTime() expects parameter 1 to be int, string given in %s on line %d bool(false) -- instance of classWithToString -- -Warning: DateTime::setTime() expects parameter 1 to be integer, object given in %s on line %d +Warning: DateTime::setTime() expects parameter 1 to be int, object given in %s on line %d bool(false) -- instance of classWithoutToString -- -Warning: DateTime::setTime() expects parameter 1 to be integer, object given in %s on line %d +Warning: DateTime::setTime() expects parameter 1 to be int, object given in %s on line %d bool(false) -- undefined var -- @@ -324,6 +324,6 @@ object(DateTime)#%d (3) { -- resource -- -Warning: DateTime::setTime() expects parameter 1 to be integer, resource given in %s on line %d +Warning: DateTime::setTime() expects parameter 1 to be int, resource given in %s on line %d bool(false) ===DONE=== diff --git a/ext/date/tests/DateTime_setTime_variation2.phpt b/ext/date/tests/DateTime_setTime_variation2.phpt index e2bc153b74..f3b91ced5b 100644 --- a/ext/date/tests/DateTime_setTime_variation2.phpt +++ b/ext/date/tests/DateTime_setTime_variation2.phpt @@ -184,22 +184,22 @@ object(DateTime)#%d (3) { -- empty array -- -Warning: DateTime::setTime() expects parameter 2 to be integer, array given in %s on line %d +Warning: DateTime::setTime() expects parameter 2 to be int, array given in %s on line %d bool(false) -- int indexed array -- -Warning: DateTime::setTime() expects parameter 2 to be integer, array given in %s on line %d +Warning: DateTime::setTime() expects parameter 2 to be int, array given in %s on line %d bool(false) -- associative array -- -Warning: DateTime::setTime() expects parameter 2 to be integer, array given in %s on line %d +Warning: DateTime::setTime() expects parameter 2 to be int, array given in %s on line %d bool(false) -- nested arrays -- -Warning: DateTime::setTime() expects parameter 2 to be integer, array given in %s on line %d +Warning: DateTime::setTime() expects parameter 2 to be int, array given in %s on line %d bool(false) -- uppercase NULL -- @@ -264,42 +264,42 @@ object(DateTime)#%d (3) { -- empty string DQ -- -Warning: DateTime::setTime() expects parameter 2 to be integer, string given in %s on line %d +Warning: DateTime::setTime() expects parameter 2 to be int, string given in %s on line %d bool(false) -- empty string SQ -- -Warning: DateTime::setTime() expects parameter 2 to be integer, string given in %s on line %d +Warning: DateTime::setTime() expects parameter 2 to be int, string given in %s on line %d bool(false) -- string DQ -- -Warning: DateTime::setTime() expects parameter 2 to be integer, string given in %s on line %d +Warning: DateTime::setTime() expects parameter 2 to be int, string given in %s on line %d bool(false) -- string SQ -- -Warning: DateTime::setTime() expects parameter 2 to be integer, string given in %s on line %d +Warning: DateTime::setTime() expects parameter 2 to be int, string given in %s on line %d bool(false) -- mixed case string -- -Warning: DateTime::setTime() expects parameter 2 to be integer, string given in %s on line %d +Warning: DateTime::setTime() expects parameter 2 to be int, string given in %s on line %d bool(false) -- heredoc -- -Warning: DateTime::setTime() expects parameter 2 to be integer, string given in %s on line %d +Warning: DateTime::setTime() expects parameter 2 to be int, string given in %s on line %d bool(false) -- instance of classWithToString -- -Warning: DateTime::setTime() expects parameter 2 to be integer, object given in %s on line %d +Warning: DateTime::setTime() expects parameter 2 to be int, object given in %s on line %d bool(false) -- instance of classWithoutToString -- -Warning: DateTime::setTime() expects parameter 2 to be integer, object given in %s on line %d +Warning: DateTime::setTime() expects parameter 2 to be int, object given in %s on line %d bool(false) -- undefined var -- @@ -324,6 +324,6 @@ object(DateTime)#%d (3) { -- resource -- -Warning: DateTime::setTime() expects parameter 2 to be integer, resource given in %s on line %d +Warning: DateTime::setTime() expects parameter 2 to be int, resource given in %s on line %d bool(false) ===DONE=== diff --git a/ext/date/tests/DateTime_setTime_variation3.phpt b/ext/date/tests/DateTime_setTime_variation3.phpt index 59e0cefe1d..4a33fa11be 100644 --- a/ext/date/tests/DateTime_setTime_variation3.phpt +++ b/ext/date/tests/DateTime_setTime_variation3.phpt @@ -184,22 +184,22 @@ object(DateTime)#%d (3) { -- empty array -- -Warning: DateTime::setTime() expects parameter 3 to be integer, array given in %s on line %d +Warning: DateTime::setTime() expects parameter 3 to be int, array given in %s on line %d bool(false) -- int indexed array -- -Warning: DateTime::setTime() expects parameter 3 to be integer, array given in %s on line %d +Warning: DateTime::setTime() expects parameter 3 to be int, array given in %s on line %d bool(false) -- associative array -- -Warning: DateTime::setTime() expects parameter 3 to be integer, array given in %s on line %d +Warning: DateTime::setTime() expects parameter 3 to be int, array given in %s on line %d bool(false) -- nested arrays -- -Warning: DateTime::setTime() expects parameter 3 to be integer, array given in %s on line %d +Warning: DateTime::setTime() expects parameter 3 to be int, array given in %s on line %d bool(false) -- uppercase NULL -- @@ -264,42 +264,42 @@ object(DateTime)#%d (3) { -- empty string DQ -- -Warning: DateTime::setTime() expects parameter 3 to be integer, string given in %s on line %d +Warning: DateTime::setTime() expects parameter 3 to be int, string given in %s on line %d bool(false) -- empty string SQ -- -Warning: DateTime::setTime() expects parameter 3 to be integer, string given in %s on line %d +Warning: DateTime::setTime() expects parameter 3 to be int, string given in %s on line %d bool(false) -- string DQ -- -Warning: DateTime::setTime() expects parameter 3 to be integer, string given in %s on line %d +Warning: DateTime::setTime() expects parameter 3 to be int, string given in %s on line %d bool(false) -- string SQ -- -Warning: DateTime::setTime() expects parameter 3 to be integer, string given in %s on line %d +Warning: DateTime::setTime() expects parameter 3 to be int, string given in %s on line %d bool(false) -- mixed case string -- -Warning: DateTime::setTime() expects parameter 3 to be integer, string given in %s on line %d +Warning: DateTime::setTime() expects parameter 3 to be int, string given in %s on line %d bool(false) -- heredoc -- -Warning: DateTime::setTime() expects parameter 3 to be integer, string given in %s on line %d +Warning: DateTime::setTime() expects parameter 3 to be int, string given in %s on line %d bool(false) -- instance of classWithToString -- -Warning: DateTime::setTime() expects parameter 3 to be integer, object given in %s on line %d +Warning: DateTime::setTime() expects parameter 3 to be int, object given in %s on line %d bool(false) -- instance of classWithoutToString -- -Warning: DateTime::setTime() expects parameter 3 to be integer, object given in %s on line %d +Warning: DateTime::setTime() expects parameter 3 to be int, object given in %s on line %d bool(false) -- undefined var -- @@ -324,6 +324,6 @@ object(DateTime)#%d (3) { -- resource -- -Warning: DateTime::setTime() expects parameter 3 to be integer, resource given in %s on line %d +Warning: DateTime::setTime() expects parameter 3 to be int, resource given in %s on line %d bool(false) ===DONE=== diff --git a/ext/date/tests/DateTime_setTimezone_variation1.phpt b/ext/date/tests/DateTime_setTimezone_variation1.phpt index b61edcb3f6..8baf3e50e2 100644 --- a/ext/date/tests/DateTime_setTimezone_variation1.phpt +++ b/ext/date/tests/DateTime_setTimezone_variation1.phpt @@ -112,22 +112,22 @@ fclose( $file_handle ); -- int 0 -- -Warning: DateTime::setTimezone() expects parameter 1 to be DateTimeZone, integer given in %s on line %d +Warning: DateTime::setTimezone() expects parameter 1 to be DateTimeZone, int given in %s on line %d bool(false) -- int 1 -- -Warning: DateTime::setTimezone() expects parameter 1 to be DateTimeZone, integer given in %s on line %d +Warning: DateTime::setTimezone() expects parameter 1 to be DateTimeZone, int given in %s on line %d bool(false) -- int 12345 -- -Warning: DateTime::setTimezone() expects parameter 1 to be DateTimeZone, integer given in %s on line %d +Warning: DateTime::setTimezone() expects parameter 1 to be DateTimeZone, int given in %s on line %d bool(false) -- int -12345 -- -Warning: DateTime::setTimezone() expects parameter 1 to be DateTimeZone, integer given in %s on line %d +Warning: DateTime::setTimezone() expects parameter 1 to be DateTimeZone, int given in %s on line %d bool(false) -- float 10.5 -- diff --git a/ext/date/tests/bug36988.phpt b/ext/date/tests/bug36988.phpt index 1223150988..ab0f3a3c8a 100644 --- a/ext/date/tests/bug36988.phpt +++ b/ext/date/tests/bug36988.phpt @@ -9,4 +9,4 @@ $start = microtime(true); $a = mktime(1, 1, 1, 1, 1, 11111111111); ?> --EXPECTF-- -Warning: mktime() expects parameter 6 to be integer, float given in %s on line %d +Warning: mktime() expects parameter 6 to be int, float given in %s on line %d diff --git a/ext/date/tests/bug52062.phpt b/ext/date/tests/bug52062.phpt index d8517e6a13..bc528e21d7 100644 --- a/ext/date/tests/bug52062.phpt +++ b/ext/date/tests/bug52062.phpt @@ -25,7 +25,7 @@ string(32) "5138-11-16 09:46:40 100000000000" bool(false) string(12) "100000000000" -Warning: DateTime::setTimestamp() expects parameter 1 to be integer, float given in %s on line %d +Warning: DateTime::setTimestamp() expects parameter 1 to be int, float given in %s on line %d string(32) "5138-11-16 09:46:40 100000000000" bool(false) string(10) "1215752192"
\ No newline at end of file diff --git a/ext/date/tests/bug70245.phpt b/ext/date/tests/bug70245.phpt index 4bf6256600..f754bf65a1 100644 --- a/ext/date/tests/bug70245.phpt +++ b/ext/date/tests/bug70245.phpt @@ -6,5 +6,5 @@ $d = new DateTime('2011-01-15 00:00:00'); var_dump(strtotime('-1 month', $d)); ?> --EXPECTF-- -Warning: strtotime() expects parameter 2 to be integer, object given in %sbug70245.php on line %d +Warning: strtotime() expects parameter 2 to be int, object given in %sbug70245.php on line %d bool(false) diff --git a/ext/date/tests/checkdate_variation1.phpt b/ext/date/tests/checkdate_variation1.phpt index a3539dd976..5892e1d37d 100644 --- a/ext/date/tests/checkdate_variation1.phpt +++ b/ext/date/tests/checkdate_variation1.phpt @@ -112,22 +112,22 @@ bool(false) -- empty array -- -Warning: checkdate() expects parameter 1 to be integer, array given in %s on line %d +Warning: checkdate() expects parameter 1 to be int, array given in %s on line %d bool(false) -- int indexed array -- -Warning: checkdate() expects parameter 1 to be integer, array given in %s on line %d +Warning: checkdate() expects parameter 1 to be int, array given in %s on line %d bool(false) -- associative array -- -Warning: checkdate() expects parameter 1 to be integer, array given in %s on line %d +Warning: checkdate() expects parameter 1 to be int, array given in %s on line %d bool(false) -- nested arrays -- -Warning: checkdate() expects parameter 1 to be integer, array given in %s on line %d +Warning: checkdate() expects parameter 1 to be int, array given in %s on line %d bool(false) -- uppercase NULL -- @@ -150,42 +150,42 @@ bool(false) -- empty string DQ -- -Warning: checkdate() expects parameter 1 to be integer, string given in %s on line %d +Warning: checkdate() expects parameter 1 to be int, string given in %s on line %d bool(false) -- empty string SQ -- -Warning: checkdate() expects parameter 1 to be integer, string given in %s on line %d +Warning: checkdate() expects parameter 1 to be int, string given in %s on line %d bool(false) -- string DQ -- -Warning: checkdate() expects parameter 1 to be integer, string given in %s on line %d +Warning: checkdate() expects parameter 1 to be int, string given in %s on line %d bool(false) -- string SQ -- -Warning: checkdate() expects parameter 1 to be integer, string given in %s on line %d +Warning: checkdate() expects parameter 1 to be int, string given in %s on line %d bool(false) -- mixed case string -- -Warning: checkdate() expects parameter 1 to be integer, string given in %s on line %d +Warning: checkdate() expects parameter 1 to be int, string given in %s on line %d bool(false) -- heredoc -- -Warning: checkdate() expects parameter 1 to be integer, string given in %s on line %d +Warning: checkdate() expects parameter 1 to be int, string given in %s on line %d bool(false) -- instance of classWithToString -- -Warning: checkdate() expects parameter 1 to be integer, object given in %s on line %d +Warning: checkdate() expects parameter 1 to be int, object given in %s on line %d bool(false) -- instance of classWithoutToString -- -Warning: checkdate() expects parameter 1 to be integer, object given in %s on line %d +Warning: checkdate() expects parameter 1 to be int, object given in %s on line %d bool(false) -- undefined var -- @@ -196,7 +196,7 @@ bool(false) -- resource -- -Warning: checkdate() expects parameter 1 to be integer, resource given in %s on line %d +Warning: checkdate() expects parameter 1 to be int, resource given in %s on line %d bool(false) ===DONE=== diff --git a/ext/date/tests/checkdate_variation2.phpt b/ext/date/tests/checkdate_variation2.phpt index 9948faf86f..d084931e5b 100644 --- a/ext/date/tests/checkdate_variation2.phpt +++ b/ext/date/tests/checkdate_variation2.phpt @@ -112,22 +112,22 @@ bool(false) -- empty array -- -Warning: checkdate() expects parameter 2 to be integer, array given in %s on line %d +Warning: checkdate() expects parameter 2 to be int, array given in %s on line %d bool(false) -- int indexed array -- -Warning: checkdate() expects parameter 2 to be integer, array given in %s on line %d +Warning: checkdate() expects parameter 2 to be int, array given in %s on line %d bool(false) -- associative array -- -Warning: checkdate() expects parameter 2 to be integer, array given in %s on line %d +Warning: checkdate() expects parameter 2 to be int, array given in %s on line %d bool(false) -- nested arrays -- -Warning: checkdate() expects parameter 2 to be integer, array given in %s on line %d +Warning: checkdate() expects parameter 2 to be int, array given in %s on line %d bool(false) -- uppercase NULL -- @@ -150,42 +150,42 @@ bool(false) -- empty string DQ -- -Warning: checkdate() expects parameter 2 to be integer, string given in %s on line %d +Warning: checkdate() expects parameter 2 to be int, string given in %s on line %d bool(false) -- empty string SQ -- -Warning: checkdate() expects parameter 2 to be integer, string given in %s on line %d +Warning: checkdate() expects parameter 2 to be int, string given in %s on line %d bool(false) -- string DQ -- -Warning: checkdate() expects parameter 2 to be integer, string given in %s on line %d +Warning: checkdate() expects parameter 2 to be int, string given in %s on line %d bool(false) -- string SQ -- -Warning: checkdate() expects parameter 2 to be integer, string given in %s on line %d +Warning: checkdate() expects parameter 2 to be int, string given in %s on line %d bool(false) -- mixed case string -- -Warning: checkdate() expects parameter 2 to be integer, string given in %s on line %d +Warning: checkdate() expects parameter 2 to be int, string given in %s on line %d bool(false) -- heredoc -- -Warning: checkdate() expects parameter 2 to be integer, string given in %s on line %d +Warning: checkdate() expects parameter 2 to be int, string given in %s on line %d bool(false) -- instance of classWithToString -- -Warning: checkdate() expects parameter 2 to be integer, object given in %s on line %d +Warning: checkdate() expects parameter 2 to be int, object given in %s on line %d bool(false) -- instance of classWithoutToString -- -Warning: checkdate() expects parameter 2 to be integer, object given in %s on line %d +Warning: checkdate() expects parameter 2 to be int, object given in %s on line %d bool(false) -- undefined var -- @@ -196,7 +196,7 @@ bool(false) -- resource -- -Warning: checkdate() expects parameter 2 to be integer, resource given in %s on line %d +Warning: checkdate() expects parameter 2 to be int, resource given in %s on line %d bool(false) ===DONE=== diff --git a/ext/date/tests/checkdate_variation3.phpt b/ext/date/tests/checkdate_variation3.phpt index a92bc0ce8c..1fda22b35b 100644 --- a/ext/date/tests/checkdate_variation3.phpt +++ b/ext/date/tests/checkdate_variation3.phpt @@ -112,22 +112,22 @@ bool(false) -- empty array -- -Warning: checkdate() expects parameter 3 to be integer, array given in %s on line %d +Warning: checkdate() expects parameter 3 to be int, array given in %s on line %d bool(false) -- int indexed array -- -Warning: checkdate() expects parameter 3 to be integer, array given in %s on line %d +Warning: checkdate() expects parameter 3 to be int, array given in %s on line %d bool(false) -- associative array -- -Warning: checkdate() expects parameter 3 to be integer, array given in %s on line %d +Warning: checkdate() expects parameter 3 to be int, array given in %s on line %d bool(false) -- nested arrays -- -Warning: checkdate() expects parameter 3 to be integer, array given in %s on line %d +Warning: checkdate() expects parameter 3 to be int, array given in %s on line %d bool(false) -- uppercase NULL -- @@ -150,42 +150,42 @@ bool(false) -- empty string DQ -- -Warning: checkdate() expects parameter 3 to be integer, string given in %s on line %d +Warning: checkdate() expects parameter 3 to be int, string given in %s on line %d bool(false) -- empty string SQ -- -Warning: checkdate() expects parameter 3 to be integer, string given in %s on line %d +Warning: checkdate() expects parameter 3 to be int, string given in %s on line %d bool(false) -- string DQ -- -Warning: checkdate() expects parameter 3 to be integer, string given in %s on line %d +Warning: checkdate() expects parameter 3 to be int, string given in %s on line %d bool(false) -- string SQ -- -Warning: checkdate() expects parameter 3 to be integer, string given in %s on line %d +Warning: checkdate() expects parameter 3 to be int, string given in %s on line %d bool(false) -- mixed case string -- -Warning: checkdate() expects parameter 3 to be integer, string given in %s on line %d +Warning: checkdate() expects parameter 3 to be int, string given in %s on line %d bool(false) -- heredoc -- -Warning: checkdate() expects parameter 3 to be integer, string given in %s on line %d +Warning: checkdate() expects parameter 3 to be int, string given in %s on line %d bool(false) -- instance of classWithToString -- -Warning: checkdate() expects parameter 3 to be integer, object given in %s on line %d +Warning: checkdate() expects parameter 3 to be int, object given in %s on line %d bool(false) -- instance of classWithoutToString -- -Warning: checkdate() expects parameter 3 to be integer, object given in %s on line %d +Warning: checkdate() expects parameter 3 to be int, object given in %s on line %d bool(false) -- undefined var -- @@ -196,6 +196,6 @@ bool(false) -- resource -- -Warning: checkdate() expects parameter 3 to be integer, resource given in %s on line %d +Warning: checkdate() expects parameter 3 to be int, resource given in %s on line %d bool(false) ===DONE=== diff --git a/ext/date/tests/date_create_variation2.phpt b/ext/date/tests/date_create_variation2.phpt index 63a5723cd7..55b0fe1771 100644 --- a/ext/date/tests/date_create_variation2.phpt +++ b/ext/date/tests/date_create_variation2.phpt @@ -112,22 +112,22 @@ fclose( $file_handle); -- int 0 -- -Warning: date_create() expects parameter 2 to be DateTimeZone, integer given in %s on line %d +Warning: date_create() expects parameter 2 to be DateTimeZone, int given in %s on line %d bool(false) -- int 1 -- -Warning: date_create() expects parameter 2 to be DateTimeZone, integer given in %s on line %d +Warning: date_create() expects parameter 2 to be DateTimeZone, int given in %s on line %d bool(false) -- int 12345 -- -Warning: date_create() expects parameter 2 to be DateTimeZone, integer given in %s on line %d +Warning: date_create() expects parameter 2 to be DateTimeZone, int given in %s on line %d bool(false) -- int -12345 -- -Warning: date_create() expects parameter 2 to be DateTimeZone, integer given in %s on line %d +Warning: date_create() expects parameter 2 to be DateTimeZone, int given in %s on line %d bool(false) -- float 10.5 -- diff --git a/ext/date/tests/date_date_set_variation1.phpt b/ext/date/tests/date_date_set_variation1.phpt index 59823f12b3..8e5432239e 100644 --- a/ext/date/tests/date_date_set_variation1.phpt +++ b/ext/date/tests/date_date_set_variation1.phpt @@ -114,22 +114,22 @@ fclose( $file_handle ); -- int 0 -- -Warning: date_date_set() expects parameter 1 to be DateTime, integer given in %s on line %d +Warning: date_date_set() expects parameter 1 to be DateTime, int given in %s on line %d bool(false) -- int 1 -- -Warning: date_date_set() expects parameter 1 to be DateTime, integer given in %s on line %d +Warning: date_date_set() expects parameter 1 to be DateTime, int given in %s on line %d bool(false) -- int 12345 -- -Warning: date_date_set() expects parameter 1 to be DateTime, integer given in %s on line %d +Warning: date_date_set() expects parameter 1 to be DateTime, int given in %s on line %d bool(false) -- int -12345 -- -Warning: date_date_set() expects parameter 1 to be DateTime, integer given in %s on line %d +Warning: date_date_set() expects parameter 1 to be DateTime, int given in %s on line %d bool(false) -- float 10.5 -- diff --git a/ext/date/tests/date_date_set_variation2.phpt b/ext/date/tests/date_date_set_variation2.phpt index ef4e8bb868..a41ffe94b7 100644 --- a/ext/date/tests/date_date_set_variation2.phpt +++ b/ext/date/tests/date_date_set_variation2.phpt @@ -184,22 +184,22 @@ object(DateTime)#%d (3) { -- empty array -- -Warning: date_date_set() expects parameter 2 to be integer, array given in %s on line %d +Warning: date_date_set() expects parameter 2 to be int, array given in %s on line %d bool(false) -- int indexed array -- -Warning: date_date_set() expects parameter 2 to be integer, array given in %s on line %d +Warning: date_date_set() expects parameter 2 to be int, array given in %s on line %d bool(false) -- associative array -- -Warning: date_date_set() expects parameter 2 to be integer, array given in %s on line %d +Warning: date_date_set() expects parameter 2 to be int, array given in %s on line %d bool(false) -- nested arrays -- -Warning: date_date_set() expects parameter 2 to be integer, array given in %s on line %d +Warning: date_date_set() expects parameter 2 to be int, array given in %s on line %d bool(false) -- uppercase NULL -- @@ -264,42 +264,42 @@ object(DateTime)#%d (3) { -- empty string DQ -- -Warning: date_date_set() expects parameter 2 to be integer, string given in %s on line %d +Warning: date_date_set() expects parameter 2 to be int, string given in %s on line %d bool(false) -- empty string SQ -- -Warning: date_date_set() expects parameter 2 to be integer, string given in %s on line %d +Warning: date_date_set() expects parameter 2 to be int, string given in %s on line %d bool(false) -- string DQ -- -Warning: date_date_set() expects parameter 2 to be integer, string given in %s on line %d +Warning: date_date_set() expects parameter 2 to be int, string given in %s on line %d bool(false) -- string SQ -- -Warning: date_date_set() expects parameter 2 to be integer, string given in %s on line %d +Warning: date_date_set() expects parameter 2 to be int, string given in %s on line %d bool(false) -- mixed case string -- -Warning: date_date_set() expects parameter 2 to be integer, string given in %s on line %d +Warning: date_date_set() expects parameter 2 to be int, string given in %s on line %d bool(false) -- heredoc -- -Warning: date_date_set() expects parameter 2 to be integer, string given in %s on line %d +Warning: date_date_set() expects parameter 2 to be int, string given in %s on line %d bool(false) -- instance of classWithToString -- -Warning: date_date_set() expects parameter 2 to be integer, object given in %s on line %d +Warning: date_date_set() expects parameter 2 to be int, object given in %s on line %d bool(false) -- instance of classWithoutToString -- -Warning: date_date_set() expects parameter 2 to be integer, object given in %s on line %d +Warning: date_date_set() expects parameter 2 to be int, object given in %s on line %d bool(false) -- undefined var -- @@ -324,6 +324,6 @@ object(DateTime)#%d (3) { -- resource -- -Warning: date_date_set() expects parameter 2 to be integer, resource given in %s on line %d +Warning: date_date_set() expects parameter 2 to be int, resource given in %s on line %d bool(false) ===DONE=== diff --git a/ext/date/tests/date_date_set_variation3.phpt b/ext/date/tests/date_date_set_variation3.phpt index f304dddba2..a5510fb50f 100644 --- a/ext/date/tests/date_date_set_variation3.phpt +++ b/ext/date/tests/date_date_set_variation3.phpt @@ -184,22 +184,22 @@ object(DateTime)#%d (3) { -- empty array -- -Warning: date_date_set() expects parameter 3 to be integer, array given in %s on line %d +Warning: date_date_set() expects parameter 3 to be int, array given in %s on line %d bool(false) -- int indexed array -- -Warning: date_date_set() expects parameter 3 to be integer, array given in %s on line %d +Warning: date_date_set() expects parameter 3 to be int, array given in %s on line %d bool(false) -- associative array -- -Warning: date_date_set() expects parameter 3 to be integer, array given in %s on line %d +Warning: date_date_set() expects parameter 3 to be int, array given in %s on line %d bool(false) -- nested arrays -- -Warning: date_date_set() expects parameter 3 to be integer, array given in %s on line %d +Warning: date_date_set() expects parameter 3 to be int, array given in %s on line %d bool(false) -- uppercase NULL -- @@ -264,42 +264,42 @@ object(DateTime)#%d (3) { -- empty string DQ -- -Warning: date_date_set() expects parameter 3 to be integer, string given in %s on line %d +Warning: date_date_set() expects parameter 3 to be int, string given in %s on line %d bool(false) -- empty string SQ -- -Warning: date_date_set() expects parameter 3 to be integer, string given in %s on line %d +Warning: date_date_set() expects parameter 3 to be int, string given in %s on line %d bool(false) -- string DQ -- -Warning: date_date_set() expects parameter 3 to be integer, string given in %s on line %d +Warning: date_date_set() expects parameter 3 to be int, string given in %s on line %d bool(false) -- string SQ -- -Warning: date_date_set() expects parameter 3 to be integer, string given in %s on line %d +Warning: date_date_set() expects parameter 3 to be int, string given in %s on line %d bool(false) -- mixed case string -- -Warning: date_date_set() expects parameter 3 to be integer, string given in %s on line %d +Warning: date_date_set() expects parameter 3 to be int, string given in %s on line %d bool(false) -- heredoc -- -Warning: date_date_set() expects parameter 3 to be integer, string given in %s on line %d +Warning: date_date_set() expects parameter 3 to be int, string given in %s on line %d bool(false) -- instance of classWithToString -- -Warning: date_date_set() expects parameter 3 to be integer, object given in %s on line %d +Warning: date_date_set() expects parameter 3 to be int, object given in %s on line %d bool(false) -- instance of classWithoutToString -- -Warning: date_date_set() expects parameter 3 to be integer, object given in %s on line %d +Warning: date_date_set() expects parameter 3 to be int, object given in %s on line %d bool(false) -- undefined var -- @@ -324,6 +324,6 @@ object(DateTime)#%d (3) { -- resource -- -Warning: date_date_set() expects parameter 3 to be integer, resource given in %s on line %d +Warning: date_date_set() expects parameter 3 to be int, resource given in %s on line %d bool(false) ===DONE=== diff --git a/ext/date/tests/date_date_set_variation4.phpt b/ext/date/tests/date_date_set_variation4.phpt index e285afd69f..de02a2a42c 100644 --- a/ext/date/tests/date_date_set_variation4.phpt +++ b/ext/date/tests/date_date_set_variation4.phpt @@ -3,14 +3,14 @@ Test date_date_set() function : usage variation - Passing unexpected values to f --FILE-- <?php /* Prototype : DateTime date_date_set ( DateTime $object , int $year , int $month , int $day ) - * Description: Resets the current date of the DateTime object to a different date. + * Description: Resets the current date of the DateTime object to a different date. * Source code: ext/date/php_date.c * Alias to functions: DateTime::setDate */ echo "*** Testing date_date_set() : usage variation - unexpected values to forth argument \$day***\n"; -//Set the default time zone +//Set the default time zone date_default_timezone_set("Europe/London"); //get an unset variable @@ -90,8 +90,8 @@ $inputs = array( // unset data 'unset var' => @$unset_var, - - // resource + + // resource 'resource' => $file_handle ); @@ -184,22 +184,22 @@ object(DateTime)#%d (3) { -- empty array -- -Warning: date_date_set() expects parameter 4 to be integer, array given in %s on line %d +Warning: date_date_set() expects parameter 4 to be int, array given in %s on line %d bool(false) -- int indexed array -- -Warning: date_date_set() expects parameter 4 to be integer, array given in %s on line %d +Warning: date_date_set() expects parameter 4 to be int, array given in %s on line %d bool(false) -- associative array -- -Warning: date_date_set() expects parameter 4 to be integer, array given in %s on line %d +Warning: date_date_set() expects parameter 4 to be int, array given in %s on line %d bool(false) -- nested arrays -- -Warning: date_date_set() expects parameter 4 to be integer, array given in %s on line %d +Warning: date_date_set() expects parameter 4 to be int, array given in %s on line %d bool(false) -- uppercase NULL -- @@ -264,42 +264,42 @@ object(DateTime)#%d (3) { -- empty string DQ -- -Warning: date_date_set() expects parameter 4 to be integer, string given in %s on line %d +Warning: date_date_set() expects parameter 4 to be int, string given in %s on line %d bool(false) -- empty string SQ -- -Warning: date_date_set() expects parameter 4 to be integer, string given in %s on line %d +Warning: date_date_set() expects parameter 4 to be int, string given in %s on line %d bool(false) -- string DQ -- -Warning: date_date_set() expects parameter 4 to be integer, string given in %s on line %d +Warning: date_date_set() expects parameter 4 to be int, string given in %s on line %d bool(false) -- string SQ -- -Warning: date_date_set() expects parameter 4 to be integer, string given in %s on line %d +Warning: date_date_set() expects parameter 4 to be int, string given in %s on line %d bool(false) -- mixed case string -- -Warning: date_date_set() expects parameter 4 to be integer, string given in %s on line %d +Warning: date_date_set() expects parameter 4 to be int, string given in %s on line %d bool(false) -- heredoc -- -Warning: date_date_set() expects parameter 4 to be integer, string given in %s on line %d +Warning: date_date_set() expects parameter 4 to be int, string given in %s on line %d bool(false) -- instance of classWithToString -- -Warning: date_date_set() expects parameter 4 to be integer, object given in %s on line %d +Warning: date_date_set() expects parameter 4 to be int, object given in %s on line %d bool(false) -- instance of classWithoutToString -- -Warning: date_date_set() expects parameter 4 to be integer, object given in %s on line %d +Warning: date_date_set() expects parameter 4 to be int, object given in %s on line %d bool(false) -- undefined var -- @@ -324,6 +324,6 @@ object(DateTime)#%d (3) { -- resource -- -Warning: date_date_set() expects parameter 4 to be integer, resource given in %s on line %d +Warning: date_date_set() expects parameter 4 to be int, resource given in %s on line %d bool(false) ===DONE=== diff --git a/ext/date/tests/date_error.phpt b/ext/date/tests/date_error.phpt index ec7ff9da41..1fa25e1b0c 100644 --- a/ext/date/tests/date_error.phpt +++ b/ext/date/tests/date_error.phpt @@ -34,6 +34,6 @@ bool(false) -- Testing date function with more than expected no. of arguments -- -Warning: checkdate() expects parameter 1 to be integer, string given in %s on line %d +Warning: checkdate() expects parameter 1 to be int, string given in %s on line %d bool(false) ===DONE=== diff --git a/ext/date/tests/date_format_error.phpt b/ext/date/tests/date_format_error.phpt index a563d0d974..8a170b098f 100644 --- a/ext/date/tests/date_format_error.phpt +++ b/ext/date/tests/date_format_error.phpt @@ -59,7 +59,7 @@ bool(false) Warning: date_format() expects parameter 1 to be DateTimeInterface, object given in %sp on line %d bool(false) -Warning: date_format() expects parameter 1 to be DateTimeInterface, integer given in %s on line %d +Warning: date_format() expects parameter 1 to be DateTimeInterface, int given in %s on line %d bool(false) Warning: date_format() expects parameter 1 to be DateTimeInterface, null given in %s on line %d diff --git a/ext/date/tests/date_format_variation1.phpt b/ext/date/tests/date_format_variation1.phpt index af76a7ef90..9818ce44d1 100644 --- a/ext/date/tests/date_format_variation1.phpt +++ b/ext/date/tests/date_format_variation1.phpt @@ -112,22 +112,22 @@ fclose( $file_handle ); -- int 0 -- -Warning: date_format() expects parameter 1 to be DateTimeInterface, integer given in %s on line %d +Warning: date_format() expects parameter 1 to be DateTimeInterface, int given in %s on line %d bool(false) -- int 1 -- -Warning: date_format() expects parameter 1 to be DateTimeInterface, integer given in %s on line %d +Warning: date_format() expects parameter 1 to be DateTimeInterface, int given in %s on line %d bool(false) -- int 12345 -- -Warning: date_format() expects parameter 1 to be DateTimeInterface, integer given in %s on line %d +Warning: date_format() expects parameter 1 to be DateTimeInterface, int given in %s on line %d bool(false) -- int -12345 -- -Warning: date_format() expects parameter 1 to be DateTimeInterface, integer given in %s on line %d +Warning: date_format() expects parameter 1 to be DateTimeInterface, int given in %s on line %d bool(false) -- float 10.5 -- diff --git a/ext/date/tests/date_isodate_set_error.phpt b/ext/date/tests/date_isodate_set_error.phpt index 9accd92d93..43651ef6a0 100644 --- a/ext/date/tests/date_isodate_set_error.phpt +++ b/ext/date/tests/date_isodate_set_error.phpt @@ -60,7 +60,7 @@ bool(false) Warning: date_isodate_set() expects parameter 1 to be DateTime, object given in %s on line %d bool(false) -Warning: date_isodate_set() expects parameter 1 to be DateTime, integer given in %s on line %d +Warning: date_isodate_set() expects parameter 1 to be DateTime, int given in %s on line %d bool(false) Warning: date_isodate_set() expects parameter 1 to be DateTime, null given in %s on line %d diff --git a/ext/date/tests/date_isodate_set_variation1.phpt b/ext/date/tests/date_isodate_set_variation1.phpt index 900dc84475..6bbba71b6c 100644 --- a/ext/date/tests/date_isodate_set_variation1.phpt +++ b/ext/date/tests/date_isodate_set_variation1.phpt @@ -114,22 +114,22 @@ fclose( $file_handle ); -- int 0 -- -Warning: date_isodate_set() expects parameter 1 to be DateTime, integer given in %s on line %d +Warning: date_isodate_set() expects parameter 1 to be DateTime, int given in %s on line %d bool(false) -- int 1 -- -Warning: date_isodate_set() expects parameter 1 to be DateTime, integer given in %s on line %d +Warning: date_isodate_set() expects parameter 1 to be DateTime, int given in %s on line %d bool(false) -- int 12345 -- -Warning: date_isodate_set() expects parameter 1 to be DateTime, integer given in %s on line %d +Warning: date_isodate_set() expects parameter 1 to be DateTime, int given in %s on line %d bool(false) -- int -12345 -- -Warning: date_isodate_set() expects parameter 1 to be DateTime, integer given in %s on line %d +Warning: date_isodate_set() expects parameter 1 to be DateTime, int given in %s on line %d bool(false) -- float 10.5 -- diff --git a/ext/date/tests/date_isodate_set_variation2.phpt b/ext/date/tests/date_isodate_set_variation2.phpt index fe667801a2..078abf0191 100644 --- a/ext/date/tests/date_isodate_set_variation2.phpt +++ b/ext/date/tests/date_isodate_set_variation2.phpt @@ -184,22 +184,22 @@ object(DateTime)#%d (3) { -- empty array -- -Warning: date_isodate_set() expects parameter 2 to be integer, array given in %s on line %d +Warning: date_isodate_set() expects parameter 2 to be int, array given in %s on line %d bool(false) -- int indexed array -- -Warning: date_isodate_set() expects parameter 2 to be integer, array given in %s on line %d +Warning: date_isodate_set() expects parameter 2 to be int, array given in %s on line %d bool(false) -- associative array -- -Warning: date_isodate_set() expects parameter 2 to be integer, array given in %s on line %d +Warning: date_isodate_set() expects parameter 2 to be int, array given in %s on line %d bool(false) -- nested arrays -- -Warning: date_isodate_set() expects parameter 2 to be integer, array given in %s on line %d +Warning: date_isodate_set() expects parameter 2 to be int, array given in %s on line %d bool(false) -- uppercase NULL -- @@ -264,42 +264,42 @@ object(DateTime)#%d (3) { -- empty string DQ -- -Warning: date_isodate_set() expects parameter 2 to be integer, string given in %s on line %d +Warning: date_isodate_set() expects parameter 2 to be int, string given in %s on line %d bool(false) -- empty string SQ -- -Warning: date_isodate_set() expects parameter 2 to be integer, string given in %s on line %d +Warning: date_isodate_set() expects parameter 2 to be int, string given in %s on line %d bool(false) -- string DQ -- -Warning: date_isodate_set() expects parameter 2 to be integer, string given in %s on line %d +Warning: date_isodate_set() expects parameter 2 to be int, string given in %s on line %d bool(false) -- string SQ -- -Warning: date_isodate_set() expects parameter 2 to be integer, string given in %s on line %d +Warning: date_isodate_set() expects parameter 2 to be int, string given in %s on line %d bool(false) -- mixed case string -- -Warning: date_isodate_set() expects parameter 2 to be integer, string given in %s on line %d +Warning: date_isodate_set() expects parameter 2 to be int, string given in %s on line %d bool(false) -- heredoc -- -Warning: date_isodate_set() expects parameter 2 to be integer, string given in %s on line %d +Warning: date_isodate_set() expects parameter 2 to be int, string given in %s on line %d bool(false) -- instance of classWithToString -- -Warning: date_isodate_set() expects parameter 2 to be integer, object given in %s on line %d +Warning: date_isodate_set() expects parameter 2 to be int, object given in %s on line %d bool(false) -- instance of classWithoutToString -- -Warning: date_isodate_set() expects parameter 2 to be integer, object given in %s on line %d +Warning: date_isodate_set() expects parameter 2 to be int, object given in %s on line %d bool(false) -- undefined var -- @@ -324,6 +324,6 @@ object(DateTime)#%d (3) { -- resource -- -Warning: date_isodate_set() expects parameter 2 to be integer, resource given in %s on line %d +Warning: date_isodate_set() expects parameter 2 to be int, resource given in %s on line %d bool(false) ===DONE=== diff --git a/ext/date/tests/date_isodate_set_variation3.phpt b/ext/date/tests/date_isodate_set_variation3.phpt index 5a7a4a2802..a9906dc97d 100644 --- a/ext/date/tests/date_isodate_set_variation3.phpt +++ b/ext/date/tests/date_isodate_set_variation3.phpt @@ -184,22 +184,22 @@ object(DateTime)#%d (3) { -- empty array -- -Warning: date_isodate_set() expects parameter 3 to be integer, array given in %s on line %d +Warning: date_isodate_set() expects parameter 3 to be int, array given in %s on line %d bool(false) -- int indexed array -- -Warning: date_isodate_set() expects parameter 3 to be integer, array given in %s on line %d +Warning: date_isodate_set() expects parameter 3 to be int, array given in %s on line %d bool(false) -- associative array -- -Warning: date_isodate_set() expects parameter 3 to be integer, array given in %s on line %d +Warning: date_isodate_set() expects parameter 3 to be int, array given in %s on line %d bool(false) -- nested arrays -- -Warning: date_isodate_set() expects parameter 3 to be integer, array given in %s on line %d +Warning: date_isodate_set() expects parameter 3 to be int, array given in %s on line %d bool(false) -- uppercase NULL -- @@ -264,42 +264,42 @@ object(DateTime)#%d (3) { -- empty string DQ -- -Warning: date_isodate_set() expects parameter 3 to be integer, string given in %s on line %d +Warning: date_isodate_set() expects parameter 3 to be int, string given in %s on line %d bool(false) -- empty string SQ -- -Warning: date_isodate_set() expects parameter 3 to be integer, string given in %s on line %d +Warning: date_isodate_set() expects parameter 3 to be int, string given in %s on line %d bool(false) -- string DQ -- -Warning: date_isodate_set() expects parameter 3 to be integer, string given in %s on line %d +Warning: date_isodate_set() expects parameter 3 to be int, string given in %s on line %d bool(false) -- string SQ -- -Warning: date_isodate_set() expects parameter 3 to be integer, string given in %s on line %d +Warning: date_isodate_set() expects parameter 3 to be int, string given in %s on line %d bool(false) -- mixed case string -- -Warning: date_isodate_set() expects parameter 3 to be integer, string given in %s on line %d +Warning: date_isodate_set() expects parameter 3 to be int, string given in %s on line %d bool(false) -- heredoc -- -Warning: date_isodate_set() expects parameter 3 to be integer, string given in %s on line %d +Warning: date_isodate_set() expects parameter 3 to be int, string given in %s on line %d bool(false) -- instance of classWithToString -- -Warning: date_isodate_set() expects parameter 3 to be integer, object given in %s on line %d +Warning: date_isodate_set() expects parameter 3 to be int, object given in %s on line %d bool(false) -- instance of classWithoutToString -- -Warning: date_isodate_set() expects parameter 3 to be integer, object given in %s on line %d +Warning: date_isodate_set() expects parameter 3 to be int, object given in %s on line %d bool(false) -- undefined var -- @@ -324,6 +324,6 @@ object(DateTime)#%d (3) { -- resource -- -Warning: date_isodate_set() expects parameter 3 to be integer, resource given in %s on line %d +Warning: date_isodate_set() expects parameter 3 to be int, resource given in %s on line %d bool(false) ===DONE=== diff --git a/ext/date/tests/date_isodate_set_variation4.phpt b/ext/date/tests/date_isodate_set_variation4.phpt index 074df8452f..0c94d515b0 100644 --- a/ext/date/tests/date_isodate_set_variation4.phpt +++ b/ext/date/tests/date_isodate_set_variation4.phpt @@ -184,22 +184,22 @@ object(DateTime)#%d (3) { -- empty array -- -Warning: date_isodate_set() expects parameter 4 to be integer, array given in %s on line %d +Warning: date_isodate_set() expects parameter 4 to be int, array given in %s on line %d bool(false) -- int indexed array -- -Warning: date_isodate_set() expects parameter 4 to be integer, array given in %s on line %d +Warning: date_isodate_set() expects parameter 4 to be int, array given in %s on line %d bool(false) -- associative array -- -Warning: date_isodate_set() expects parameter 4 to be integer, array given in %s on line %d +Warning: date_isodate_set() expects parameter 4 to be int, array given in %s on line %d bool(false) -- nested arrays -- -Warning: date_isodate_set() expects parameter 4 to be integer, array given in %s on line %d +Warning: date_isodate_set() expects parameter 4 to be int, array given in %s on line %d bool(false) -- uppercase NULL -- @@ -264,42 +264,42 @@ object(DateTime)#%d (3) { -- empty string DQ -- -Warning: date_isodate_set() expects parameter 4 to be integer, string given in %s on line %d +Warning: date_isodate_set() expects parameter 4 to be int, string given in %s on line %d bool(false) -- empty string SQ -- -Warning: date_isodate_set() expects parameter 4 to be integer, string given in %s on line %d +Warning: date_isodate_set() expects parameter 4 to be int, string given in %s on line %d bool(false) -- string DQ -- -Warning: date_isodate_set() expects parameter 4 to be integer, string given in %s on line %d +Warning: date_isodate_set() expects parameter 4 to be int, string given in %s on line %d bool(false) -- string SQ -- -Warning: date_isodate_set() expects parameter 4 to be integer, string given in %s on line %d +Warning: date_isodate_set() expects parameter 4 to be int, string given in %s on line %d bool(false) -- mixed case string -- -Warning: date_isodate_set() expects parameter 4 to be integer, string given in %s on line %d +Warning: date_isodate_set() expects parameter 4 to be int, string given in %s on line %d bool(false) -- heredoc -- -Warning: date_isodate_set() expects parameter 4 to be integer, string given in %s on line %d +Warning: date_isodate_set() expects parameter 4 to be int, string given in %s on line %d bool(false) -- instance of classWithToString -- -Warning: date_isodate_set() expects parameter 4 to be integer, object given in %s on line %d +Warning: date_isodate_set() expects parameter 4 to be int, object given in %s on line %d bool(false) -- instance of classWithoutToString -- -Warning: date_isodate_set() expects parameter 4 to be integer, object given in %s on line %d +Warning: date_isodate_set() expects parameter 4 to be int, object given in %s on line %d bool(false) -- undefined var -- @@ -324,6 +324,6 @@ object(DateTime)#%d (3) { -- resource -- -Warning: date_isodate_set() expects parameter 4 to be integer, resource given in %s on line %d +Warning: date_isodate_set() expects parameter 4 to be int, resource given in %s on line %d bool(false) ===DONE=== diff --git a/ext/date/tests/date_modify_error.phpt b/ext/date/tests/date_modify_error.phpt index ac727f1ca1..2bfd38bbe6 100644 --- a/ext/date/tests/date_modify_error.phpt +++ b/ext/date/tests/date_modify_error.phpt @@ -60,7 +60,7 @@ bool(false) Warning: date_modify() expects parameter 1 to be DateTime, object given in %s on line %d bool(false) -Warning: date_modify() expects parameter 1 to be DateTime, integer given in %s on line %d +Warning: date_modify() expects parameter 1 to be DateTime, int given in %s on line %d bool(false) Warning: date_modify() expects parameter 1 to be DateTime, null given in %s on line %d diff --git a/ext/date/tests/date_modify_variation1.phpt b/ext/date/tests/date_modify_variation1.phpt index afe75e2c69..9ca702b82e 100644 --- a/ext/date/tests/date_modify_variation1.phpt +++ b/ext/date/tests/date_modify_variation1.phpt @@ -112,22 +112,22 @@ fclose( $file_handle ); -- int 0 -- -Warning: date_modify() expects parameter 1 to be DateTime, integer given in %s on line %d +Warning: date_modify() expects parameter 1 to be DateTime, int given in %s on line %d bool(false) -- int 1 -- -Warning: date_modify() expects parameter 1 to be DateTime, integer given in %s on line %d +Warning: date_modify() expects parameter 1 to be DateTime, int given in %s on line %d bool(false) -- int 12345 -- -Warning: date_modify() expects parameter 1 to be DateTime, integer given in %s on line %d +Warning: date_modify() expects parameter 1 to be DateTime, int given in %s on line %d bool(false) -- int -12345 -- -Warning: date_modify() expects parameter 1 to be DateTime, integer given in %s on line %d +Warning: date_modify() expects parameter 1 to be DateTime, int given in %s on line %d bool(false) -- float 10.5 -- diff --git a/ext/date/tests/date_offset_get_error.phpt b/ext/date/tests/date_offset_get_error.phpt index 8531845ca7..7c1fa2a691 100644 --- a/ext/date/tests/date_offset_get_error.phpt +++ b/ext/date/tests/date_offset_get_error.phpt @@ -49,7 +49,7 @@ bool(false) Warning: date_offset_get() expects parameter 1 to be DateTimeInterface, object given in %s on line %d bool(false) -Warning: date_offset_get() expects parameter 1 to be DateTimeInterface, integer given in %s on line %d +Warning: date_offset_get() expects parameter 1 to be DateTimeInterface, int given in %s on line %d bool(false) Warning: date_offset_get() expects parameter 1 to be DateTimeInterface, null given in %s on line %d diff --git a/ext/date/tests/date_offset_get_variation1.phpt b/ext/date/tests/date_offset_get_variation1.phpt index a3d93b3f23..3a90957e89 100644 --- a/ext/date/tests/date_offset_get_variation1.phpt +++ b/ext/date/tests/date_offset_get_variation1.phpt @@ -110,22 +110,22 @@ fclose( $file_handle ); -- int 0 -- -Warning: date_offset_get() expects parameter 1 to be DateTimeInterface, integer given in %s on line %d +Warning: date_offset_get() expects parameter 1 to be DateTimeInterface, int given in %s on line %d bool(false) -- int 1 -- -Warning: date_offset_get() expects parameter 1 to be DateTimeInterface, integer given in %s on line %d +Warning: date_offset_get() expects parameter 1 to be DateTimeInterface, int given in %s on line %d bool(false) -- int 12345 -- -Warning: date_offset_get() expects parameter 1 to be DateTimeInterface, integer given in %s on line %d +Warning: date_offset_get() expects parameter 1 to be DateTimeInterface, int given in %s on line %d bool(false) -- int -12345 -- -Warning: date_offset_get() expects parameter 1 to be DateTimeInterface, integer given in %s on line %d +Warning: date_offset_get() expects parameter 1 to be DateTimeInterface, int given in %s on line %d bool(false) -- float 10.5 -- diff --git a/ext/date/tests/date_sun_info_variation1.phpt b/ext/date/tests/date_sun_info_variation1.phpt index 1faafea1d9..caf939efc0 100644 --- a/ext/date/tests/date_sun_info_variation1.phpt +++ b/ext/date/tests/date_sun_info_variation1.phpt @@ -413,32 +413,32 @@ array(9) { -- Iteration 16 -- -Warning: date_sun_info() expects parameter 1 to be integer, string given in %s on line %d +Warning: date_sun_info() expects parameter 1 to be int, string given in %s on line %d bool(false) -- Iteration 17 -- -Warning: date_sun_info() expects parameter 1 to be integer, string given in %s on line %d +Warning: date_sun_info() expects parameter 1 to be int, string given in %s on line %d bool(false) -- Iteration 18 -- -Warning: date_sun_info() expects parameter 1 to be integer, array given in %s on line %d +Warning: date_sun_info() expects parameter 1 to be int, array given in %s on line %d bool(false) -- Iteration 19 -- -Warning: date_sun_info() expects parameter 1 to be integer, string given in %s on line %d +Warning: date_sun_info() expects parameter 1 to be int, string given in %s on line %d bool(false) -- Iteration 20 -- -Warning: date_sun_info() expects parameter 1 to be integer, string given in %s on line %d +Warning: date_sun_info() expects parameter 1 to be int, string given in %s on line %d bool(false) -- Iteration 21 -- -Warning: date_sun_info() expects parameter 1 to be integer, string given in %s on line %d +Warning: date_sun_info() expects parameter 1 to be int, string given in %s on line %d bool(false) -- Iteration 22 -- @@ -487,6 +487,6 @@ array(9) { -- Iteration 24 -- -Warning: date_sun_info() expects parameter 1 to be integer, resource given in %s on line %d +Warning: date_sun_info() expects parameter 1 to be int, resource given in %s on line %d bool(false) ===Done=== diff --git a/ext/date/tests/date_sunrise_variation1.phpt b/ext/date/tests/date_sunrise_variation1.phpt index ccb0ad8325..87b2d79864 100644 --- a/ext/date/tests/date_sunrise_variation1.phpt +++ b/ext/date/tests/date_sunrise_variation1.phpt @@ -144,46 +144,46 @@ int(28596) --empty array-- -Warning: date_sunrise() expects parameter 1 to be integer, array given in %s on line %d +Warning: date_sunrise() expects parameter 1 to be int, array given in %s on line %d bool(false) -Warning: date_sunrise() expects parameter 1 to be integer, array given in %s on line %d +Warning: date_sunrise() expects parameter 1 to be int, array given in %s on line %d bool(false) -Warning: date_sunrise() expects parameter 1 to be integer, array given in %s on line %d +Warning: date_sunrise() expects parameter 1 to be int, array given in %s on line %d bool(false) --int indexed array-- -Warning: date_sunrise() expects parameter 1 to be integer, array given in %s on line %d +Warning: date_sunrise() expects parameter 1 to be int, array given in %s on line %d bool(false) -Warning: date_sunrise() expects parameter 1 to be integer, array given in %s on line %d +Warning: date_sunrise() expects parameter 1 to be int, array given in %s on line %d bool(false) -Warning: date_sunrise() expects parameter 1 to be integer, array given in %s on line %d +Warning: date_sunrise() expects parameter 1 to be int, array given in %s on line %d bool(false) --associative array-- -Warning: date_sunrise() expects parameter 1 to be integer, array given in %s on line %d +Warning: date_sunrise() expects parameter 1 to be int, array given in %s on line %d bool(false) -Warning: date_sunrise() expects parameter 1 to be integer, array given in %s on line %d +Warning: date_sunrise() expects parameter 1 to be int, array given in %s on line %d bool(false) -Warning: date_sunrise() expects parameter 1 to be integer, array given in %s on line %d +Warning: date_sunrise() expects parameter 1 to be int, array given in %s on line %d bool(false) --nested arrays-- -Warning: date_sunrise() expects parameter 1 to be integer, array given in %s on line %d +Warning: date_sunrise() expects parameter 1 to be int, array given in %s on line %d bool(false) -Warning: date_sunrise() expects parameter 1 to be integer, array given in %s on line %d +Warning: date_sunrise() expects parameter 1 to be int, array given in %s on line %d bool(false) -Warning: date_sunrise() expects parameter 1 to be integer, array given in %s on line %d +Warning: date_sunrise() expects parameter 1 to be int, array given in %s on line %d bool(false) --uppercase NULL-- @@ -218,90 +218,90 @@ int(28596) --empty string DQ-- -Warning: date_sunrise() expects parameter 1 to be integer, string given in %s on line %d +Warning: date_sunrise() expects parameter 1 to be int, string given in %s on line %d bool(false) -Warning: date_sunrise() expects parameter 1 to be integer, string given in %s on line %d +Warning: date_sunrise() expects parameter 1 to be int, string given in %s on line %d bool(false) -Warning: date_sunrise() expects parameter 1 to be integer, string given in %s on line %d +Warning: date_sunrise() expects parameter 1 to be int, string given in %s on line %d bool(false) --empty string SQ-- -Warning: date_sunrise() expects parameter 1 to be integer, string given in %s on line %d +Warning: date_sunrise() expects parameter 1 to be int, string given in %s on line %d bool(false) -Warning: date_sunrise() expects parameter 1 to be integer, string given in %s on line %d +Warning: date_sunrise() expects parameter 1 to be int, string given in %s on line %d bool(false) -Warning: date_sunrise() expects parameter 1 to be integer, string given in %s on line %d +Warning: date_sunrise() expects parameter 1 to be int, string given in %s on line %d bool(false) --string DQ-- -Warning: date_sunrise() expects parameter 1 to be integer, string given in %s on line %d +Warning: date_sunrise() expects parameter 1 to be int, string given in %s on line %d bool(false) -Warning: date_sunrise() expects parameter 1 to be integer, string given in %s on line %d +Warning: date_sunrise() expects parameter 1 to be int, string given in %s on line %d bool(false) -Warning: date_sunrise() expects parameter 1 to be integer, string given in %s on line %d +Warning: date_sunrise() expects parameter 1 to be int, string given in %s on line %d bool(false) --string SQ-- -Warning: date_sunrise() expects parameter 1 to be integer, string given in %s on line %d +Warning: date_sunrise() expects parameter 1 to be int, string given in %s on line %d bool(false) -Warning: date_sunrise() expects parameter 1 to be integer, string given in %s on line %d +Warning: date_sunrise() expects parameter 1 to be int, string given in %s on line %d bool(false) -Warning: date_sunrise() expects parameter 1 to be integer, string given in %s on line %d +Warning: date_sunrise() expects parameter 1 to be int, string given in %s on line %d bool(false) --mixed case string-- -Warning: date_sunrise() expects parameter 1 to be integer, string given in %s on line %d +Warning: date_sunrise() expects parameter 1 to be int, string given in %s on line %d bool(false) -Warning: date_sunrise() expects parameter 1 to be integer, string given in %s on line %d +Warning: date_sunrise() expects parameter 1 to be int, string given in %s on line %d bool(false) -Warning: date_sunrise() expects parameter 1 to be integer, string given in %s on line %d +Warning: date_sunrise() expects parameter 1 to be int, string given in %s on line %d bool(false) --heredoc-- -Warning: date_sunrise() expects parameter 1 to be integer, string given in %s on line %d +Warning: date_sunrise() expects parameter 1 to be int, string given in %s on line %d bool(false) -Warning: date_sunrise() expects parameter 1 to be integer, string given in %s on line %d +Warning: date_sunrise() expects parameter 1 to be int, string given in %s on line %d bool(false) -Warning: date_sunrise() expects parameter 1 to be integer, string given in %s on line %d +Warning: date_sunrise() expects parameter 1 to be int, string given in %s on line %d bool(false) --instance of classWithToString-- -Warning: date_sunrise() expects parameter 1 to be integer, object given in %s on line %d +Warning: date_sunrise() expects parameter 1 to be int, object given in %s on line %d bool(false) -Warning: date_sunrise() expects parameter 1 to be integer, object given in %s on line %d +Warning: date_sunrise() expects parameter 1 to be int, object given in %s on line %d bool(false) -Warning: date_sunrise() expects parameter 1 to be integer, object given in %s on line %d +Warning: date_sunrise() expects parameter 1 to be int, object given in %s on line %d bool(false) --instance of classWithoutToString-- -Warning: date_sunrise() expects parameter 1 to be integer, object given in %s on line %d +Warning: date_sunrise() expects parameter 1 to be int, object given in %s on line %d bool(false) -Warning: date_sunrise() expects parameter 1 to be integer, object given in %s on line %d +Warning: date_sunrise() expects parameter 1 to be int, object given in %s on line %d bool(false) -Warning: date_sunrise() expects parameter 1 to be integer, object given in %s on line %d +Warning: date_sunrise() expects parameter 1 to be int, object given in %s on line %d bool(false) --undefined var-- diff --git a/ext/date/tests/date_sunrise_variation2.phpt b/ext/date/tests/date_sunrise_variation2.phpt index 45519798f4..0a63d42793 100644 --- a/ext/date/tests/date_sunrise_variation2.phpt +++ b/ext/date/tests/date_sunrise_variation2.phpt @@ -116,12 +116,12 @@ bool(false) --float 12.3456789000e10-- -Warning: date_sunrise() expects parameter 2 to be integer, float given in %s on line %d +Warning: date_sunrise() expects parameter 2 to be int, float given in %s on line %d bool(false) --float -12.3456789000e10-- -Warning: date_sunrise() expects parameter 2 to be integer, float given in %s on line %d +Warning: date_sunrise() expects parameter 2 to be int, float given in %s on line %d bool(false) --float .5-- @@ -129,22 +129,22 @@ int(1218174468) --empty array-- -Warning: date_sunrise() expects parameter 2 to be integer, array given in %s on line %d +Warning: date_sunrise() expects parameter 2 to be int, array given in %s on line %d bool(false) --int indexed array-- -Warning: date_sunrise() expects parameter 2 to be integer, array given in %s on line %d +Warning: date_sunrise() expects parameter 2 to be int, array given in %s on line %d bool(false) --associative array-- -Warning: date_sunrise() expects parameter 2 to be integer, array given in %s on line %d +Warning: date_sunrise() expects parameter 2 to be int, array given in %s on line %d bool(false) --nested arrays-- -Warning: date_sunrise() expects parameter 2 to be integer, array given in %s on line %d +Warning: date_sunrise() expects parameter 2 to be int, array given in %s on line %d bool(false) --uppercase NULL-- @@ -167,42 +167,42 @@ int(1218174468) --empty string DQ-- -Warning: date_sunrise() expects parameter 2 to be integer, string given in %s on line %d +Warning: date_sunrise() expects parameter 2 to be int, string given in %s on line %d bool(false) --empty string SQ-- -Warning: date_sunrise() expects parameter 2 to be integer, string given in %s on line %d +Warning: date_sunrise() expects parameter 2 to be int, string given in %s on line %d bool(false) --string DQ-- -Warning: date_sunrise() expects parameter 2 to be integer, string given in %s on line %d +Warning: date_sunrise() expects parameter 2 to be int, string given in %s on line %d bool(false) --string SQ-- -Warning: date_sunrise() expects parameter 2 to be integer, string given in %s on line %d +Warning: date_sunrise() expects parameter 2 to be int, string given in %s on line %d bool(false) --mixed case string-- -Warning: date_sunrise() expects parameter 2 to be integer, string given in %s on line %d +Warning: date_sunrise() expects parameter 2 to be int, string given in %s on line %d bool(false) --heredoc-- -Warning: date_sunrise() expects parameter 2 to be integer, string given in %s on line %d +Warning: date_sunrise() expects parameter 2 to be int, string given in %s on line %d bool(false) --instance of classWithToString-- -Warning: date_sunrise() expects parameter 2 to be integer, object given in %s on line %d +Warning: date_sunrise() expects parameter 2 to be int, object given in %s on line %d bool(false) --instance of classWithoutToString-- -Warning: date_sunrise() expects parameter 2 to be integer, object given in %s on line %d +Warning: date_sunrise() expects parameter 2 to be int, object given in %s on line %d bool(false) --undefined var-- diff --git a/ext/date/tests/date_sunrise_variation9.phpt b/ext/date/tests/date_sunrise_variation9.phpt index 979fa455a0..17558a7e42 100644 --- a/ext/date/tests/date_sunrise_variation9.phpt +++ b/ext/date/tests/date_sunrise_variation9.phpt @@ -39,23 +39,23 @@ var_dump( date_sunrise($time, SUNFUNCS_RET_TIMESTAMP, $latitude, $longitude, $ze -- Testing date_sunrise() function by passing float 12.3456789000e10 value to time -- -Warning: date_sunrise() expects parameter 1 to be integer, float given in %s on line %d +Warning: date_sunrise() expects parameter 1 to be int, float given in %s on line %d bool(false) -Warning: date_sunrise() expects parameter 1 to be integer, float given in %s on line %d +Warning: date_sunrise() expects parameter 1 to be int, float given in %s on line %d bool(false) -Warning: date_sunrise() expects parameter 1 to be integer, float given in %s on line %d +Warning: date_sunrise() expects parameter 1 to be int, float given in %s on line %d bool(false) -- Testing date_sunrise() function by passing float -12.3456789000e10 value to time -- -Warning: date_sunrise() expects parameter 1 to be integer, float given in %s on line %d +Warning: date_sunrise() expects parameter 1 to be int, float given in %s on line %d bool(false) -Warning: date_sunrise() expects parameter 1 to be integer, float given in %s on line %d +Warning: date_sunrise() expects parameter 1 to be int, float given in %s on line %d bool(false) -Warning: date_sunrise() expects parameter 1 to be integer, float given in %s on line %d +Warning: date_sunrise() expects parameter 1 to be int, float given in %s on line %d bool(false) ===DONE===
\ No newline at end of file diff --git a/ext/date/tests/date_sunset_variation1.phpt b/ext/date/tests/date_sunset_variation1.phpt index 99b6230338..58e885b314 100644 --- a/ext/date/tests/date_sunset_variation1.phpt +++ b/ext/date/tests/date_sunset_variation1.phpt @@ -144,46 +144,46 @@ int(62545) --empty array-- -Warning: date_sunset() expects parameter 1 to be integer, array given in %s on line %d +Warning: date_sunset() expects parameter 1 to be int, array given in %s on line %d bool(false) -Warning: date_sunset() expects parameter 1 to be integer, array given in %s on line %d +Warning: date_sunset() expects parameter 1 to be int, array given in %s on line %d bool(false) -Warning: date_sunset() expects parameter 1 to be integer, array given in %s on line %d +Warning: date_sunset() expects parameter 1 to be int, array given in %s on line %d bool(false) --int indexed array-- -Warning: date_sunset() expects parameter 1 to be integer, array given in %s on line %d +Warning: date_sunset() expects parameter 1 to be int, array given in %s on line %d bool(false) -Warning: date_sunset() expects parameter 1 to be integer, array given in %s on line %d +Warning: date_sunset() expects parameter 1 to be int, array given in %s on line %d bool(false) -Warning: date_sunset() expects parameter 1 to be integer, array given in %s on line %d +Warning: date_sunset() expects parameter 1 to be int, array given in %s on line %d bool(false) --associative array-- -Warning: date_sunset() expects parameter 1 to be integer, array given in %s on line %d +Warning: date_sunset() expects parameter 1 to be int, array given in %s on line %d bool(false) -Warning: date_sunset() expects parameter 1 to be integer, array given in %s on line %d +Warning: date_sunset() expects parameter 1 to be int, array given in %s on line %d bool(false) -Warning: date_sunset() expects parameter 1 to be integer, array given in %s on line %d +Warning: date_sunset() expects parameter 1 to be int, array given in %s on line %d bool(false) --nested arrays-- -Warning: date_sunset() expects parameter 1 to be integer, array given in %s on line %d +Warning: date_sunset() expects parameter 1 to be int, array given in %s on line %d bool(false) -Warning: date_sunset() expects parameter 1 to be integer, array given in %s on line %d +Warning: date_sunset() expects parameter 1 to be int, array given in %s on line %d bool(false) -Warning: date_sunset() expects parameter 1 to be integer, array given in %s on line %d +Warning: date_sunset() expects parameter 1 to be int, array given in %s on line %d bool(false) --uppercase NULL-- @@ -218,90 +218,90 @@ int(62545) --empty string DQ-- -Warning: date_sunset() expects parameter 1 to be integer, string given in %s on line %d +Warning: date_sunset() expects parameter 1 to be int, string given in %s on line %d bool(false) -Warning: date_sunset() expects parameter 1 to be integer, string given in %s on line %d +Warning: date_sunset() expects parameter 1 to be int, string given in %s on line %d bool(false) -Warning: date_sunset() expects parameter 1 to be integer, string given in %s on line %d +Warning: date_sunset() expects parameter 1 to be int, string given in %s on line %d bool(false) --empty string SQ-- -Warning: date_sunset() expects parameter 1 to be integer, string given in %s on line %d +Warning: date_sunset() expects parameter 1 to be int, string given in %s on line %d bool(false) -Warning: date_sunset() expects parameter 1 to be integer, string given in %s on line %d +Warning: date_sunset() expects parameter 1 to be int, string given in %s on line %d bool(false) -Warning: date_sunset() expects parameter 1 to be integer, string given in %s on line %d +Warning: date_sunset() expects parameter 1 to be int, string given in %s on line %d bool(false) --string DQ-- -Warning: date_sunset() expects parameter 1 to be integer, string given in %s on line %d +Warning: date_sunset() expects parameter 1 to be int, string given in %s on line %d bool(false) -Warning: date_sunset() expects parameter 1 to be integer, string given in %s on line %d +Warning: date_sunset() expects parameter 1 to be int, string given in %s on line %d bool(false) -Warning: date_sunset() expects parameter 1 to be integer, string given in %s on line %d +Warning: date_sunset() expects parameter 1 to be int, string given in %s on line %d bool(false) --string SQ-- -Warning: date_sunset() expects parameter 1 to be integer, string given in %s on line %d +Warning: date_sunset() expects parameter 1 to be int, string given in %s on line %d bool(false) -Warning: date_sunset() expects parameter 1 to be integer, string given in %s on line %d +Warning: date_sunset() expects parameter 1 to be int, string given in %s on line %d bool(false) -Warning: date_sunset() expects parameter 1 to be integer, string given in %s on line %d +Warning: date_sunset() expects parameter 1 to be int, string given in %s on line %d bool(false) --mixed case string-- -Warning: date_sunset() expects parameter 1 to be integer, string given in %s on line %d +Warning: date_sunset() expects parameter 1 to be int, string given in %s on line %d bool(false) -Warning: date_sunset() expects parameter 1 to be integer, string given in %s on line %d +Warning: date_sunset() expects parameter 1 to be int, string given in %s on line %d bool(false) -Warning: date_sunset() expects parameter 1 to be integer, string given in %s on line %d +Warning: date_sunset() expects parameter 1 to be int, string given in %s on line %d bool(false) --heredoc-- -Warning: date_sunset() expects parameter 1 to be integer, string given in %s on line %d +Warning: date_sunset() expects parameter 1 to be int, string given in %s on line %d bool(false) -Warning: date_sunset() expects parameter 1 to be integer, string given in %s on line %d +Warning: date_sunset() expects parameter 1 to be int, string given in %s on line %d bool(false) -Warning: date_sunset() expects parameter 1 to be integer, string given in %s on line %d +Warning: date_sunset() expects parameter 1 to be int, string given in %s on line %d bool(false) --instance of classWithToString-- -Warning: date_sunset() expects parameter 1 to be integer, object given in %s on line %d +Warning: date_sunset() expects parameter 1 to be int, object given in %s on line %d bool(false) -Warning: date_sunset() expects parameter 1 to be integer, object given in %s on line %d +Warning: date_sunset() expects parameter 1 to be int, object given in %s on line %d bool(false) -Warning: date_sunset() expects parameter 1 to be integer, object given in %s on line %d +Warning: date_sunset() expects parameter 1 to be int, object given in %s on line %d bool(false) --instance of classWithoutToString-- -Warning: date_sunset() expects parameter 1 to be integer, object given in %s on line %d +Warning: date_sunset() expects parameter 1 to be int, object given in %s on line %d bool(false) -Warning: date_sunset() expects parameter 1 to be integer, object given in %s on line %d +Warning: date_sunset() expects parameter 1 to be int, object given in %s on line %d bool(false) -Warning: date_sunset() expects parameter 1 to be integer, object given in %s on line %d +Warning: date_sunset() expects parameter 1 to be int, object given in %s on line %d bool(false) --undefined var-- diff --git a/ext/date/tests/date_sunset_variation2.phpt b/ext/date/tests/date_sunset_variation2.phpt index 8015995fe0..6c9eca364f 100644 --- a/ext/date/tests/date_sunset_variation2.phpt +++ b/ext/date/tests/date_sunset_variation2.phpt @@ -116,12 +116,12 @@ bool(false) --float 12.3456789000e10-- -Warning: date_sunset() expects parameter 2 to be integer, float given in %s on line %d +Warning: date_sunset() expects parameter 2 to be int, float given in %s on line %d bool(false) --float -12.3456789000e10-- -Warning: date_sunset() expects parameter 2 to be integer, float given in %s on line %d +Warning: date_sunset() expects parameter 2 to be int, float given in %s on line %d bool(false) --float .5-- @@ -129,22 +129,22 @@ int(1218199264) --empty array-- -Warning: date_sunset() expects parameter 2 to be integer, array given in %s on line %d +Warning: date_sunset() expects parameter 2 to be int, array given in %s on line %d bool(false) --int indexed array-- -Warning: date_sunset() expects parameter 2 to be integer, array given in %s on line %d +Warning: date_sunset() expects parameter 2 to be int, array given in %s on line %d bool(false) --associative array-- -Warning: date_sunset() expects parameter 2 to be integer, array given in %s on line %d +Warning: date_sunset() expects parameter 2 to be int, array given in %s on line %d bool(false) --nested arrays-- -Warning: date_sunset() expects parameter 2 to be integer, array given in %s on line %d +Warning: date_sunset() expects parameter 2 to be int, array given in %s on line %d bool(false) --uppercase NULL-- @@ -167,42 +167,42 @@ int(1218199264) --empty string DQ-- -Warning: date_sunset() expects parameter 2 to be integer, string given in %s on line %d +Warning: date_sunset() expects parameter 2 to be int, string given in %s on line %d bool(false) --empty string SQ-- -Warning: date_sunset() expects parameter 2 to be integer, string given in %s on line %d +Warning: date_sunset() expects parameter 2 to be int, string given in %s on line %d bool(false) --string DQ-- -Warning: date_sunset() expects parameter 2 to be integer, string given in %s on line %d +Warning: date_sunset() expects parameter 2 to be int, string given in %s on line %d bool(false) --string SQ-- -Warning: date_sunset() expects parameter 2 to be integer, string given in %s on line %d +Warning: date_sunset() expects parameter 2 to be int, string given in %s on line %d bool(false) --mixed case string-- -Warning: date_sunset() expects parameter 2 to be integer, string given in %s on line %d +Warning: date_sunset() expects parameter 2 to be int, string given in %s on line %d bool(false) --heredoc-- -Warning: date_sunset() expects parameter 2 to be integer, string given in %s on line %d +Warning: date_sunset() expects parameter 2 to be int, string given in %s on line %d bool(false) --instance of classWithToString-- -Warning: date_sunset() expects parameter 2 to be integer, object given in %s on line %d +Warning: date_sunset() expects parameter 2 to be int, object given in %s on line %d bool(false) --instance of classWithoutToString-- -Warning: date_sunset() expects parameter 2 to be integer, object given in %s on line %d +Warning: date_sunset() expects parameter 2 to be int, object given in %s on line %d bool(false) --undefined var-- diff --git a/ext/date/tests/date_sunset_variation9.phpt b/ext/date/tests/date_sunset_variation9.phpt index c18d48e42c..56949b7e8f 100644 --- a/ext/date/tests/date_sunset_variation9.phpt +++ b/ext/date/tests/date_sunset_variation9.phpt @@ -39,23 +39,23 @@ var_dump( date_sunset($time, SUNFUNCS_RET_TIMESTAMP, $latitude, $longitude, $zen -- Testing date_sunset() function by passing float 12.3456789000e10 value to time -- -Warning: date_sunset() expects parameter 1 to be integer, float given in %s on line %d +Warning: date_sunset() expects parameter 1 to be int, float given in %s on line %d bool(false) -Warning: date_sunset() expects parameter 1 to be integer, float given in %s on line %d +Warning: date_sunset() expects parameter 1 to be int, float given in %s on line %d bool(false) -Warning: date_sunset() expects parameter 1 to be integer, float given in %s on line %d +Warning: date_sunset() expects parameter 1 to be int, float given in %s on line %d bool(false) -- Testing date_sunset() function by passing float -12.3456789000e10 value to time -- -Warning: date_sunset() expects parameter 1 to be integer, float given in %s on line %d +Warning: date_sunset() expects parameter 1 to be int, float given in %s on line %d bool(false) -Warning: date_sunset() expects parameter 1 to be integer, float given in %s on line %d +Warning: date_sunset() expects parameter 1 to be int, float given in %s on line %d bool(false) -Warning: date_sunset() expects parameter 1 to be integer, float given in %s on line %d +Warning: date_sunset() expects parameter 1 to be int, float given in %s on line %d bool(false) ===DONE=== diff --git a/ext/date/tests/date_time_set_error.phpt b/ext/date/tests/date_time_set_error.phpt index 5c5ddaf4d2..e722cc7151 100644 --- a/ext/date/tests/date_time_set_error.phpt +++ b/ext/date/tests/date_time_set_error.phpt @@ -63,7 +63,7 @@ bool(false) Warning: date_time_set() expects parameter 1 to be DateTime, object given in %s on line %d bool(false) -Warning: date_time_set() expects parameter 1 to be DateTime, integer given in %s on line %d +Warning: date_time_set() expects parameter 1 to be DateTime, int given in %s on line %d bool(false) Warning: date_time_set() expects parameter 1 to be DateTime, null given in %s on line %d diff --git a/ext/date/tests/date_time_set_variation1.phpt b/ext/date/tests/date_time_set_variation1.phpt index 64e65d58b8..27c6903cb2 100644 --- a/ext/date/tests/date_time_set_variation1.phpt +++ b/ext/date/tests/date_time_set_variation1.phpt @@ -114,22 +114,22 @@ fclose( $file_handle ); -- int 0 -- -Warning: date_time_set() expects parameter 1 to be DateTime, integer given in %s on line %d +Warning: date_time_set() expects parameter 1 to be DateTime, int given in %s on line %d bool(false) -- int 1 -- -Warning: date_time_set() expects parameter 1 to be DateTime, integer given in %s on line %d +Warning: date_time_set() expects parameter 1 to be DateTime, int given in %s on line %d bool(false) -- int 12345 -- -Warning: date_time_set() expects parameter 1 to be DateTime, integer given in %s on line %d +Warning: date_time_set() expects parameter 1 to be DateTime, int given in %s on line %d bool(false) -- int -12345 -- -Warning: date_time_set() expects parameter 1 to be DateTime, integer given in %s on line %d +Warning: date_time_set() expects parameter 1 to be DateTime, int given in %s on line %d bool(false) -- float 10.5 -- diff --git a/ext/date/tests/date_time_set_variation2.phpt b/ext/date/tests/date_time_set_variation2.phpt index 3e77fffada..6ab19f24ee 100644 --- a/ext/date/tests/date_time_set_variation2.phpt +++ b/ext/date/tests/date_time_set_variation2.phpt @@ -184,22 +184,22 @@ object(DateTime)#%d (3) { -- empty array -- -Warning: date_time_set() expects parameter 2 to be integer, array given in %s +Warning: date_time_set() expects parameter 2 to be int, array given in %s bool(false) -- int indexed array -- -Warning: date_time_set() expects parameter 2 to be integer, array given in %s +Warning: date_time_set() expects parameter 2 to be int, array given in %s bool(false) -- associative array -- -Warning: date_time_set() expects parameter 2 to be integer, array given in %s +Warning: date_time_set() expects parameter 2 to be int, array given in %s bool(false) -- nested arrays -- -Warning: date_time_set() expects parameter 2 to be integer, array given in %s +Warning: date_time_set() expects parameter 2 to be int, array given in %s bool(false) -- uppercase NULL -- @@ -264,42 +264,42 @@ object(DateTime)#%d (3) { -- empty string DQ -- -Warning: date_time_set() expects parameter 2 to be integer, string given in %s +Warning: date_time_set() expects parameter 2 to be int, string given in %s bool(false) -- empty string SQ -- -Warning: date_time_set() expects parameter 2 to be integer, string given in %s +Warning: date_time_set() expects parameter 2 to be int, string given in %s bool(false) -- string DQ -- -Warning: date_time_set() expects parameter 2 to be integer, string given in %s +Warning: date_time_set() expects parameter 2 to be int, string given in %s bool(false) -- string SQ -- -Warning: date_time_set() expects parameter 2 to be integer, string given in %s +Warning: date_time_set() expects parameter 2 to be int, string given in %s bool(false) -- mixed case string -- -Warning: date_time_set() expects parameter 2 to be integer, string given in %s +Warning: date_time_set() expects parameter 2 to be int, string given in %s bool(false) -- heredoc -- -Warning: date_time_set() expects parameter 2 to be integer, string given in %s +Warning: date_time_set() expects parameter 2 to be int, string given in %s bool(false) -- instance of classWithToString -- -Warning: date_time_set() expects parameter 2 to be integer, object given in %s +Warning: date_time_set() expects parameter 2 to be int, object given in %s bool(false) -- instance of classWithoutToString -- -Warning: date_time_set() expects parameter 2 to be integer, object given in %s +Warning: date_time_set() expects parameter 2 to be int, object given in %s bool(false) -- undefined var -- @@ -324,6 +324,6 @@ object(DateTime)#%d (3) { -- resource -- -Warning: date_time_set() expects parameter 2 to be integer, resource given in %s +Warning: date_time_set() expects parameter 2 to be int, resource given in %s bool(false) ===DONE=== diff --git a/ext/date/tests/date_time_set_variation3.phpt b/ext/date/tests/date_time_set_variation3.phpt index 12a60a118c..7293580553 100644 --- a/ext/date/tests/date_time_set_variation3.phpt +++ b/ext/date/tests/date_time_set_variation3.phpt @@ -184,22 +184,22 @@ object(DateTime)#3 (3) { -- empty array -- -Warning: date_time_set() expects parameter 3 to be integer, array given in %s on line %d +Warning: date_time_set() expects parameter 3 to be int, array given in %s on line %d bool(false) -- int indexed array -- -Warning: date_time_set() expects parameter 3 to be integer, array given in %s on line %d +Warning: date_time_set() expects parameter 3 to be int, array given in %s on line %d bool(false) -- associative array -- -Warning: date_time_set() expects parameter 3 to be integer, array given in %s on line %d +Warning: date_time_set() expects parameter 3 to be int, array given in %s on line %d bool(false) -- nested arrays -- -Warning: date_time_set() expects parameter 3 to be integer, array given in %s on line %d +Warning: date_time_set() expects parameter 3 to be int, array given in %s on line %d bool(false) -- uppercase NULL -- @@ -264,42 +264,42 @@ object(DateTime)#%d (3) { -- empty string DQ -- -Warning: date_time_set() expects parameter 3 to be integer, string given in %s on line %d +Warning: date_time_set() expects parameter 3 to be int, string given in %s on line %d bool(false) -- empty string SQ -- -Warning: date_time_set() expects parameter 3 to be integer, string given in %s on line %d +Warning: date_time_set() expects parameter 3 to be int, string given in %s on line %d bool(false) -- string DQ -- -Warning: date_time_set() expects parameter 3 to be integer, string given in %s on line %d +Warning: date_time_set() expects parameter 3 to be int, string given in %s on line %d bool(false) -- string SQ -- -Warning: date_time_set() expects parameter 3 to be integer, string given in %s on line %d +Warning: date_time_set() expects parameter 3 to be int, string given in %s on line %d bool(false) -- mixed case string -- -Warning: date_time_set() expects parameter 3 to be integer, string given in %s on line %d +Warning: date_time_set() expects parameter 3 to be int, string given in %s on line %d bool(false) -- heredoc -- -Warning: date_time_set() expects parameter 3 to be integer, string given in %s on line %d +Warning: date_time_set() expects parameter 3 to be int, string given in %s on line %d bool(false) -- instance of classWithToString -- -Warning: date_time_set() expects parameter 3 to be integer, object given in %s on line %d +Warning: date_time_set() expects parameter 3 to be int, object given in %s on line %d bool(false) -- instance of classWithoutToString -- -Warning: date_time_set() expects parameter 3 to be integer, object given in %s on line %d +Warning: date_time_set() expects parameter 3 to be int, object given in %s on line %d bool(false) -- undefined var -- @@ -324,6 +324,6 @@ object(DateTime)#%d (3) { -- resource -- -Warning: date_time_set() expects parameter 3 to be integer, resource given in %s on line %d +Warning: date_time_set() expects parameter 3 to be int, resource given in %s on line %d bool(false) ===DONE=== diff --git a/ext/date/tests/date_time_set_variation4.phpt b/ext/date/tests/date_time_set_variation4.phpt index aa05f7dd40..8a0d5c8caa 100644 --- a/ext/date/tests/date_time_set_variation4.phpt +++ b/ext/date/tests/date_time_set_variation4.phpt @@ -184,22 +184,22 @@ object(DateTime)#%d (3) { -- empty array -- -Warning: date_time_set() expects parameter 4 to be integer, array given in %s on line %d +Warning: date_time_set() expects parameter 4 to be int, array given in %s on line %d bool(false) -- int indexed array -- -Warning: date_time_set() expects parameter 4 to be integer, array given in %s on line %d +Warning: date_time_set() expects parameter 4 to be int, array given in %s on line %d bool(false) -- associative array -- -Warning: date_time_set() expects parameter 4 to be integer, array given in %s on line %d +Warning: date_time_set() expects parameter 4 to be int, array given in %s on line %d bool(false) -- nested arrays -- -Warning: date_time_set() expects parameter 4 to be integer, array given in %s on line %d +Warning: date_time_set() expects parameter 4 to be int, array given in %s on line %d bool(false) -- uppercase NULL -- @@ -264,42 +264,42 @@ object(DateTime)#%d (3) { -- empty string DQ -- -Warning: date_time_set() expects parameter 4 to be integer, string given in %s on line %d +Warning: date_time_set() expects parameter 4 to be int, string given in %s on line %d bool(false) -- empty string SQ -- -Warning: date_time_set() expects parameter 4 to be integer, string given in %s on line %d +Warning: date_time_set() expects parameter 4 to be int, string given in %s on line %d bool(false) -- string DQ -- -Warning: date_time_set() expects parameter 4 to be integer, string given in %s on line %d +Warning: date_time_set() expects parameter 4 to be int, string given in %s on line %d bool(false) -- string SQ -- -Warning: date_time_set() expects parameter 4 to be integer, string given in %s on line %d +Warning: date_time_set() expects parameter 4 to be int, string given in %s on line %d bool(false) -- mixed case string -- -Warning: date_time_set() expects parameter 4 to be integer, string given in %s on line %d +Warning: date_time_set() expects parameter 4 to be int, string given in %s on line %d bool(false) -- heredoc -- -Warning: date_time_set() expects parameter 4 to be integer, string given in %s on line %d +Warning: date_time_set() expects parameter 4 to be int, string given in %s on line %d bool(false) -- instance of classWithToString -- -Warning: date_time_set() expects parameter 4 to be integer, object given in %s on line %d +Warning: date_time_set() expects parameter 4 to be int, object given in %s on line %d bool(false) -- instance of classWithoutToString -- -Warning: date_time_set() expects parameter 4 to be integer, object given in %s on line %d +Warning: date_time_set() expects parameter 4 to be int, object given in %s on line %d bool(false) -- undefined var -- @@ -324,6 +324,6 @@ object(DateTime)#%d (3) { -- resource -- -Warning: date_time_set() expects parameter 4 to be integer, resource given in %s on line %d +Warning: date_time_set() expects parameter 4 to be int, resource given in %s on line %d bool(false) ===DONE=== diff --git a/ext/date/tests/date_timestamp_get.phpt b/ext/date/tests/date_timestamp_get.phpt index ec0258bdc0..acdf1e567e 100644 --- a/ext/date/tests/date_timestamp_get.phpt +++ b/ext/date/tests/date_timestamp_get.phpt @@ -17,4 +17,4 @@ bool(true) -Warning: date_timestamp_get() expects parameter 1 to be DateTimeInterface, integer given in %s on line %d +Warning: date_timestamp_get() expects parameter 1 to be DateTimeInterface, int given in %s on line %d diff --git a/ext/date/tests/date_timestamp_set_wrongparam_002.phpt b/ext/date/tests/date_timestamp_set_wrongparam_002.phpt index ed31cb217d..1b3a94bffd 100644 --- a/ext/date/tests/date_timestamp_set_wrongparam_002.phpt +++ b/ext/date/tests/date_timestamp_set_wrongparam_002.phpt @@ -12,4 +12,4 @@ $dftz021 = date_default_timezone_get(); //UTC date_timestamp_set(987654321, 123456789); ?> --EXPECTF-- -Warning: date_timestamp_set() expects parameter 1 to be DateTime, integer given in %s on line %d
\ No newline at end of file +Warning: date_timestamp_set() expects parameter 1 to be DateTime, int given in %s on line %d
\ No newline at end of file diff --git a/ext/date/tests/date_timestamp_set_wrongparam_003.phpt b/ext/date/tests/date_timestamp_set_wrongparam_003.phpt index 387313b13b..1243240c2d 100644 --- a/ext/date/tests/date_timestamp_set_wrongparam_003.phpt +++ b/ext/date/tests/date_timestamp_set_wrongparam_003.phpt @@ -16,4 +16,4 @@ $wrong_parameter = array(); date_timestamp_set($dtms021, $wrong_parameter); ?> --EXPECTF-- -Warning: date_timestamp_set() expects parameter 2 to be integer, array given in %s on line %d
\ No newline at end of file +Warning: date_timestamp_set() expects parameter 2 to be int, array given in %s on line %d
\ No newline at end of file diff --git a/ext/date/tests/date_timezone_get_error.phpt b/ext/date/tests/date_timezone_get_error.phpt index 01963c8224..4d8318431c 100644 --- a/ext/date/tests/date_timezone_get_error.phpt +++ b/ext/date/tests/date_timezone_get_error.phpt @@ -48,7 +48,7 @@ bool(false) Warning: date_timezone_get() expects parameter 1 to be DateTimeInterface, object given in %s on line %d bool(false) -Warning: date_timezone_get() expects parameter 1 to be DateTimeInterface, integer given in %s on line %d +Warning: date_timezone_get() expects parameter 1 to be DateTimeInterface, int given in %s on line %d bool(false) Warning: date_timezone_get() expects parameter 1 to be DateTimeInterface, null given in %s on line %d diff --git a/ext/date/tests/date_timezone_get_variation1.phpt b/ext/date/tests/date_timezone_get_variation1.phpt index 4bbd414895..6c60225ce6 100644 --- a/ext/date/tests/date_timezone_get_variation1.phpt +++ b/ext/date/tests/date_timezone_get_variation1.phpt @@ -110,22 +110,22 @@ fclose( $file_handle ); -- int 0 -- -Warning: date_timezone_get() expects parameter 1 to be DateTimeInterface, integer given in %s on line %d +Warning: date_timezone_get() expects parameter 1 to be DateTimeInterface, int given in %s on line %d bool(false) -- int 1 -- -Warning: date_timezone_get() expects parameter 1 to be DateTimeInterface, integer given in %s on line %d +Warning: date_timezone_get() expects parameter 1 to be DateTimeInterface, int given in %s on line %d bool(false) -- int 12345 -- -Warning: date_timezone_get() expects parameter 1 to be DateTimeInterface, integer given in %s on line %d +Warning: date_timezone_get() expects parameter 1 to be DateTimeInterface, int given in %s on line %d bool(false) -- int -12345 -- -Warning: date_timezone_get() expects parameter 1 to be DateTimeInterface, integer given in %s on line %d +Warning: date_timezone_get() expects parameter 1 to be DateTimeInterface, int given in %s on line %d bool(false) -- float 10.5 -- diff --git a/ext/date/tests/date_timezone_set_error.phpt b/ext/date/tests/date_timezone_set_error.phpt index 8c9c00d638..3ceebf7382 100644 --- a/ext/date/tests/date_timezone_set_error.phpt +++ b/ext/date/tests/date_timezone_set_error.phpt @@ -56,7 +56,7 @@ bool(false) Warning: date_timezone_set() expects parameter 1 to be DateTime, object given in %s on line %d bool(false) -Warning: date_timezone_set() expects parameter 1 to be DateTime, integer given in %s on line %d +Warning: date_timezone_set() expects parameter 1 to be DateTime, int given in %s on line %d bool(false) Warning: date_timezone_set() expects parameter 1 to be DateTime, null given in %s on line %d diff --git a/ext/date/tests/date_timezone_set_variation1.phpt b/ext/date/tests/date_timezone_set_variation1.phpt index 0adaf14b94..399681de42 100644 --- a/ext/date/tests/date_timezone_set_variation1.phpt +++ b/ext/date/tests/date_timezone_set_variation1.phpt @@ -113,22 +113,22 @@ fclose( $file_handle ); -- int 0 -- -Warning: date_timezone_set() expects parameter 1 to be DateTime, integer given in %s on line %d +Warning: date_timezone_set() expects parameter 1 to be DateTime, int given in %s on line %d bool(false) -- int 1 -- -Warning: date_timezone_set() expects parameter 1 to be DateTime, integer given in %s on line %d +Warning: date_timezone_set() expects parameter 1 to be DateTime, int given in %s on line %d bool(false) -- int 12345 -- -Warning: date_timezone_set() expects parameter 1 to be DateTime, integer given in %s on line %d +Warning: date_timezone_set() expects parameter 1 to be DateTime, int given in %s on line %d bool(false) -- int -12345 -- -Warning: date_timezone_set() expects parameter 1 to be DateTime, integer given in %s on line %d +Warning: date_timezone_set() expects parameter 1 to be DateTime, int given in %s on line %d bool(false) -- float 10.5 -- diff --git a/ext/date/tests/date_timezone_set_variation2.phpt b/ext/date/tests/date_timezone_set_variation2.phpt index 46ce4e5814..2c27cd9326 100644 --- a/ext/date/tests/date_timezone_set_variation2.phpt +++ b/ext/date/tests/date_timezone_set_variation2.phpt @@ -112,22 +112,22 @@ fclose( $file_handle ); -- int 0 -- -Warning: date_timezone_set() expects parameter 2 to be DateTimeZone, integer given in %s on line %d +Warning: date_timezone_set() expects parameter 2 to be DateTimeZone, int given in %s on line %d bool(false) -- int 1 -- -Warning: date_timezone_set() expects parameter 2 to be DateTimeZone, integer given in %s on line %d +Warning: date_timezone_set() expects parameter 2 to be DateTimeZone, int given in %s on line %d bool(false) -- int 12345 -- -Warning: date_timezone_set() expects parameter 2 to be DateTimeZone, integer given in %s on line %d +Warning: date_timezone_set() expects parameter 2 to be DateTimeZone, int given in %s on line %d bool(false) -- int -12345 -- -Warning: date_timezone_set() expects parameter 2 to be DateTimeZone, integer given in %s on line %d +Warning: date_timezone_set() expects parameter 2 to be DateTimeZone, int given in %s on line %d bool(false) -- float 10.5 -- diff --git a/ext/date/tests/date_variation2.phpt b/ext/date/tests/date_variation2.phpt index 597c4d83bb..5d2535c833 100644 --- a/ext/date/tests/date_variation2.phpt +++ b/ext/date/tests/date_variation2.phpt @@ -132,22 +132,22 @@ string(24) "January 1, 1970, 1:00 am" -- empty array -- -Warning: date() expects parameter 2 to be integer, array given in %s on line %d +Warning: date() expects parameter 2 to be int, array given in %s on line %d bool(false) -- int indexed array -- -Warning: date() expects parameter 2 to be integer, array given in %s on line %d +Warning: date() expects parameter 2 to be int, array given in %s on line %d bool(false) -- associative array -- -Warning: date() expects parameter 2 to be integer, array given in %s on line %d +Warning: date() expects parameter 2 to be int, array given in %s on line %d bool(false) -- nested arrays -- -Warning: date() expects parameter 2 to be integer, array given in %s on line %d +Warning: date() expects parameter 2 to be int, array given in %s on line %d bool(false) -- uppercase NULL -- @@ -170,42 +170,42 @@ string(24) "January 1, 1970, 1:00 am" -- empty string DQ -- -Warning: date() expects parameter 2 to be integer, string given in %s on line %d +Warning: date() expects parameter 2 to be int, string given in %s on line %d bool(false) -- empty string SQ -- -Warning: date() expects parameter 2 to be integer, string given in %s on line %d +Warning: date() expects parameter 2 to be int, string given in %s on line %d bool(false) -- string DQ -- -Warning: date() expects parameter 2 to be integer, string given in %s on line %d +Warning: date() expects parameter 2 to be int, string given in %s on line %d bool(false) -- string SQ -- -Warning: date() expects parameter 2 to be integer, string given in %s on line %d +Warning: date() expects parameter 2 to be int, string given in %s on line %d bool(false) -- mixed case string -- -Warning: date() expects parameter 2 to be integer, string given in %s on line %d +Warning: date() expects parameter 2 to be int, string given in %s on line %d bool(false) -- heredoc -- -Warning: date() expects parameter 2 to be integer, string given in %s on line %d +Warning: date() expects parameter 2 to be int, string given in %s on line %d bool(false) -- instance of classWithToString -- -Warning: date() expects parameter 2 to be integer, object given in %s on line %d +Warning: date() expects parameter 2 to be int, object given in %s on line %d bool(false) -- instance of classWithoutToString -- -Warning: date() expects parameter 2 to be integer, object given in %s on line %d +Warning: date() expects parameter 2 to be int, object given in %s on line %d bool(false) -- undefined var -- @@ -216,7 +216,7 @@ string(24) "January 1, 1970, 1:00 am" -- resource -- -Warning: date() expects parameter 2 to be integer, resource given in %s on line %d +Warning: date() expects parameter 2 to be int, resource given in %s on line %d bool(false) ===DONE=== diff --git a/ext/date/tests/getdate_variation1.phpt b/ext/date/tests/getdate_variation1.phpt index e0b8bab008..c74eb4c715 100644 --- a/ext/date/tests/getdate_variation1.phpt +++ b/ext/date/tests/getdate_variation1.phpt @@ -175,22 +175,22 @@ array(11) { --empty array-- -Warning: getdate() expects parameter 1 to be integer, array given in %s on line %d +Warning: getdate() expects parameter 1 to be int, array given in %s on line %d bool(false) --int indexed array-- -Warning: getdate() expects parameter 1 to be integer, array given in %s on line %d +Warning: getdate() expects parameter 1 to be int, array given in %s on line %d bool(false) --associative array-- -Warning: getdate() expects parameter 1 to be integer, array given in %s on line %d +Warning: getdate() expects parameter 1 to be int, array given in %s on line %d bool(false) --nested arrays-- -Warning: getdate() expects parameter 1 to be integer, array given in %s on line %d +Warning: getdate() expects parameter 1 to be int, array given in %s on line %d bool(false) --uppercase NULL-- @@ -351,42 +351,42 @@ array(11) { --empty string DQ-- -Warning: getdate() expects parameter 1 to be integer, string given in %s on line %d +Warning: getdate() expects parameter 1 to be int, string given in %s on line %d bool(false) --empty string SQ-- -Warning: getdate() expects parameter 1 to be integer, string given in %s on line %d +Warning: getdate() expects parameter 1 to be int, string given in %s on line %d bool(false) --string DQ-- -Warning: getdate() expects parameter 1 to be integer, string given in %s on line %d +Warning: getdate() expects parameter 1 to be int, string given in %s on line %d bool(false) --string SQ-- -Warning: getdate() expects parameter 1 to be integer, string given in %s on line %d +Warning: getdate() expects parameter 1 to be int, string given in %s on line %d bool(false) --mixed case string-- -Warning: getdate() expects parameter 1 to be integer, string given in %s on line %d +Warning: getdate() expects parameter 1 to be int, string given in %s on line %d bool(false) --heredoc-- -Warning: getdate() expects parameter 1 to be integer, string given in %s on line %d +Warning: getdate() expects parameter 1 to be int, string given in %s on line %d bool(false) --instance of classWithToString-- -Warning: getdate() expects parameter 1 to be integer, object given in %s on line %d +Warning: getdate() expects parameter 1 to be int, object given in %s on line %d bool(false) --instance of classWithoutToString-- -Warning: getdate() expects parameter 1 to be integer, object given in %s on line %d +Warning: getdate() expects parameter 1 to be int, object given in %s on line %d bool(false) --undefined var-- diff --git a/ext/date/tests/getdate_variation7.phpt b/ext/date/tests/getdate_variation7.phpt index 0f0165edea..dcff205f68 100644 --- a/ext/date/tests/getdate_variation7.phpt +++ b/ext/date/tests/getdate_variation7.phpt @@ -27,11 +27,11 @@ var_dump( getdate($timestamp) ); -- Testing getdate() function by passing float 12.3456789000e10 value to timestamp -- -Warning: getdate() expects parameter 1 to be integer, float given in %s on line %d +Warning: getdate() expects parameter 1 to be int, float given in %s on line %d bool(false) -- Testing getdate() function by passing float -12.3456789000e10 value to timestamp -- -Warning: getdate() expects parameter 1 to be integer, float given in %s on line %d +Warning: getdate() expects parameter 1 to be int, float given in %s on line %d bool(false) ===DONE===
\ No newline at end of file diff --git a/ext/date/tests/gmdate_variation14.phpt b/ext/date/tests/gmdate_variation14.phpt index 4b58febaea..70c6b67c47 100644 --- a/ext/date/tests/gmdate_variation14.phpt +++ b/ext/date/tests/gmdate_variation14.phpt @@ -30,11 +30,11 @@ var_dump( gmdate($format, $timestamp) ); -- Testing gmdate() function with float 12.3456789000e10 to timestamp -- -Warning: gmdate() expects parameter 2 to be integer, float given in %s on line %d +Warning: gmdate() expects parameter 2 to be int, float given in %s on line %d bool(false) -- Testing gmdate() function with float -12.3456789000e10 to timestamp -- -Warning: gmdate() expects parameter 2 to be integer, float given in %s on line %d +Warning: gmdate() expects parameter 2 to be int, float given in %s on line %d bool(false) ===DONE===
\ No newline at end of file diff --git a/ext/date/tests/gmdate_variation2.phpt b/ext/date/tests/gmdate_variation2.phpt index 3a2ba5e69f..f22c52fcd0 100644 --- a/ext/date/tests/gmdate_variation2.phpt +++ b/ext/date/tests/gmdate_variation2.phpt @@ -126,22 +126,22 @@ string(24) "1970-01-01T00:00:00+0000" --empty array-- -Warning: gmdate() expects parameter 2 to be integer, array given in %s on line %d +Warning: gmdate() expects parameter 2 to be int, array given in %s on line %d bool(false) --int indexed array-- -Warning: gmdate() expects parameter 2 to be integer, array given in %s on line %d +Warning: gmdate() expects parameter 2 to be int, array given in %s on line %d bool(false) --associative array-- -Warning: gmdate() expects parameter 2 to be integer, array given in %s on line %d +Warning: gmdate() expects parameter 2 to be int, array given in %s on line %d bool(false) --nested arrays-- -Warning: gmdate() expects parameter 2 to be integer, array given in %s on line %d +Warning: gmdate() expects parameter 2 to be int, array given in %s on line %d bool(false) --uppercase NULL-- @@ -164,42 +164,42 @@ string(24) "1970-01-01T00:00:00+0000" --empty string DQ-- -Warning: gmdate() expects parameter 2 to be integer, string given in %s on line %d +Warning: gmdate() expects parameter 2 to be int, string given in %s on line %d bool(false) --empty string SQ-- -Warning: gmdate() expects parameter 2 to be integer, string given in %s on line %d +Warning: gmdate() expects parameter 2 to be int, string given in %s on line %d bool(false) --string DQ-- -Warning: gmdate() expects parameter 2 to be integer, string given in %s on line %d +Warning: gmdate() expects parameter 2 to be int, string given in %s on line %d bool(false) --string SQ-- -Warning: gmdate() expects parameter 2 to be integer, string given in %s on line %d +Warning: gmdate() expects parameter 2 to be int, string given in %s on line %d bool(false) --mixed case string-- -Warning: gmdate() expects parameter 2 to be integer, string given in %s on line %d +Warning: gmdate() expects parameter 2 to be int, string given in %s on line %d bool(false) --heredoc-- -Warning: gmdate() expects parameter 2 to be integer, string given in %s on line %d +Warning: gmdate() expects parameter 2 to be int, string given in %s on line %d bool(false) --instance of classWithToString-- -Warning: gmdate() expects parameter 2 to be integer, object given in %s on line %d +Warning: gmdate() expects parameter 2 to be int, object given in %s on line %d bool(false) --instance of classWithoutToString-- -Warning: gmdate() expects parameter 2 to be integer, object given in %s on line %d +Warning: gmdate() expects parameter 2 to be int, object given in %s on line %d bool(false) --undefined var-- diff --git a/ext/date/tests/gmmktime_variation1.phpt b/ext/date/tests/gmmktime_variation1.phpt index 2792c1000c..d0e4da8fce 100644 --- a/ext/date/tests/gmmktime_variation1.phpt +++ b/ext/date/tests/gmmktime_variation1.phpt @@ -110,22 +110,22 @@ int(1218154088) --empty array-- -Warning: gmmktime() expects parameter 1 to be integer, array given in %s on line %d +Warning: gmmktime() expects parameter 1 to be int, array given in %s on line %d bool(false) --int indexed array-- -Warning: gmmktime() expects parameter 1 to be integer, array given in %s on line %d +Warning: gmmktime() expects parameter 1 to be int, array given in %s on line %d bool(false) --associative array-- -Warning: gmmktime() expects parameter 1 to be integer, array given in %s on line %d +Warning: gmmktime() expects parameter 1 to be int, array given in %s on line %d bool(false) --nested arrays-- -Warning: gmmktime() expects parameter 1 to be integer, array given in %s on line %d +Warning: gmmktime() expects parameter 1 to be int, array given in %s on line %d bool(false) --uppercase NULL-- @@ -148,42 +148,42 @@ int(1218154088) --empty string DQ-- -Warning: gmmktime() expects parameter 1 to be integer, string given in %s on line %d +Warning: gmmktime() expects parameter 1 to be int, string given in %s on line %d bool(false) --empty string SQ-- -Warning: gmmktime() expects parameter 1 to be integer, string given in %s on line %d +Warning: gmmktime() expects parameter 1 to be int, string given in %s on line %d bool(false) --string DQ-- -Warning: gmmktime() expects parameter 1 to be integer, string given in %s on line %d +Warning: gmmktime() expects parameter 1 to be int, string given in %s on line %d bool(false) --string SQ-- -Warning: gmmktime() expects parameter 1 to be integer, string given in %s on line %d +Warning: gmmktime() expects parameter 1 to be int, string given in %s on line %d bool(false) --mixed case string-- -Warning: gmmktime() expects parameter 1 to be integer, string given in %s on line %d +Warning: gmmktime() expects parameter 1 to be int, string given in %s on line %d bool(false) --heredoc-- -Warning: gmmktime() expects parameter 1 to be integer, string given in %s on line %d +Warning: gmmktime() expects parameter 1 to be int, string given in %s on line %d bool(false) --instance of classWithToString-- -Warning: gmmktime() expects parameter 1 to be integer, object given in %s on line %d +Warning: gmmktime() expects parameter 1 to be int, object given in %s on line %d bool(false) --instance of classWithoutToString-- -Warning: gmmktime() expects parameter 1 to be integer, object given in %s on line %d +Warning: gmmktime() expects parameter 1 to be int, object given in %s on line %d bool(false) --undefined var-- diff --git a/ext/date/tests/gmmktime_variation2.phpt b/ext/date/tests/gmmktime_variation2.phpt index b53430d46b..5f77347a7e 100644 --- a/ext/date/tests/gmmktime_variation2.phpt +++ b/ext/date/tests/gmmktime_variation2.phpt @@ -110,22 +110,22 @@ int(1218182408) --empty array-- -Warning: gmmktime() expects parameter 2 to be integer, array given in %s on line %d +Warning: gmmktime() expects parameter 2 to be int, array given in %s on line %d bool(false) --int indexed array-- -Warning: gmmktime() expects parameter 2 to be integer, array given in %s on line %d +Warning: gmmktime() expects parameter 2 to be int, array given in %s on line %d bool(false) --associative array-- -Warning: gmmktime() expects parameter 2 to be integer, array given in %s on line %d +Warning: gmmktime() expects parameter 2 to be int, array given in %s on line %d bool(false) --nested arrays-- -Warning: gmmktime() expects parameter 2 to be integer, array given in %s on line %d +Warning: gmmktime() expects parameter 2 to be int, array given in %s on line %d bool(false) --uppercase NULL-- @@ -148,42 +148,42 @@ int(1218182408) --empty string DQ-- -Warning: gmmktime() expects parameter 2 to be integer, string given in %s on line %d +Warning: gmmktime() expects parameter 2 to be int, string given in %s on line %d bool(false) --empty string SQ-- -Warning: gmmktime() expects parameter 2 to be integer, string given in %s on line %d +Warning: gmmktime() expects parameter 2 to be int, string given in %s on line %d bool(false) --string DQ-- -Warning: gmmktime() expects parameter 2 to be integer, string given in %s on line %d +Warning: gmmktime() expects parameter 2 to be int, string given in %s on line %d bool(false) --string SQ-- -Warning: gmmktime() expects parameter 2 to be integer, string given in %s on line %d +Warning: gmmktime() expects parameter 2 to be int, string given in %s on line %d bool(false) --mixed case string-- -Warning: gmmktime() expects parameter 2 to be integer, string given in %s on line %d +Warning: gmmktime() expects parameter 2 to be int, string given in %s on line %d bool(false) --heredoc-- -Warning: gmmktime() expects parameter 2 to be integer, string given in %s on line %d +Warning: gmmktime() expects parameter 2 to be int, string given in %s on line %d bool(false) --instance of classWithToString-- -Warning: gmmktime() expects parameter 2 to be integer, object given in %s on line %d +Warning: gmmktime() expects parameter 2 to be int, object given in %s on line %d bool(false) --instance of classWithoutToString-- -Warning: gmmktime() expects parameter 2 to be integer, object given in %s on line %d +Warning: gmmktime() expects parameter 2 to be int, object given in %s on line %d bool(false) --undefined var-- diff --git a/ext/date/tests/gmmktime_variation3.phpt b/ext/date/tests/gmmktime_variation3.phpt index 5a7bdcb0bb..a3878ccd01 100644 --- a/ext/date/tests/gmmktime_variation3.phpt +++ b/ext/date/tests/gmmktime_variation3.phpt @@ -110,22 +110,22 @@ int(1218182880) --empty array-- -Warning: gmmktime() expects parameter 3 to be integer, array given in %s on line %d +Warning: gmmktime() expects parameter 3 to be int, array given in %s on line %d bool(false) --int indexed array-- -Warning: gmmktime() expects parameter 3 to be integer, array given in %s on line %d +Warning: gmmktime() expects parameter 3 to be int, array given in %s on line %d bool(false) --associative array-- -Warning: gmmktime() expects parameter 3 to be integer, array given in %s on line %d +Warning: gmmktime() expects parameter 3 to be int, array given in %s on line %d bool(false) --nested arrays-- -Warning: gmmktime() expects parameter 3 to be integer, array given in %s on line %d +Warning: gmmktime() expects parameter 3 to be int, array given in %s on line %d bool(false) --uppercase NULL-- @@ -148,42 +148,42 @@ int(1218182880) --empty string DQ-- -Warning: gmmktime() expects parameter 3 to be integer, string given in %s on line %d +Warning: gmmktime() expects parameter 3 to be int, string given in %s on line %d bool(false) --empty string SQ-- -Warning: gmmktime() expects parameter 3 to be integer, string given in %s on line %d +Warning: gmmktime() expects parameter 3 to be int, string given in %s on line %d bool(false) --string DQ-- -Warning: gmmktime() expects parameter 3 to be integer, string given in %s on line %d +Warning: gmmktime() expects parameter 3 to be int, string given in %s on line %d bool(false) --string SQ-- -Warning: gmmktime() expects parameter 3 to be integer, string given in %s on line %d +Warning: gmmktime() expects parameter 3 to be int, string given in %s on line %d bool(false) --mixed case string-- -Warning: gmmktime() expects parameter 3 to be integer, string given in %s on line %d +Warning: gmmktime() expects parameter 3 to be int, string given in %s on line %d bool(false) --heredoc-- -Warning: gmmktime() expects parameter 3 to be integer, string given in %s on line %d +Warning: gmmktime() expects parameter 3 to be int, string given in %s on line %d bool(false) --instance of classWithToString-- -Warning: gmmktime() expects parameter 3 to be integer, object given in %s on line %d +Warning: gmmktime() expects parameter 3 to be int, object given in %s on line %d bool(false) --instance of classWithoutToString-- -Warning: gmmktime() expects parameter 3 to be integer, object given in %s on line %d +Warning: gmmktime() expects parameter 3 to be int, object given in %s on line %d bool(false) --undefined var-- diff --git a/ext/date/tests/gmmktime_variation4.phpt b/ext/date/tests/gmmktime_variation4.phpt index de88ab56dc..41ae07afa1 100644 --- a/ext/date/tests/gmmktime_variation4.phpt +++ b/ext/date/tests/gmmktime_variation4.phpt @@ -110,22 +110,22 @@ int(1197101288) --empty array-- -Warning: gmmktime() expects parameter 4 to be integer, array given in %s on line %d +Warning: gmmktime() expects parameter 4 to be int, array given in %s on line %d bool(false) --int indexed array-- -Warning: gmmktime() expects parameter 4 to be integer, array given in %s on line %d +Warning: gmmktime() expects parameter 4 to be int, array given in %s on line %d bool(false) --associative array-- -Warning: gmmktime() expects parameter 4 to be integer, array given in %s on line %d +Warning: gmmktime() expects parameter 4 to be int, array given in %s on line %d bool(false) --nested arrays-- -Warning: gmmktime() expects parameter 4 to be integer, array given in %s on line %d +Warning: gmmktime() expects parameter 4 to be int, array given in %s on line %d bool(false) --uppercase NULL-- @@ -148,42 +148,42 @@ int(1197101288) --empty string DQ-- -Warning: gmmktime() expects parameter 4 to be integer, string given in %s on line %d +Warning: gmmktime() expects parameter 4 to be int, string given in %s on line %d bool(false) --empty string SQ-- -Warning: gmmktime() expects parameter 4 to be integer, string given in %s on line %d +Warning: gmmktime() expects parameter 4 to be int, string given in %s on line %d bool(false) --string DQ-- -Warning: gmmktime() expects parameter 4 to be integer, string given in %s on line %d +Warning: gmmktime() expects parameter 4 to be int, string given in %s on line %d bool(false) --string SQ-- -Warning: gmmktime() expects parameter 4 to be integer, string given in %s on line %d +Warning: gmmktime() expects parameter 4 to be int, string given in %s on line %d bool(false) --mixed case string-- -Warning: gmmktime() expects parameter 4 to be integer, string given in %s on line %d +Warning: gmmktime() expects parameter 4 to be int, string given in %s on line %d bool(false) --heredoc-- -Warning: gmmktime() expects parameter 4 to be integer, string given in %s on line %d +Warning: gmmktime() expects parameter 4 to be int, string given in %s on line %d bool(false) --instance of classWithToString-- -Warning: gmmktime() expects parameter 4 to be integer, object given in %s on line %d +Warning: gmmktime() expects parameter 4 to be int, object given in %s on line %d bool(false) --instance of classWithoutToString-- -Warning: gmmktime() expects parameter 4 to be integer, object given in %s on line %d +Warning: gmmktime() expects parameter 4 to be int, object given in %s on line %d bool(false) --undefined var-- diff --git a/ext/date/tests/gmmktime_variation5.phpt b/ext/date/tests/gmmktime_variation5.phpt index 5d7451a348..1ebf1377b3 100644 --- a/ext/date/tests/gmmktime_variation5.phpt +++ b/ext/date/tests/gmmktime_variation5.phpt @@ -3,9 +3,9 @@ Test gmmktime() function : usage variation - Passing unexpected values to fifth --FILE-- <?php /* Prototype : int gmmktime([int hour [, int min [, int sec [, int mon [, int day [, int year]]]]]]) - * Description: Get UNIX timestamp for a GMT date + * Description: Get UNIX timestamp for a GMT date * Source code: ext/date/php_date.c - * Alias to functions: + * Alias to functions: */ echo "*** Testing gmmktime() : usage variation ***\n"; @@ -110,22 +110,22 @@ int(1217491688) --empty array-- -Warning: gmmktime() expects parameter 5 to be integer, array given in %s on line %d +Warning: gmmktime() expects parameter 5 to be int, array given in %s on line %d bool(false) --int indexed array-- -Warning: gmmktime() expects parameter 5 to be integer, array given in %s on line %d +Warning: gmmktime() expects parameter 5 to be int, array given in %s on line %d bool(false) --associative array-- -Warning: gmmktime() expects parameter 5 to be integer, array given in %s on line %d +Warning: gmmktime() expects parameter 5 to be int, array given in %s on line %d bool(false) --nested arrays-- -Warning: gmmktime() expects parameter 5 to be integer, array given in %s on line %d +Warning: gmmktime() expects parameter 5 to be int, array given in %s on line %d bool(false) --uppercase NULL-- @@ -148,42 +148,42 @@ int(1217491688) --empty string DQ-- -Warning: gmmktime() expects parameter 5 to be integer, string given in %s on line %d +Warning: gmmktime() expects parameter 5 to be int, string given in %s on line %d bool(false) --empty string SQ-- -Warning: gmmktime() expects parameter 5 to be integer, string given in %s on line %d +Warning: gmmktime() expects parameter 5 to be int, string given in %s on line %d bool(false) --string DQ-- -Warning: gmmktime() expects parameter 5 to be integer, string given in %s on line %d +Warning: gmmktime() expects parameter 5 to be int, string given in %s on line %d bool(false) --string SQ-- -Warning: gmmktime() expects parameter 5 to be integer, string given in %s on line %d +Warning: gmmktime() expects parameter 5 to be int, string given in %s on line %d bool(false) --mixed case string-- -Warning: gmmktime() expects parameter 5 to be integer, string given in %s on line %d +Warning: gmmktime() expects parameter 5 to be int, string given in %s on line %d bool(false) --heredoc-- -Warning: gmmktime() expects parameter 5 to be integer, string given in %s on line %d +Warning: gmmktime() expects parameter 5 to be int, string given in %s on line %d bool(false) --instance of classWithToString-- -Warning: gmmktime() expects parameter 5 to be integer, object given in %s on line %d +Warning: gmmktime() expects parameter 5 to be int, object given in %s on line %d bool(false) --instance of classWithoutToString-- -Warning: gmmktime() expects parameter 5 to be integer, object given in %s on line %d +Warning: gmmktime() expects parameter 5 to be int, object given in %s on line %d bool(false) --undefined var-- diff --git a/ext/date/tests/gmmktime_variation6.phpt b/ext/date/tests/gmmktime_variation6.phpt index 81b930ceb6..e5e80282cb 100644 --- a/ext/date/tests/gmmktime_variation6.phpt +++ b/ext/date/tests/gmmktime_variation6.phpt @@ -3,9 +3,9 @@ Test gmmktime() function : usage variation - Passing unexpected values to sixth --FILE-- <?php /* Prototype : int gmmktime([int hour [, int min [, int sec [, int mon [, int day [, int year]]]]]]) - * Description: Get UNIX timestamp for a GMT date + * Description: Get UNIX timestamp for a GMT date * Source code: ext/date/php_date.c - * Alias to functions: + * Alias to functions: */ echo "*** Testing gmmktime() : usage variation ***\n"; @@ -106,22 +106,22 @@ int(965722088) --empty array-- -Warning: gmmktime() expects parameter 6 to be integer, array given in %s on line %d +Warning: gmmktime() expects parameter 6 to be int, array given in %s on line %d bool(false) --int indexed array-- -Warning: gmmktime() expects parameter 6 to be integer, array given in %s on line %d +Warning: gmmktime() expects parameter 6 to be int, array given in %s on line %d bool(false) --associative array-- -Warning: gmmktime() expects parameter 6 to be integer, array given in %s on line %d +Warning: gmmktime() expects parameter 6 to be int, array given in %s on line %d bool(false) --nested arrays-- -Warning: gmmktime() expects parameter 6 to be integer, array given in %s on line %d +Warning: gmmktime() expects parameter 6 to be int, array given in %s on line %d bool(false) --uppercase NULL-- @@ -144,42 +144,42 @@ int(965722088) --empty string DQ-- -Warning: gmmktime() expects parameter 6 to be integer, string given in %s on line %d +Warning: gmmktime() expects parameter 6 to be int, string given in %s on line %d bool(false) --empty string SQ-- -Warning: gmmktime() expects parameter 6 to be integer, string given in %s on line %d +Warning: gmmktime() expects parameter 6 to be int, string given in %s on line %d bool(false) --string DQ-- -Warning: gmmktime() expects parameter 6 to be integer, string given in %s on line %d +Warning: gmmktime() expects parameter 6 to be int, string given in %s on line %d bool(false) --string SQ-- -Warning: gmmktime() expects parameter 6 to be integer, string given in %s on line %d +Warning: gmmktime() expects parameter 6 to be int, string given in %s on line %d bool(false) --mixed case string-- -Warning: gmmktime() expects parameter 6 to be integer, string given in %s on line %d +Warning: gmmktime() expects parameter 6 to be int, string given in %s on line %d bool(false) --heredoc-- -Warning: gmmktime() expects parameter 6 to be integer, string given in %s on line %d +Warning: gmmktime() expects parameter 6 to be int, string given in %s on line %d bool(false) --instance of classWithToString-- -Warning: gmmktime() expects parameter 6 to be integer, object given in %s on line %d +Warning: gmmktime() expects parameter 6 to be int, object given in %s on line %d bool(false) --instance of classWithoutToString-- -Warning: gmmktime() expects parameter 6 to be integer, object given in %s on line %d +Warning: gmmktime() expects parameter 6 to be int, object given in %s on line %d bool(false) --undefined var-- diff --git a/ext/date/tests/gmstrftime_variation2.phpt b/ext/date/tests/gmstrftime_variation2.phpt index c3ff81d136..c29241b793 100644 --- a/ext/date/tests/gmstrftime_variation2.phpt +++ b/ext/date/tests/gmstrftime_variation2.phpt @@ -113,12 +113,12 @@ string(20) "Dec 31 1969 23:59:50" --float 12.3456789000e10-- -Warning: gmstrftime() expects parameter 2 to be integer, float given in %s on line %d +Warning: gmstrftime() expects parameter 2 to be int, float given in %s on line %d bool(false) --float -12.3456789000e10-- -Warning: gmstrftime() expects parameter 2 to be integer, float given in %s on line %d +Warning: gmstrftime() expects parameter 2 to be int, float given in %s on line %d bool(false) --float .5-- @@ -126,22 +126,22 @@ string(20) "Jan 01 1970 00:00:00" --empty array-- -Warning: gmstrftime() expects parameter 2 to be integer, array given in %s on line %d +Warning: gmstrftime() expects parameter 2 to be int, array given in %s on line %d bool(false) --int indexed array-- -Warning: gmstrftime() expects parameter 2 to be integer, array given in %s on line %d +Warning: gmstrftime() expects parameter 2 to be int, array given in %s on line %d bool(false) --associative array-- -Warning: gmstrftime() expects parameter 2 to be integer, array given in %s on line %d +Warning: gmstrftime() expects parameter 2 to be int, array given in %s on line %d bool(false) --nested arrays-- -Warning: gmstrftime() expects parameter 2 to be integer, array given in %s on line %d +Warning: gmstrftime() expects parameter 2 to be int, array given in %s on line %d bool(false) --uppercase NULL-- @@ -164,42 +164,42 @@ string(20) "Jan 01 1970 00:00:00" --empty string DQ-- -Warning: gmstrftime() expects parameter 2 to be integer, string given in %s on line %d +Warning: gmstrftime() expects parameter 2 to be int, string given in %s on line %d bool(false) --empty string SQ-- -Warning: gmstrftime() expects parameter 2 to be integer, string given in %s on line %d +Warning: gmstrftime() expects parameter 2 to be int, string given in %s on line %d bool(false) --string DQ-- -Warning: gmstrftime() expects parameter 2 to be integer, string given in %s on line %d +Warning: gmstrftime() expects parameter 2 to be int, string given in %s on line %d bool(false) --string SQ-- -Warning: gmstrftime() expects parameter 2 to be integer, string given in %s on line %d +Warning: gmstrftime() expects parameter 2 to be int, string given in %s on line %d bool(false) --mixed case string-- -Warning: gmstrftime() expects parameter 2 to be integer, string given in %s on line %d +Warning: gmstrftime() expects parameter 2 to be int, string given in %s on line %d bool(false) --heredoc-- -Warning: gmstrftime() expects parameter 2 to be integer, string given in %s on line %d +Warning: gmstrftime() expects parameter 2 to be int, string given in %s on line %d bool(false) --instance of classWithToString-- -Warning: gmstrftime() expects parameter 2 to be integer, object given in %s on line %d +Warning: gmstrftime() expects parameter 2 to be int, object given in %s on line %d bool(false) --instance of classWithoutToString-- -Warning: gmstrftime() expects parameter 2 to be integer, object given in %s on line %d +Warning: gmstrftime() expects parameter 2 to be int, object given in %s on line %d bool(false) --undefined var-- diff --git a/ext/date/tests/idate_variation2.phpt b/ext/date/tests/idate_variation2.phpt index cfa8076ea0..16730bbc4b 100644 --- a/ext/date/tests/idate_variation2.phpt +++ b/ext/date/tests/idate_variation2.phpt @@ -107,22 +107,22 @@ int(1970) --empty array-- -Warning: idate() expects parameter 2 to be integer, array given in %s on line %d +Warning: idate() expects parameter 2 to be int, array given in %s on line %d bool(false) --int indexed array-- -Warning: idate() expects parameter 2 to be integer, array given in %s on line %d +Warning: idate() expects parameter 2 to be int, array given in %s on line %d bool(false) --associative array-- -Warning: idate() expects parameter 2 to be integer, array given in %s on line %d +Warning: idate() expects parameter 2 to be int, array given in %s on line %d bool(false) --nested arrays-- -Warning: idate() expects parameter 2 to be integer, array given in %s on line %d +Warning: idate() expects parameter 2 to be int, array given in %s on line %d bool(false) --uppercase NULL-- @@ -145,42 +145,42 @@ int(1970) --empty string DQ-- -Warning: idate() expects parameter 2 to be integer, string given in %s on line %d +Warning: idate() expects parameter 2 to be int, string given in %s on line %d bool(false) --empty string SQ-- -Warning: idate() expects parameter 2 to be integer, string given in %s on line %d +Warning: idate() expects parameter 2 to be int, string given in %s on line %d bool(false) --string DQ-- -Warning: idate() expects parameter 2 to be integer, string given in %s on line %d +Warning: idate() expects parameter 2 to be int, string given in %s on line %d bool(false) --string SQ-- -Warning: idate() expects parameter 2 to be integer, string given in %s on line %d +Warning: idate() expects parameter 2 to be int, string given in %s on line %d bool(false) --mixed case string-- -Warning: idate() expects parameter 2 to be integer, string given in %s on line %d +Warning: idate() expects parameter 2 to be int, string given in %s on line %d bool(false) --heredoc-- -Warning: idate() expects parameter 2 to be integer, string given in %s on line %d +Warning: idate() expects parameter 2 to be int, string given in %s on line %d bool(false) --instance of classWithToString-- -Warning: idate() expects parameter 2 to be integer, object given in %s on line %d +Warning: idate() expects parameter 2 to be int, object given in %s on line %d bool(false) --instance of classWithoutToString-- -Warning: idate() expects parameter 2 to be integer, object given in %s on line %d +Warning: idate() expects parameter 2 to be int, object given in %s on line %d bool(false) --undefined var-- diff --git a/ext/date/tests/idate_variation3.phpt b/ext/date/tests/idate_variation3.phpt index dd38a44170..a2fa0c1a62 100644 --- a/ext/date/tests/idate_variation3.phpt +++ b/ext/date/tests/idate_variation3.phpt @@ -31,11 +31,11 @@ var_dump( idate($format, $timestamp) ); -- Testing idate() function with float 12.3456789000e10 to timestamp -- -Warning: idate() expects parameter 2 to be integer, float given in %s on line %d +Warning: idate() expects parameter 2 to be int, float given in %s on line %d bool(false) -- Testing idate() function with float -12.3456789000e10 to timestamp -- -Warning: idate() expects parameter 2 to be integer, float given in %s on line %d +Warning: idate() expects parameter 2 to be int, float given in %s on line %d bool(false) ===DONE===
\ No newline at end of file diff --git a/ext/date/tests/localtime_variation1.phpt b/ext/date/tests/localtime_variation1.phpt index b19f0ed648..cc0b3a1138 100644 --- a/ext/date/tests/localtime_variation1.phpt +++ b/ext/date/tests/localtime_variation1.phpt @@ -226,34 +226,34 @@ array(9) { --empty array-- -Warning: localtime() expects parameter 1 to be integer, array given in %s on line %d +Warning: localtime() expects parameter 1 to be int, array given in %s on line %d bool(false) -Warning: localtime() expects parameter 1 to be integer, array given in %s on line %d +Warning: localtime() expects parameter 1 to be int, array given in %s on line %d bool(false) --int indexed array-- -Warning: localtime() expects parameter 1 to be integer, array given in %s on line %d +Warning: localtime() expects parameter 1 to be int, array given in %s on line %d bool(false) -Warning: localtime() expects parameter 1 to be integer, array given in %s on line %d +Warning: localtime() expects parameter 1 to be int, array given in %s on line %d bool(false) --associative array-- -Warning: localtime() expects parameter 1 to be integer, array given in %s on line %d +Warning: localtime() expects parameter 1 to be int, array given in %s on line %d bool(false) -Warning: localtime() expects parameter 1 to be integer, array given in %s on line %d +Warning: localtime() expects parameter 1 to be int, array given in %s on line %d bool(false) --nested arrays-- -Warning: localtime() expects parameter 1 to be integer, array given in %s on line %d +Warning: localtime() expects parameter 1 to be int, array given in %s on line %d bool(false) -Warning: localtime() expects parameter 1 to be integer, array given in %s on line %d +Warning: localtime() expects parameter 1 to be int, array given in %s on line %d bool(false) --uppercase NULL-- @@ -510,66 +510,66 @@ array(9) { --empty string DQ-- -Warning: localtime() expects parameter 1 to be integer, string given in %s on line %d +Warning: localtime() expects parameter 1 to be int, string given in %s on line %d bool(false) -Warning: localtime() expects parameter 1 to be integer, string given in %s on line %d +Warning: localtime() expects parameter 1 to be int, string given in %s on line %d bool(false) --empty string SQ-- -Warning: localtime() expects parameter 1 to be integer, string given in %s on line %d +Warning: localtime() expects parameter 1 to be int, string given in %s on line %d bool(false) -Warning: localtime() expects parameter 1 to be integer, string given in %s on line %d +Warning: localtime() expects parameter 1 to be int, string given in %s on line %d bool(false) --string DQ-- -Warning: localtime() expects parameter 1 to be integer, string given in %s on line %d +Warning: localtime() expects parameter 1 to be int, string given in %s on line %d bool(false) -Warning: localtime() expects parameter 1 to be integer, string given in %s on line %d +Warning: localtime() expects parameter 1 to be int, string given in %s on line %d bool(false) --string SQ-- -Warning: localtime() expects parameter 1 to be integer, string given in %s on line %d +Warning: localtime() expects parameter 1 to be int, string given in %s on line %d bool(false) -Warning: localtime() expects parameter 1 to be integer, string given in %s on line %d +Warning: localtime() expects parameter 1 to be int, string given in %s on line %d bool(false) --mixed case string-- -Warning: localtime() expects parameter 1 to be integer, string given in %s on line %d +Warning: localtime() expects parameter 1 to be int, string given in %s on line %d bool(false) -Warning: localtime() expects parameter 1 to be integer, string given in %s on line %d +Warning: localtime() expects parameter 1 to be int, string given in %s on line %d bool(false) --heredoc-- -Warning: localtime() expects parameter 1 to be integer, string given in %s on line %d +Warning: localtime() expects parameter 1 to be int, string given in %s on line %d bool(false) -Warning: localtime() expects parameter 1 to be integer, string given in %s on line %d +Warning: localtime() expects parameter 1 to be int, string given in %s on line %d bool(false) --instance of classWithToString-- -Warning: localtime() expects parameter 1 to be integer, object given in %s on line %d +Warning: localtime() expects parameter 1 to be int, object given in %s on line %d bool(false) -Warning: localtime() expects parameter 1 to be integer, object given in %s on line %d +Warning: localtime() expects parameter 1 to be int, object given in %s on line %d bool(false) --instance of classWithoutToString-- -Warning: localtime() expects parameter 1 to be integer, object given in %s on line %d +Warning: localtime() expects parameter 1 to be int, object given in %s on line %d bool(false) -Warning: localtime() expects parameter 1 to be integer, object given in %s on line %d +Warning: localtime() expects parameter 1 to be int, object given in %s on line %d bool(false) --undefined var-- diff --git a/ext/date/tests/localtime_variation3.phpt b/ext/date/tests/localtime_variation3.phpt index a8dd3ac35f..c49cfbb949 100644 --- a/ext/date/tests/localtime_variation3.phpt +++ b/ext/date/tests/localtime_variation3.phpt @@ -34,17 +34,17 @@ var_dump( localtime($timestamp, $is_associative) ); -- Testing localtime() function with 'float 12.3456789000e10' to timestamp -- -Warning: localtime() expects parameter 1 to be integer, float given in %s on line %d +Warning: localtime() expects parameter 1 to be int, float given in %s on line %d bool(false) -Warning: localtime() expects parameter 1 to be integer, float given in %s on line %d +Warning: localtime() expects parameter 1 to be int, float given in %s on line %d bool(false) -- Testing localtime() function with 'float -12.3456789000e10' to timestamp -- -Warning: localtime() expects parameter 1 to be integer, float given in %s on line %d +Warning: localtime() expects parameter 1 to be int, float given in %s on line %d bool(false) -Warning: localtime() expects parameter 1 to be integer, float given in %s on line %d +Warning: localtime() expects parameter 1 to be int, float given in %s on line %d bool(false) ===DONE=== diff --git a/ext/date/tests/mktime_variation1.phpt b/ext/date/tests/mktime_variation1.phpt index 5d0f0c50e0..0ccc31da40 100644 --- a/ext/date/tests/mktime_variation1.phpt +++ b/ext/date/tests/mktime_variation1.phpt @@ -135,22 +135,22 @@ int(%i) -- empty array -- -Warning: mktime() expects parameter 1 to be integer, array given in %s on line %d +Warning: mktime() expects parameter 1 to be int, array given in %s on line %d bool(false) -- int indexed array -- -Warning: mktime() expects parameter 1 to be integer, array given in %s on line %d +Warning: mktime() expects parameter 1 to be int, array given in %s on line %d bool(false) -- associative array -- -Warning: mktime() expects parameter 1 to be integer, array given in %s on line %d +Warning: mktime() expects parameter 1 to be int, array given in %s on line %d bool(false) -- nested arrays -- -Warning: mktime() expects parameter 1 to be integer, array given in %s on line %d +Warning: mktime() expects parameter 1 to be int, array given in %s on line %d bool(false) -- uppercase NULL -- @@ -173,42 +173,42 @@ int(%i) -- empty string DQ -- -Warning: mktime() expects parameter 1 to be integer, string given in %s on line %d +Warning: mktime() expects parameter 1 to be int, string given in %s on line %d bool(false) -- empty string SQ -- -Warning: mktime() expects parameter 1 to be integer, string given in %s on line %d +Warning: mktime() expects parameter 1 to be int, string given in %s on line %d bool(false) -- string DQ -- -Warning: mktime() expects parameter 1 to be integer, string given in %s on line %d +Warning: mktime() expects parameter 1 to be int, string given in %s on line %d bool(false) -- string SQ -- -Warning: mktime() expects parameter 1 to be integer, string given in %s on line %d +Warning: mktime() expects parameter 1 to be int, string given in %s on line %d bool(false) -- mixed case string -- -Warning: mktime() expects parameter 1 to be integer, string given in %s on line %d +Warning: mktime() expects parameter 1 to be int, string given in %s on line %d bool(false) -- heredoc -- -Warning: mktime() expects parameter 1 to be integer, string given in %s on line %d +Warning: mktime() expects parameter 1 to be int, string given in %s on line %d bool(false) -- instance of classWithToString -- -Warning: mktime() expects parameter 1 to be integer, object given in %s on line %d +Warning: mktime() expects parameter 1 to be int, object given in %s on line %d bool(false) -- instance of classWithoutToString -- -Warning: mktime() expects parameter 1 to be integer, object given in %s on line %d +Warning: mktime() expects parameter 1 to be int, object given in %s on line %d bool(false) -- undefined var -- @@ -219,6 +219,6 @@ int(%i) -- resource -- -Warning: mktime() expects parameter 1 to be integer, resource given in %s on line %d +Warning: mktime() expects parameter 1 to be int, resource given in %s on line %d bool(false) ===DONE===
\ No newline at end of file diff --git a/ext/date/tests/mktime_variation2.phpt b/ext/date/tests/mktime_variation2.phpt index f5f8ef7803..b6957ce6dc 100644 --- a/ext/date/tests/mktime_variation2.phpt +++ b/ext/date/tests/mktime_variation2.phpt @@ -129,22 +129,22 @@ int(%i) -- empty array -- -Warning: mktime() expects parameter 2 to be integer, array given in %s on line %d +Warning: mktime() expects parameter 2 to be int, array given in %s on line %d bool(false) -- int indexed array -- -Warning: mktime() expects parameter 2 to be integer, array given in %s on line %d +Warning: mktime() expects parameter 2 to be int, array given in %s on line %d bool(false) -- associative array -- -Warning: mktime() expects parameter 2 to be integer, array given in %s on line %d +Warning: mktime() expects parameter 2 to be int, array given in %s on line %d bool(false) -- nested arrays -- -Warning: mktime() expects parameter 2 to be integer, array given in %s on line %d +Warning: mktime() expects parameter 2 to be int, array given in %s on line %d bool(false) -- uppercase NULL -- @@ -167,42 +167,42 @@ int(%i) -- empty string DQ -- -Warning: mktime() expects parameter 2 to be integer, string given in %s on line %d +Warning: mktime() expects parameter 2 to be int, string given in %s on line %d bool(false) -- empty string SQ -- -Warning: mktime() expects parameter 2 to be integer, string given in %s on line %d +Warning: mktime() expects parameter 2 to be int, string given in %s on line %d bool(false) -- string DQ -- -Warning: mktime() expects parameter 2 to be integer, string given in %s on line %d +Warning: mktime() expects parameter 2 to be int, string given in %s on line %d bool(false) -- string SQ -- -Warning: mktime() expects parameter 2 to be integer, string given in %s on line %d +Warning: mktime() expects parameter 2 to be int, string given in %s on line %d bool(false) -- mixed case string -- -Warning: mktime() expects parameter 2 to be integer, string given in %s on line %d +Warning: mktime() expects parameter 2 to be int, string given in %s on line %d bool(false) -- heredoc -- -Warning: mktime() expects parameter 2 to be integer, string given in %s on line %d +Warning: mktime() expects parameter 2 to be int, string given in %s on line %d bool(false) -- instance of classWithToString -- -Warning: mktime() expects parameter 2 to be integer, object given in %s on line %d +Warning: mktime() expects parameter 2 to be int, object given in %s on line %d bool(false) -- instance of classWithoutToString -- -Warning: mktime() expects parameter 2 to be integer, object given in %s on line %d +Warning: mktime() expects parameter 2 to be int, object given in %s on line %d bool(false) -- undefined var -- @@ -213,6 +213,6 @@ int(%i) -- resource -- -Warning: mktime() expects parameter 2 to be integer, resource given in %s on line %d +Warning: mktime() expects parameter 2 to be int, resource given in %s on line %d bool(false) ===DONE=== diff --git a/ext/date/tests/mktime_variation3.phpt b/ext/date/tests/mktime_variation3.phpt index 8abf2a2d35..5ea479e801 100644 --- a/ext/date/tests/mktime_variation3.phpt +++ b/ext/date/tests/mktime_variation3.phpt @@ -130,22 +130,22 @@ int(%i) -- empty array -- -Warning: mktime() expects parameter 3 to be integer, array given in %s on line %d +Warning: mktime() expects parameter 3 to be int, array given in %s on line %d bool(false) -- int indexed array -- -Warning: mktime() expects parameter 3 to be integer, array given in %s on line %d +Warning: mktime() expects parameter 3 to be int, array given in %s on line %d bool(false) -- associative array -- -Warning: mktime() expects parameter 3 to be integer, array given in %s on line %d +Warning: mktime() expects parameter 3 to be int, array given in %s on line %d bool(false) -- nested arrays -- -Warning: mktime() expects parameter 3 to be integer, array given in %s on line %d +Warning: mktime() expects parameter 3 to be int, array given in %s on line %d bool(false) -- uppercase NULL -- @@ -168,42 +168,42 @@ int(%i) -- empty string DQ -- -Warning: mktime() expects parameter 3 to be integer, string given in %s on line %d +Warning: mktime() expects parameter 3 to be int, string given in %s on line %d bool(false) -- empty string SQ -- -Warning: mktime() expects parameter 3 to be integer, string given in %s on line %d +Warning: mktime() expects parameter 3 to be int, string given in %s on line %d bool(false) -- string DQ -- -Warning: mktime() expects parameter 3 to be integer, string given in %s on line %d +Warning: mktime() expects parameter 3 to be int, string given in %s on line %d bool(false) -- string SQ -- -Warning: mktime() expects parameter 3 to be integer, string given in %s on line %d +Warning: mktime() expects parameter 3 to be int, string given in %s on line %d bool(false) -- mixed case string -- -Warning: mktime() expects parameter 3 to be integer, string given in %s on line %d +Warning: mktime() expects parameter 3 to be int, string given in %s on line %d bool(false) -- heredoc -- -Warning: mktime() expects parameter 3 to be integer, string given in %s on line %d +Warning: mktime() expects parameter 3 to be int, string given in %s on line %d bool(false) -- instance of classWithToString -- -Warning: mktime() expects parameter 3 to be integer, object given in %s on line %d +Warning: mktime() expects parameter 3 to be int, object given in %s on line %d bool(false) -- instance of classWithoutToString -- -Warning: mktime() expects parameter 3 to be integer, object given in %s on line %d +Warning: mktime() expects parameter 3 to be int, object given in %s on line %d bool(false) -- undefined var -- @@ -214,6 +214,6 @@ int(%i) -- resource -- -Warning: mktime() expects parameter 3 to be integer, resource given in %s on line %d +Warning: mktime() expects parameter 3 to be int, resource given in %s on line %d bool(false) ===DONE=== diff --git a/ext/date/tests/mktime_variation4.phpt b/ext/date/tests/mktime_variation4.phpt index 1b64c27e85..af6bc1f29c 100644 --- a/ext/date/tests/mktime_variation4.phpt +++ b/ext/date/tests/mktime_variation4.phpt @@ -131,22 +131,22 @@ int(%i) -- empty array -- -Warning: mktime() expects parameter 4 to be integer, array given in %s on line %d +Warning: mktime() expects parameter 4 to be int, array given in %s on line %d bool(false) -- int indexed array -- -Warning: mktime() expects parameter 4 to be integer, array given in %s on line %d +Warning: mktime() expects parameter 4 to be int, array given in %s on line %d bool(false) -- associative array -- -Warning: mktime() expects parameter 4 to be integer, array given in %s on line %d +Warning: mktime() expects parameter 4 to be int, array given in %s on line %d bool(false) -- nested arrays -- -Warning: mktime() expects parameter 4 to be integer, array given in %s on line %d +Warning: mktime() expects parameter 4 to be int, array given in %s on line %d bool(false) -- uppercase NULL -- @@ -169,42 +169,42 @@ int(%i) -- empty string DQ -- -Warning: mktime() expects parameter 4 to be integer, string given in %s on line %d +Warning: mktime() expects parameter 4 to be int, string given in %s on line %d bool(false) -- empty string SQ -- -Warning: mktime() expects parameter 4 to be integer, string given in %s on line %d +Warning: mktime() expects parameter 4 to be int, string given in %s on line %d bool(false) -- string DQ -- -Warning: mktime() expects parameter 4 to be integer, string given in %s on line %d +Warning: mktime() expects parameter 4 to be int, string given in %s on line %d bool(false) -- string SQ -- -Warning: mktime() expects parameter 4 to be integer, string given in %s on line %d +Warning: mktime() expects parameter 4 to be int, string given in %s on line %d bool(false) -- mixed case string -- -Warning: mktime() expects parameter 4 to be integer, string given in %s on line %d +Warning: mktime() expects parameter 4 to be int, string given in %s on line %d bool(false) -- heredoc -- -Warning: mktime() expects parameter 4 to be integer, string given in %s on line %d +Warning: mktime() expects parameter 4 to be int, string given in %s on line %d bool(false) -- instance of classWithToString -- -Warning: mktime() expects parameter 4 to be integer, object given in %s on line %d +Warning: mktime() expects parameter 4 to be int, object given in %s on line %d bool(false) -- instance of classWithoutToString -- -Warning: mktime() expects parameter 4 to be integer, object given in %s on line %d +Warning: mktime() expects parameter 4 to be int, object given in %s on line %d bool(false) -- undefined var -- @@ -215,6 +215,6 @@ int(%i) -- resource -- -Warning: mktime() expects parameter 4 to be integer, resource given in %s on line %d +Warning: mktime() expects parameter 4 to be int, resource given in %s on line %d bool(false) ===DONE=== diff --git a/ext/date/tests/mktime_variation5.phpt b/ext/date/tests/mktime_variation5.phpt index fc36797a0e..9fbf70b907 100644 --- a/ext/date/tests/mktime_variation5.phpt +++ b/ext/date/tests/mktime_variation5.phpt @@ -132,22 +132,22 @@ int(%i) -- empty array -- -Warning: mktime() expects parameter 5 to be integer, array given in %s on line %d +Warning: mktime() expects parameter 5 to be int, array given in %s on line %d bool(false) -- int indexed array -- -Warning: mktime() expects parameter 5 to be integer, array given in %s on line %d +Warning: mktime() expects parameter 5 to be int, array given in %s on line %d bool(false) -- associative array -- -Warning: mktime() expects parameter 5 to be integer, array given in %s on line %d +Warning: mktime() expects parameter 5 to be int, array given in %s on line %d bool(false) -- nested arrays -- -Warning: mktime() expects parameter 5 to be integer, array given in %s on line %d +Warning: mktime() expects parameter 5 to be int, array given in %s on line %d bool(false) -- uppercase NULL -- @@ -170,42 +170,42 @@ int(%i) -- empty string DQ -- -Warning: mktime() expects parameter 5 to be integer, string given in %s on line %d +Warning: mktime() expects parameter 5 to be int, string given in %s on line %d bool(false) -- empty string SQ -- -Warning: mktime() expects parameter 5 to be integer, string given in %s on line %d +Warning: mktime() expects parameter 5 to be int, string given in %s on line %d bool(false) -- string DQ -- -Warning: mktime() expects parameter 5 to be integer, string given in %s on line %d +Warning: mktime() expects parameter 5 to be int, string given in %s on line %d bool(false) -- string SQ -- -Warning: mktime() expects parameter 5 to be integer, string given in %s on line %d +Warning: mktime() expects parameter 5 to be int, string given in %s on line %d bool(false) -- mixed case string -- -Warning: mktime() expects parameter 5 to be integer, string given in %s on line %d +Warning: mktime() expects parameter 5 to be int, string given in %s on line %d bool(false) -- heredoc -- -Warning: mktime() expects parameter 5 to be integer, string given in %s on line %d +Warning: mktime() expects parameter 5 to be int, string given in %s on line %d bool(false) -- instance of classWithToString -- -Warning: mktime() expects parameter 5 to be integer, object given in %s on line %d +Warning: mktime() expects parameter 5 to be int, object given in %s on line %d bool(false) -- instance of classWithoutToString -- -Warning: mktime() expects parameter 5 to be integer, object given in %s on line %d +Warning: mktime() expects parameter 5 to be int, object given in %s on line %d bool(false) -- undefined var -- @@ -216,6 +216,6 @@ int(%i) -- resource -- -Warning: mktime() expects parameter 5 to be integer, resource given in %s on line %d +Warning: mktime() expects parameter 5 to be int, resource given in %s on line %d bool(false) ===DONE=== diff --git a/ext/date/tests/mktime_variation6.phpt b/ext/date/tests/mktime_variation6.phpt index 0b2a130915..6328699b68 100644 --- a/ext/date/tests/mktime_variation6.phpt +++ b/ext/date/tests/mktime_variation6.phpt @@ -133,22 +133,22 @@ int(%i) -- empty array -- -Warning: mktime() expects parameter 6 to be integer, array given in %s on line %d +Warning: mktime() expects parameter 6 to be int, array given in %s on line %d bool(false) -- int indexed array -- -Warning: mktime() expects parameter 6 to be integer, array given in %s on line %d +Warning: mktime() expects parameter 6 to be int, array given in %s on line %d bool(false) -- associative array -- -Warning: mktime() expects parameter 6 to be integer, array given in %s on line %d +Warning: mktime() expects parameter 6 to be int, array given in %s on line %d bool(false) -- nested arrays -- -Warning: mktime() expects parameter 6 to be integer, array given in %s on line %d +Warning: mktime() expects parameter 6 to be int, array given in %s on line %d bool(false) -- uppercase NULL -- @@ -171,42 +171,42 @@ int(%i) -- empty string DQ -- -Warning: mktime() expects parameter 6 to be integer, string given in %s on line %d +Warning: mktime() expects parameter 6 to be int, string given in %s on line %d bool(false) -- empty string SQ -- -Warning: mktime() expects parameter 6 to be integer, string given in %s on line %d +Warning: mktime() expects parameter 6 to be int, string given in %s on line %d bool(false) -- string DQ -- -Warning: mktime() expects parameter 6 to be integer, string given in %s on line %d +Warning: mktime() expects parameter 6 to be int, string given in %s on line %d bool(false) -- string SQ -- -Warning: mktime() expects parameter 6 to be integer, string given in %s on line %d +Warning: mktime() expects parameter 6 to be int, string given in %s on line %d bool(false) -- mixed case string -- -Warning: mktime() expects parameter 6 to be integer, string given in %s on line %d +Warning: mktime() expects parameter 6 to be int, string given in %s on line %d bool(false) -- heredoc -- -Warning: mktime() expects parameter 6 to be integer, string given in %s on line %d +Warning: mktime() expects parameter 6 to be int, string given in %s on line %d bool(false) -- instance of classWithToString -- -Warning: mktime() expects parameter 6 to be integer, object given in %s on line %d +Warning: mktime() expects parameter 6 to be int, object given in %s on line %d bool(false) -- instance of classWithoutToString -- -Warning: mktime() expects parameter 6 to be integer, object given in %s on line %d +Warning: mktime() expects parameter 6 to be int, object given in %s on line %d bool(false) -- undefined var -- @@ -217,7 +217,7 @@ int(%i) -- resource -- -Warning: mktime() expects parameter 6 to be integer, resource given in %s on line %d +Warning: mktime() expects parameter 6 to be int, resource given in %s on line %d bool(false) ===DONE=== diff --git a/ext/date/tests/strftime_variation2.phpt b/ext/date/tests/strftime_variation2.phpt index 599f5f41a5..ac76225eb3 100644 --- a/ext/date/tests/strftime_variation2.phpt +++ b/ext/date/tests/strftime_variation2.phpt @@ -107,22 +107,22 @@ string(20) "Jan 01 1970 05:30:00" --empty array-- -Warning: strftime() expects parameter 2 to be integer, array given in %s on line %d +Warning: strftime() expects parameter 2 to be int, array given in %s on line %d bool(false) --int indexed array-- -Warning: strftime() expects parameter 2 to be integer, array given in %s on line %d +Warning: strftime() expects parameter 2 to be int, array given in %s on line %d bool(false) --associative array-- -Warning: strftime() expects parameter 2 to be integer, array given in %s on line %d +Warning: strftime() expects parameter 2 to be int, array given in %s on line %d bool(false) --nested arrays-- -Warning: strftime() expects parameter 2 to be integer, array given in %s on line %d +Warning: strftime() expects parameter 2 to be int, array given in %s on line %d bool(false) --uppercase NULL-- @@ -145,42 +145,42 @@ string(20) "Jan 01 1970 05:30:00" --empty string DQ-- -Warning: strftime() expects parameter 2 to be integer, string given in %s on line %d +Warning: strftime() expects parameter 2 to be int, string given in %s on line %d bool(false) --empty string SQ-- -Warning: strftime() expects parameter 2 to be integer, string given in %s on line %d +Warning: strftime() expects parameter 2 to be int, string given in %s on line %d bool(false) --string DQ-- -Warning: strftime() expects parameter 2 to be integer, string given in %s on line %d +Warning: strftime() expects parameter 2 to be int, string given in %s on line %d bool(false) --string SQ-- -Warning: strftime() expects parameter 2 to be integer, string given in %s on line %d +Warning: strftime() expects parameter 2 to be int, string given in %s on line %d bool(false) --mixed case string-- -Warning: strftime() expects parameter 2 to be integer, string given in %s on line %d +Warning: strftime() expects parameter 2 to be int, string given in %s on line %d bool(false) --heredoc-- -Warning: strftime() expects parameter 2 to be integer, string given in %s on line %d +Warning: strftime() expects parameter 2 to be int, string given in %s on line %d bool(false) --instance of classWithToString-- -Warning: strftime() expects parameter 2 to be integer, object given in %s on line %d +Warning: strftime() expects parameter 2 to be int, object given in %s on line %d bool(false) --instance of classWithoutToString-- -Warning: strftime() expects parameter 2 to be integer, object given in %s on line %d +Warning: strftime() expects parameter 2 to be int, object given in %s on line %d bool(false) --undefined var-- diff --git a/ext/date/tests/strftime_variation23.phpt b/ext/date/tests/strftime_variation23.phpt index 94034b1749..58b266c20f 100644 --- a/ext/date/tests/strftime_variation23.phpt +++ b/ext/date/tests/strftime_variation23.phpt @@ -32,11 +32,11 @@ var_dump( strftime($format, $timestamp) ); -- Testing strftime() function with float 12.3456789000e10 to timestamp -- -Warning: strftime() expects parameter 2 to be integer, float given in %s on line %d +Warning: strftime() expects parameter 2 to be int, float given in %s on line %d bool(false) -- Testing strftime() function with float -12.3456789000e10 to timestamp -- -Warning: strftime() expects parameter 2 to be integer, float given in %s on line %d +Warning: strftime() expects parameter 2 to be int, float given in %s on line %d bool(false) ===DONE===
\ No newline at end of file diff --git a/ext/date/tests/timezone_name_from_abbr_variation2.phpt b/ext/date/tests/timezone_name_from_abbr_variation2.phpt index 5b4b671b81..a3c9a1e1e0 100644 --- a/ext/date/tests/timezone_name_from_abbr_variation2.phpt +++ b/ext/date/tests/timezone_name_from_abbr_variation2.phpt @@ -130,22 +130,22 @@ string(3) "UTC" -- empty array -- -Warning: timezone_name_from_abbr() expects parameter 2 to be integer, array given in %s on line %d +Warning: timezone_name_from_abbr() expects parameter 2 to be int, array given in %s on line %d bool(false) -- int indexed array -- -Warning: timezone_name_from_abbr() expects parameter 2 to be integer, array given in %s on line %d +Warning: timezone_name_from_abbr() expects parameter 2 to be int, array given in %s on line %d bool(false) -- associative array -- -Warning: timezone_name_from_abbr() expects parameter 2 to be integer, array given in %s on line %d +Warning: timezone_name_from_abbr() expects parameter 2 to be int, array given in %s on line %d bool(false) -- nested arrays -- -Warning: timezone_name_from_abbr() expects parameter 2 to be integer, array given in %s on line %d +Warning: timezone_name_from_abbr() expects parameter 2 to be int, array given in %s on line %d bool(false) -- uppercase NULL -- @@ -168,42 +168,42 @@ string(3) "UTC" -- empty string DQ -- -Warning: timezone_name_from_abbr() expects parameter 2 to be integer, string given in %s on line %d +Warning: timezone_name_from_abbr() expects parameter 2 to be int, string given in %s on line %d bool(false) -- empty string SQ -- -Warning: timezone_name_from_abbr() expects parameter 2 to be integer, string given in %s on line %d +Warning: timezone_name_from_abbr() expects parameter 2 to be int, string given in %s on line %d bool(false) -- string DQ -- -Warning: timezone_name_from_abbr() expects parameter 2 to be integer, string given in %s on line %d +Warning: timezone_name_from_abbr() expects parameter 2 to be int, string given in %s on line %d bool(false) -- string SQ -- -Warning: timezone_name_from_abbr() expects parameter 2 to be integer, string given in %s on line %d +Warning: timezone_name_from_abbr() expects parameter 2 to be int, string given in %s on line %d bool(false) -- mixed case string -- -Warning: timezone_name_from_abbr() expects parameter 2 to be integer, string given in %s on line %d +Warning: timezone_name_from_abbr() expects parameter 2 to be int, string given in %s on line %d bool(false) -- heredoc -- -Warning: timezone_name_from_abbr() expects parameter 2 to be integer, string given in %s on line %d +Warning: timezone_name_from_abbr() expects parameter 2 to be int, string given in %s on line %d bool(false) -- instance of classWithToString -- -Warning: timezone_name_from_abbr() expects parameter 2 to be integer, object given in %s on line %d +Warning: timezone_name_from_abbr() expects parameter 2 to be int, object given in %s on line %d bool(false) -- instance of classWithoutToString -- -Warning: timezone_name_from_abbr() expects parameter 2 to be integer, object given in %s on line %d +Warning: timezone_name_from_abbr() expects parameter 2 to be int, object given in %s on line %d bool(false) -- undefined var -- @@ -214,6 +214,6 @@ string(3) "UTC" -- resource -- -Warning: timezone_name_from_abbr() expects parameter 2 to be integer, resource given in %s on line %d +Warning: timezone_name_from_abbr() expects parameter 2 to be int, resource given in %s on line %d bool(false) ===DONE=== diff --git a/ext/date/tests/timezone_name_from_abbr_variation3.phpt b/ext/date/tests/timezone_name_from_abbr_variation3.phpt index 803afbaf75..94c38a9e82 100644 --- a/ext/date/tests/timezone_name_from_abbr_variation3.phpt +++ b/ext/date/tests/timezone_name_from_abbr_variation3.phpt @@ -130,22 +130,22 @@ string(3) "UTC" -- empty array -- -Warning: timezone_name_from_abbr() expects parameter 3 to be integer, array given in %s on line %d +Warning: timezone_name_from_abbr() expects parameter 3 to be int, array given in %s on line %d bool(false) -- int indexed array -- -Warning: timezone_name_from_abbr() expects parameter 3 to be integer, array given in %s on line %d +Warning: timezone_name_from_abbr() expects parameter 3 to be int, array given in %s on line %d bool(false) -- associative array -- -Warning: timezone_name_from_abbr() expects parameter 3 to be integer, array given in %s on line %d +Warning: timezone_name_from_abbr() expects parameter 3 to be int, array given in %s on line %d bool(false) -- nested arrays -- -Warning: timezone_name_from_abbr() expects parameter 3 to be integer, array given in %s on line %d +Warning: timezone_name_from_abbr() expects parameter 3 to be int, array given in %s on line %d bool(false) -- uppercase NULL -- @@ -168,42 +168,42 @@ string(3) "UTC" -- empty string DQ -- -Warning: timezone_name_from_abbr() expects parameter 3 to be integer, string given in %s on line %d +Warning: timezone_name_from_abbr() expects parameter 3 to be int, string given in %s on line %d bool(false) -- empty string SQ -- -Warning: timezone_name_from_abbr() expects parameter 3 to be integer, string given in %s on line %d +Warning: timezone_name_from_abbr() expects parameter 3 to be int, string given in %s on line %d bool(false) -- string DQ -- -Warning: timezone_name_from_abbr() expects parameter 3 to be integer, string given in %s on line %d +Warning: timezone_name_from_abbr() expects parameter 3 to be int, string given in %s on line %d bool(false) -- string SQ -- -Warning: timezone_name_from_abbr() expects parameter 3 to be integer, string given in %s on line %d +Warning: timezone_name_from_abbr() expects parameter 3 to be int, string given in %s on line %d bool(false) -- mixed case string -- -Warning: timezone_name_from_abbr() expects parameter 3 to be integer, string given in %s on line %d +Warning: timezone_name_from_abbr() expects parameter 3 to be int, string given in %s on line %d bool(false) -- heredoc -- -Warning: timezone_name_from_abbr() expects parameter 3 to be integer, string given in %s on line %d +Warning: timezone_name_from_abbr() expects parameter 3 to be int, string given in %s on line %d bool(false) -- instance of classWithToString -- -Warning: timezone_name_from_abbr() expects parameter 3 to be integer, object given in %s on line %d +Warning: timezone_name_from_abbr() expects parameter 3 to be int, object given in %s on line %d bool(false) -- instance of classWithoutToString -- -Warning: timezone_name_from_abbr() expects parameter 3 to be integer, object given in %s on line %d +Warning: timezone_name_from_abbr() expects parameter 3 to be int, object given in %s on line %d bool(false) -- undefined var -- @@ -214,6 +214,6 @@ string(3) "UTC" -- resource -- -Warning: timezone_name_from_abbr() expects parameter 3 to be integer, resource given in %s on line %d +Warning: timezone_name_from_abbr() expects parameter 3 to be int, resource given in %s on line %d bool(false) ===DONE=== diff --git a/ext/date/tests/timezone_name_get_error.phpt b/ext/date/tests/timezone_name_get_error.phpt index 3c33e33f4d..185b564052 100644 --- a/ext/date/tests/timezone_name_get_error.phpt +++ b/ext/date/tests/timezone_name_get_error.phpt @@ -48,7 +48,7 @@ bool(false) Warning: timezone_name_get() expects parameter 1 to be DateTimeZone, object given in %s on line %d bool(false) -Warning: timezone_name_get() expects parameter 1 to be DateTimeZone, integer given in %s on line %d +Warning: timezone_name_get() expects parameter 1 to be DateTimeZone, int given in %s on line %d bool(false) Warning: timezone_name_get() expects parameter 1 to be DateTimeZone, null given in %s on line %d diff --git a/ext/date/tests/timezone_offset_get_error.phpt b/ext/date/tests/timezone_offset_get_error.phpt index 7ce1ade30a..2aff20ac2d 100644 --- a/ext/date/tests/timezone_offset_get_error.phpt +++ b/ext/date/tests/timezone_offset_get_error.phpt @@ -110,7 +110,7 @@ bool(false) -- Testing timezone_offset_get() function with an invalid values for $object argument -- string(%d) "Argument 1 passed to timezone_offset_get() must be an instance of DateTimeZone, instance of stdClass given" -string(%d) "Argument 1 passed to timezone_offset_get() must be an instance of DateTimeZone, integer given" +string(%d) "Argument 1 passed to timezone_offset_get() must be an instance of DateTimeZone, int given" string(%d) "Argument 1 passed to timezone_offset_get() must be an instance of DateTimeZone, null given" @@ -118,7 +118,7 @@ string(%d) "Argument 1 passed to timezone_offset_get() must be an instance of Da -- Testing timezone_offset_get() function with an invalid values for $datetime argument -- string(%d) "Argument 2 passed to timezone_offset_get() must implement interface DateTimeInterface, instance of stdClass given" -string(%d) "Argument 2 passed to timezone_offset_get() must implement interface DateTimeInterface, integer given" +string(%d) "Argument 2 passed to timezone_offset_get() must implement interface DateTimeInterface, int given" string(%d) "Argument 2 passed to timezone_offset_get() must implement interface DateTimeInterface, null given" diff --git a/ext/date/tests/timezone_offset_get_variation1.phpt b/ext/date/tests/timezone_offset_get_variation1.phpt index edeeb7fea7..9657fc7c6d 100644 --- a/ext/date/tests/timezone_offset_get_variation1.phpt +++ b/ext/date/tests/timezone_offset_get_variation1.phpt @@ -123,16 +123,16 @@ fclose( $file_handle ); *** Testing timezone_offset_get() : usage variation - unexpected values to first argument $object*** -- int 0 -- -Argument 1 passed to timezone_offset_get() must be an instance of DateTimeZone, integer given +Argument 1 passed to timezone_offset_get() must be an instance of DateTimeZone, int given -- int 1 -- -Argument 1 passed to timezone_offset_get() must be an instance of DateTimeZone, integer given +Argument 1 passed to timezone_offset_get() must be an instance of DateTimeZone, int given -- int 12345 -- -Argument 1 passed to timezone_offset_get() must be an instance of DateTimeZone, integer given +Argument 1 passed to timezone_offset_get() must be an instance of DateTimeZone, int given -- int -12345 -- -Argument 1 passed to timezone_offset_get() must be an instance of DateTimeZone, integer given +Argument 1 passed to timezone_offset_get() must be an instance of DateTimeZone, int given -- float 10.5 -- Argument 1 passed to timezone_offset_get() must be an instance of DateTimeZone, float given diff --git a/ext/date/tests/timezone_offset_get_variation2.phpt b/ext/date/tests/timezone_offset_get_variation2.phpt index 2d007d5e70..76cc165658 100644 --- a/ext/date/tests/timezone_offset_get_variation2.phpt +++ b/ext/date/tests/timezone_offset_get_variation2.phpt @@ -123,16 +123,16 @@ fclose( $file_handle ); *** Testing timezone_offset_get() : usage variation - unexpected values to second argument $datetime*** -- int 0 -- -Argument 2 passed to timezone_offset_get() must implement interface DateTimeInterface, integer given +Argument 2 passed to timezone_offset_get() must implement interface DateTimeInterface, int given -- int 1 -- -Argument 2 passed to timezone_offset_get() must implement interface DateTimeInterface, integer given +Argument 2 passed to timezone_offset_get() must implement interface DateTimeInterface, int given -- int 12345 -- -Argument 2 passed to timezone_offset_get() must implement interface DateTimeInterface, integer given +Argument 2 passed to timezone_offset_get() must implement interface DateTimeInterface, int given -- int -12345 -- -Argument 2 passed to timezone_offset_get() must implement interface DateTimeInterface, integer given +Argument 2 passed to timezone_offset_get() must implement interface DateTimeInterface, int given -- float 10.5 -- Argument 2 passed to timezone_offset_get() must implement interface DateTimeInterface, float given diff --git a/ext/date/tests/timezone_transitions_get_error.phpt b/ext/date/tests/timezone_transitions_get_error.phpt index 142cfda2ff..159c883efb 100644 --- a/ext/date/tests/timezone_transitions_get_error.phpt +++ b/ext/date/tests/timezone_transitions_get_error.phpt @@ -50,7 +50,7 @@ bool(false) Warning: timezone_transitions_get() expects parameter 1 to be DateTimeZone, object given in %s on line %d bool(false) -Warning: timezone_transitions_get() expects parameter 1 to be DateTimeZone, integer given in %s on line %d +Warning: timezone_transitions_get() expects parameter 1 to be DateTimeZone, int given in %s on line %d bool(false) Warning: timezone_transitions_get() expects parameter 1 to be DateTimeZone, null given in %s on line %d diff --git a/ext/date/tests/timezone_transitions_get_variation1.phpt b/ext/date/tests/timezone_transitions_get_variation1.phpt index 9ebe2861e6..8ea7ab1bc3 100644 --- a/ext/date/tests/timezone_transitions_get_variation1.phpt +++ b/ext/date/tests/timezone_transitions_get_variation1.phpt @@ -110,22 +110,22 @@ fclose( $file_handle ); -- int 0 -- -Warning: timezone_transitions_get() expects parameter 1 to be DateTimeZone, integer given in %s on line %d +Warning: timezone_transitions_get() expects parameter 1 to be DateTimeZone, int given in %s on line %d bool(false) -- int 1 -- -Warning: timezone_transitions_get() expects parameter 1 to be DateTimeZone, integer given in %s on line %d +Warning: timezone_transitions_get() expects parameter 1 to be DateTimeZone, int given in %s on line %d bool(false) -- int 12345 -- -Warning: timezone_transitions_get() expects parameter 1 to be DateTimeZone, integer given in %s on line %d +Warning: timezone_transitions_get() expects parameter 1 to be DateTimeZone, int given in %s on line %d bool(false) -- int -12345 -- -Warning: timezone_transitions_get() expects parameter 1 to be DateTimeZone, integer given in %s on line %d +Warning: timezone_transitions_get() expects parameter 1 to be DateTimeZone, int given in %s on line %d bool(false) -- float 10.5 -- diff --git a/ext/date/tests/timezone_transitions_get_variation2.phpt b/ext/date/tests/timezone_transitions_get_variation2.phpt index 07a394e9f9..5c7951d502 100644 --- a/ext/date/tests/timezone_transitions_get_variation2.phpt +++ b/ext/date/tests/timezone_transitions_get_variation2.phpt @@ -143,7 +143,7 @@ int(8) -- empty array -- -Warning: timezone_transitions_get() expects parameter 2 to be integer, array given in %s on line %d +Warning: timezone_transitions_get() expects parameter 2 to be int, array given in %s on line %d string(7) "boolean" Warning: count(): Parameter must be an array or an object that implements Countable in %s on line %d @@ -151,7 +151,7 @@ int(1) -- int indexed array -- -Warning: timezone_transitions_get() expects parameter 2 to be integer, array given in %s on line %d +Warning: timezone_transitions_get() expects parameter 2 to be int, array given in %s on line %d string(7) "boolean" Warning: count(): Parameter must be an array or an object that implements Countable in %s on line %d @@ -159,7 +159,7 @@ int(1) -- associative array -- -Warning: timezone_transitions_get() expects parameter 2 to be integer, array given in %s on line %d +Warning: timezone_transitions_get() expects parameter 2 to be int, array given in %s on line %d string(7) "boolean" Warning: count(): Parameter must be an array or an object that implements Countable in %s on line %d @@ -167,7 +167,7 @@ int(1) -- nested arrays -- -Warning: timezone_transitions_get() expects parameter 2 to be integer, array given in %s on line %d +Warning: timezone_transitions_get() expects parameter 2 to be int, array given in %s on line %d string(7) "boolean" Warning: count(): Parameter must be an array or an object that implements Countable in %s on line %d @@ -199,7 +199,7 @@ int(8) -- empty string DQ -- -Warning: timezone_transitions_get() expects parameter 2 to be integer, string given in %s on line %d +Warning: timezone_transitions_get() expects parameter 2 to be int, string given in %s on line %d string(7) "boolean" Warning: count(): Parameter must be an array or an object that implements Countable in %s on line %d @@ -207,7 +207,7 @@ int(1) -- empty string SQ -- -Warning: timezone_transitions_get() expects parameter 2 to be integer, string given in %s on line %d +Warning: timezone_transitions_get() expects parameter 2 to be int, string given in %s on line %d string(7) "boolean" Warning: count(): Parameter must be an array or an object that implements Countable in %s on line %d @@ -215,7 +215,7 @@ int(1) -- string DQ -- -Warning: timezone_transitions_get() expects parameter 2 to be integer, string given in %s on line %d +Warning: timezone_transitions_get() expects parameter 2 to be int, string given in %s on line %d string(7) "boolean" Warning: count(): Parameter must be an array or an object that implements Countable in %s on line %d @@ -223,7 +223,7 @@ int(1) -- string SQ -- -Warning: timezone_transitions_get() expects parameter 2 to be integer, string given in %s on line %d +Warning: timezone_transitions_get() expects parameter 2 to be int, string given in %s on line %d string(7) "boolean" Warning: count(): Parameter must be an array or an object that implements Countable in %s on line %d @@ -231,7 +231,7 @@ int(1) -- mixed case string -- -Warning: timezone_transitions_get() expects parameter 2 to be integer, string given in %s on line %d +Warning: timezone_transitions_get() expects parameter 2 to be int, string given in %s on line %d string(7) "boolean" Warning: count(): Parameter must be an array or an object that implements Countable in %s on line %d @@ -239,7 +239,7 @@ int(1) -- heredoc -- -Warning: timezone_transitions_get() expects parameter 2 to be integer, string given in %s on line %d +Warning: timezone_transitions_get() expects parameter 2 to be int, string given in %s on line %d string(7) "boolean" Warning: count(): Parameter must be an array or an object that implements Countable in %s on line %d @@ -247,7 +247,7 @@ int(1) -- instance of classWithToString -- -Warning: timezone_transitions_get() expects parameter 2 to be integer, object given in %s on line %d +Warning: timezone_transitions_get() expects parameter 2 to be int, object given in %s on line %d string(7) "boolean" Warning: count(): Parameter must be an array or an object that implements Countable in %s on line %d @@ -255,7 +255,7 @@ int(1) -- instance of classWithoutToString -- -Warning: timezone_transitions_get() expects parameter 2 to be integer, object given in %s on line %d +Warning: timezone_transitions_get() expects parameter 2 to be int, object given in %s on line %d string(7) "boolean" Warning: count(): Parameter must be an array or an object that implements Countable in %s on line %d @@ -271,7 +271,7 @@ int(8) -- resource -- -Warning: timezone_transitions_get() expects parameter 2 to be integer, resource given in %s on line %d +Warning: timezone_transitions_get() expects parameter 2 to be int, resource given in %s on line %d string(7) "boolean" Warning: count(): Parameter must be an array or an object that implements Countable in %s on line %d diff --git a/ext/date/tests/timezone_transitions_get_variation3.phpt b/ext/date/tests/timezone_transitions_get_variation3.phpt index 0d2889c359..975e77ff34 100644 --- a/ext/date/tests/timezone_transitions_get_variation3.phpt +++ b/ext/date/tests/timezone_transitions_get_variation3.phpt @@ -143,7 +143,7 @@ int(1) -- empty array -- -Warning: timezone_transitions_get() expects parameter 3 to be integer, array given in %s on line %d +Warning: timezone_transitions_get() expects parameter 3 to be int, array given in %s on line %d string(7) "boolean" Warning: count(): Parameter must be an array or an object that implements Countable in %s on line %d @@ -151,7 +151,7 @@ int(1) -- int indexed array -- -Warning: timezone_transitions_get() expects parameter 3 to be integer, array given in %s on line %d +Warning: timezone_transitions_get() expects parameter 3 to be int, array given in %s on line %d string(7) "boolean" Warning: count(): Parameter must be an array or an object that implements Countable in %s on line %d @@ -159,7 +159,7 @@ int(1) -- associative array -- -Warning: timezone_transitions_get() expects parameter 3 to be integer, array given in %s on line %d +Warning: timezone_transitions_get() expects parameter 3 to be int, array given in %s on line %d string(7) "boolean" Warning: count(): Parameter must be an array or an object that implements Countable in %s on line %d @@ -167,7 +167,7 @@ int(1) -- nested arrays -- -Warning: timezone_transitions_get() expects parameter 3 to be integer, array given in %s on line %d +Warning: timezone_transitions_get() expects parameter 3 to be int, array given in %s on line %d string(7) "boolean" Warning: count(): Parameter must be an array or an object that implements Countable in %s on line %d @@ -199,7 +199,7 @@ int(1) -- empty string DQ -- -Warning: timezone_transitions_get() expects parameter 3 to be integer, string given in %s on line %d +Warning: timezone_transitions_get() expects parameter 3 to be int, string given in %s on line %d string(7) "boolean" Warning: count(): Parameter must be an array or an object that implements Countable in %s on line %d @@ -207,7 +207,7 @@ int(1) -- empty string SQ -- -Warning: timezone_transitions_get() expects parameter 3 to be integer, string given in %s on line %d +Warning: timezone_transitions_get() expects parameter 3 to be int, string given in %s on line %d string(7) "boolean" Warning: count(): Parameter must be an array or an object that implements Countable in %s on line %d @@ -215,7 +215,7 @@ int(1) -- string DQ -- -Warning: timezone_transitions_get() expects parameter 3 to be integer, string given in %s on line %d +Warning: timezone_transitions_get() expects parameter 3 to be int, string given in %s on line %d string(7) "boolean" Warning: count(): Parameter must be an array or an object that implements Countable in %s on line %d @@ -223,7 +223,7 @@ int(1) -- string SQ -- -Warning: timezone_transitions_get() expects parameter 3 to be integer, string given in %s on line %d +Warning: timezone_transitions_get() expects parameter 3 to be int, string given in %s on line %d string(7) "boolean" Warning: count(): Parameter must be an array or an object that implements Countable in %s on line %d @@ -231,7 +231,7 @@ int(1) -- mixed case string -- -Warning: timezone_transitions_get() expects parameter 3 to be integer, string given in %s on line %d +Warning: timezone_transitions_get() expects parameter 3 to be int, string given in %s on line %d string(7) "boolean" Warning: count(): Parameter must be an array or an object that implements Countable in %s on line %d @@ -239,7 +239,7 @@ int(1) -- heredoc -- -Warning: timezone_transitions_get() expects parameter 3 to be integer, string given in %s on line %d +Warning: timezone_transitions_get() expects parameter 3 to be int, string given in %s on line %d string(7) "boolean" Warning: count(): Parameter must be an array or an object that implements Countable in %s on line %d @@ -247,7 +247,7 @@ int(1) -- instance of classWithToString -- -Warning: timezone_transitions_get() expects parameter 3 to be integer, object given in %s on line %d +Warning: timezone_transitions_get() expects parameter 3 to be int, object given in %s on line %d string(7) "boolean" Warning: count(): Parameter must be an array or an object that implements Countable in %s on line %d @@ -255,7 +255,7 @@ int(1) -- instance of classWithoutToString -- -Warning: timezone_transitions_get() expects parameter 3 to be integer, object given in %s on line %d +Warning: timezone_transitions_get() expects parameter 3 to be int, object given in %s on line %d string(7) "boolean" Warning: count(): Parameter must be an array or an object that implements Countable in %s on line %d @@ -271,7 +271,7 @@ int(1) -- resource -- -Warning: timezone_transitions_get() expects parameter 3 to be integer, resource given in %s on line %d +Warning: timezone_transitions_get() expects parameter 3 to be int, resource given in %s on line %d string(7) "boolean" Warning: count(): Parameter must be an array or an object that implements Countable in %s on line %d |