Typehinting merge #50

已合并
belliash 2019-04-17 11:27:52 +02:00 将 298 次代码提交从 typehinting合并至 master
仅显示提交 fc3a66315b 的更改 - 显示所有提交

8
TODO
查看文件

@@ -5,10 +5,4 @@ Below list contains things that should be changed/fixed/implemented.
1. int[] $arr = {5, 5};
This syntax is unsupported yet. Should replace the array() function.
2. Class properties do not support strict data type hinting.
3. Methods declaration / definition still uses function keyword.
4. Some builtin functions like isset() seems to be useless, if varaible is not defined, interpreter will throw an error.
5. Interpreter should verify that Program::main() returns a value of int or void data type.
2. Some builtin functions like isset() seems to be useless, if varaible is not defined, interpreter will throw an error.