Nikita Popov
a939805641
Use serialize_precision for var_dump()
...
var_dump() is debugging functionality, so it should print
floating-point numbers accurately. We do this by switching
to serialize_precision, which (by default) will print with
as much precision as necessary to preserve the exact value
of the float.
This also affects debug_zval_dump().
Closes GH-5172.
2020-02-25 09:51:32 +01:00
Nikita Popov
f8d795820e
Reindent phpt files
2020-02-03 22:52:20 +01:00
Nikita Popov
852485d8ec
Adjust tests for zpp TypeError change
2019-03-11 11:32:20 +01:00
Gabriel Caruso
9c144e0d82
Trim trailing whitespace in tests
2018-10-14 12:07:20 -03:00
Ilia Alshanetsky
9696faa790
Fixed bug 48484 (array_product() always returns 0 for an empty array).
2010-12-12 19:27:04 +00:00
Jani Taskinen
a541bb8078
- Fix tests
...
- Update README.PARAMETER_PARSING_API
2007-11-02 19:41:12 +00:00
Antony Dovgal
17907a50cd
fix test
...
add new one for 64bit only
2005-12-16 15:52:09 +00:00
foobar
e02f8809f1
- Fixed test. Some people might actually be using php.ini-dist which
...
has precision set to 12. (and this test results need 14)
2005-11-01 22:39:53 +00:00
Ilia Alshanetsky
d22d6910ad
Fixed Bug #35014 (array_product() always returns 0).
2005-10-30 13:44:26 +00:00