summaryrefslogtreecommitdiff
path: root/ext/spl/TODO
blob: 5311ef6c111a788c8c965c4d251915d9b8d1401d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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