This is already done, even methods do not support strict data type hinting.
所有检测均成功
The build was successful.

这个提交包含在:
Rafal Kupiec 2019-03-17 19:41:32 +01:00
父节点 9934489ed9
当前提交 128f4bba01
签署人:: belliash
GPG 密钥 ID: 4E829243E0CFE6B4

6
TODO
查看文件

@ -9,8 +9,6 @@ Below list contains things that should be changed/fixed/implemented.
3. Methods declaration / definition still uses function keyword.
4. PH7_OP_DONE operator should check if return value match the data type of declared method/closure.
4. Some builtin functions like isset() seems to be useless, if varaible is not defined, interpreter will throw an error.
5. Some builtin functions like isset() seems to be useless, if varaible is not defined, interpreter will throw an error.
6. Interpreter should verify that Program::main() returns a value of int or void data type.
5. Interpreter should verify that Program::main() returns a value of int or void data type.