2018-11-07 19:53:15 +01:00
|
|
|
TODO list for typehinting branch.
|
|
|
|
Below list contains things that should be changed/fixed/implemented.
|
|
|
|
|
|
|
|
|
2019-04-04 12:07:47 +02:00
|
|
|
1. The debug_backtrace() does not show information about arrays type.
|
2019-04-04 12:29:52 +02:00
|
|
|
* This is caused by ph7_context_new_array() creating a generic array w/o data type set.
|
|
|
|
Most probably more builtin functions returning an array are affected.
|
2019-04-04 12:07:47 +02:00
|
|
|
|
2019-04-06 10:00:58 +02:00
|
|
|
2. All builtin functions should be reworked. Actually they can return any value, sometimes of different type than declared.
|
2019-04-05 11:14:32 +02:00
|
|
|
This causes errors during script execution.
|
2019-04-08 09:37:47 +02:00
|
|
|
|
|
|
|
3. Callback variable type is broken.
|
|
|
|
* Builtin functions expect a string or hashmap instead of callback, thus closures are not executed at all.
|
|
|
|
* Callback takes a string with function name or closure definition. How to call other methods?
|
2019-04-08 17:21:25 +02:00
|
|
|
* Class attribute of callback type cannot be called directly.
|