mirror of
https://github.com/php/php-src.git
synced 2025-01-11 05:24:49 +08:00
14 lines
561 B
Plaintext
Executable File
14 lines
561 B
Plaintext
Executable File
This is the ToDo of ext/spl:
|
|
|
|
- spl::array_access cals set() which is supposed to return a value.
|
|
Currently you *must* return a value even when it is not used.
|
|
$obj[$idx] = $val; // doesn't use the return value
|
|
$x = $obj[$idx] = $val; // here it is used
|
|
Since array_access.phpt is a test with a return value there
|
|
should be a test without a return value. Maybe an error message
|
|
is required in case there is no return value.
|
|
|
|
- spl::array_access_ex is not completely done and not tested.
|
|
|
|
If you have further questions: mailto:helly@php.net
|