Gina Peter Banyard
9a1b8a785d
Fix GH-20194: null offset deprecation not emitted for writes ( #20238 )
...
Based on a patch from @ndossche
2025-10-29 18:36:10 +00:00
George Peter Banyard
b6958bb847
Implement "Deprecate implicit non-integer-compatible float to int conversions" RFC. ( #6661 )
...
RFC: https://wiki.php.net/rfc/implicit-float-int-deprecate
Co-authored-by: Nikita Popov <nikita.ppv@gmail.com >
2021-05-31 15:48:45 +01:00
George Peter Banyard
3fbd3d2e2f
Remove usage of float keys in arrays
...
Also make test output not produce trailling whitespaces
Closes GH-6662
2021-02-09 02:55:54 +00:00
Máté Kocsis
b5c7a83dca
Remove unnecessary PHPDoc-alike blocks from tests
...
Closes GH-5759
2020-06-24 13:13:44 +02:00
Nikita Popov
2f92957fd3
Convert some notices to warnings
...
Part of https://wiki.php.net/rfc/engine_warnings .
2019-10-02 10:34:08 +02:00
Nikita Popov
0ebf2bdba0
Convert "Illegal offset type" warnings to exceptions
2019-09-27 13:00:07 +02:00
Nikita Popov
a6c9c7c2b8
Handle resources used as array keys consistently
...
Resources used as array keys are generally handled by throwing a
notice and converting the resource to the resource handle. The only
exception is the [$resource => null] syntax, where this was treated
as an illegal offset type instead. However, this also only happened
for VM evaluations, the AST evaluator did handle resources correctly.
2019-09-27 10:40:41 +02:00
Peter Kokot
d7a3edd45d
Trim trailing whitespace in *.phpt
2018-10-14 19:46:15 +02:00
Gabriel Caruso
9c144e0d82
Trim trailing whitespace in tests
2018-10-14 12:07:20 -03:00
Adam Harvey
f33837ff97
Implemented request #34857 (Change array_combine behaviour when called with
...
empty arrays). Patch by Joel Perras <joel.perras@gmail.com >.
2010-08-27 03:54:10 +00:00
Ilia Alshanetsky
f6853cccbd
Fixed tests
2007-11-28 14:49:20 +00:00
Raghubansh Kumar
504e223d83
Marked with defect
2007-11-28 03:44:52 +00:00
Raghubansh Kumar
d5acf6ad81
New testcases for array_combine() function
2007-11-27 15:17:07 +00:00