2018-11-07 19:53:15 +01:00
|
|
|
TODO list for typehinting branch.
|
|
|
|
Below list contains things that should be changed/fixed/implemented.
|
|
|
|
|
|
|
|
|
2019-03-09 13:40:24 +01:00
|
|
|
1. int[] $arr = {5, 5};
|
2018-11-07 19:53:15 +01:00
|
|
|
This syntax is unsupported yet. Should replace the array() function.
|
|
|
|
|
2019-03-09 13:40:24 +01:00
|
|
|
2. Class properties do not support strict data type hinting.
|
2018-11-07 19:53:15 +01:00
|
|
|
|
2019-03-11 08:24:13 +01:00
|
|
|
3. Methods declaration / definition still uses function keyword.
|
|
|
|
|
2019-03-17 19:41:32 +01:00
|
|
|
4. Some builtin functions like isset() seems to be useless, if varaible is not defined, interpreter will throw an error.
|
2019-03-11 08:24:13 +01:00
|
|
|
|
2019-03-17 19:41:32 +01:00
|
|
|
5. Interpreter should verify that Program::main() returns a value of int or void data type.
|