1
0
mirror of https://github.com/php/php-src.git synced 2026-04-22 23:48:14 +02:00
Commit Graph

12 Commits

Author SHA1 Message Date
Gabriel Caruso 9c144e0d82 Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
Gabriel Caruso ce1d69a1f6 Use int instead of integer in type errors
PHP requires integer typehints to be written "int" and does not
allow "integer" as an alias. This changes type error messages to
match the actual type name and avoids confusing messages like
"must be of the type integer, integer given".
2018-02-04 19:08:23 +01:00
Andrea Faulds e5eb9530ab Use "float" and "integer" in typehint and zpp errors 2014-12-21 13:23:02 +00:00
Andrea Faulds f90b877f41 Refactor ZEND_LONG_MAX/MIN checks into ZEND_DOUBLE_FITS_LONG() 2014-11-29 02:13:20 +00:00
Andrea Faulds ebaa42302a Skip buncha tests on 32-bit 2014-11-29 01:05:19 +00:00
Stanislav Malyshev e52517d610 standardise and clean up string functions parameter parsing 2009-08-13 06:44:50 +00:00
andy wharmby 3eaa521ed9 Fix tests 2009-08-04 23:16:25 +00:00
Jani Taskinen b991dfdb1f - Fixed tests to be more portable 2009-07-23 19:06:56 +00:00
Matt Wilmas 26cde1ee2f MFH: Updated tests after double->long conversion change (basically to match 5.2)
# Let me know about other failing tests I missed
2009-06-04 18:25:06 +00:00
Dmitry Stogov 2b981769a3 Fixed bug #42868 (Floats cast to integer produce unpredicatable results). (Zoe Slattery) 2007-12-17 10:02:13 +00:00
Raghubansh Kumar 54f6189445 fix tests: better float values 2007-11-09 07:19:00 +00:00
Raghubansh Kumar 482eabc6b6 New testcases for chunk_split() function 2007-09-29 16:49:41 +00:00