104 Commits (291b6f06070a5570992a03c3c6332297e69f98bb)

Author SHA1 Message Date
Rafal Kupiec 291b6f0607
Get rid of backstick quoted strings (shell commands). 3 years ago
Rafal Kupiec 395f6c446c
Get rid of known from PHP 'elseif' construction. 3 years ago
Rafal Kupiec ba8e9080ef
Implement OP_JMPLFB & OP_JMPLFE VM instructions. 3 years ago
Rafal Kupiec 89f19133d5
Rename VM's jump instructions for better readability. 3 years ago
Rafal Kupiec 517dffcbc1
Separate VM instruction for variable declaration (OP_DECLARE). 3 years ago
Rafal Kupiec 0f0fc01a96
We need to distinguish the loop frames. 3 years ago
Rafal Kupiec 4eaf6a7117
AerScript is strict type hinting language, thus OP_TEQ & OP_TNE are not needed here. 3 years ago
Rafal Kupiec aaef03396c
Implement PH7_MemObjSafeStore(). 3 years ago
Rafal Kupiec 3f205c19ce
Get rid of dirty references. Return a reference & pass-by reference are still working. 3 years ago
Rafal Kupiec 140bd35f93
Set proper type for all class attributes. 3 years ago
Rafal Kupiec 14f958a4b2
Implement PH7_HashmapCast(). 3 years ago
Rafal Kupiec a87471e1e3
The empty() function is useless in Aer. 3 years ago
Rafal Kupiec 4f29507c0d
The isset() function always results in true, thus it is useless. If passed as argument variable is not set, the interpreter will throw an error. 3 years ago
Rafal Kupiec 135e7c9698
VAR & FUNCTION are no longer valid keywords. 3 years ago
Rafal Kupiec 59e2743a60
Simply release the object, no need to use a wrapper function. 3 years ago
Rafal Kupiec 98a5fc1af0
No such operator. 3 years ago
Rafal Kupiec 154469f475
Variable cannot be typecasted to NULL. 3 years ago
Rafal Kupiec 9a41f7195d
AerScript does not implement any error control operator. 3 years ago
Rafal Kupiec 65b178932a
Get rid of array() & list() for the new syntax. 3 years ago
Rafal Kupiec 7b1ed59f41
Basic check if all methods declared in interface are also defined in class. 3 years ago
Rafal Kupiec e498bc7646
It is enought to declare 'object'. 3 years ago
Rafal Kupiec a2749000d6
Do not store these information twice; save the memory. 3 years ago
Rafal Kupiec f71e60f641
Add fields to store information about method's return data type. 3 years ago
Rafal Kupiec df3d00d02c
Revert f1d4d80f65. 3 years ago
Rafal Kupiec 051bca470e
Save the closure return data type for further use. 3 years ago
Rafal Kupiec f1d4d80f65
Cleanup keywords. 3 years ago
Rafal Kupiec fa0b487cc0
Implement typecasting to resource data type. 3 years ago
Rafal Kupiec f97e2a8294
Implement typecasting to callback data type. 3 years ago
Rafal Kupiec 1c3211e00d
Add missing PH7_OP_CVT_CALL definition. 4 years ago
Rafal Kupiec 9ab896c2e2
Implement PH7_CheckVarCompat(). 4 years ago
Rafal Kupiec d65a529d21
Initial support for char data type. 4 years ago
Rafal Kupiec 174ecb2a38
Initial support for void type. 4 years ago
Rafal Kupiec f927667d85
Strictly check for data type of static variable declaration. 4 years ago
Rafal Kupiec 241c7d8168
First step to declare a variable with specified data type. 4 years ago
Rafal Kupiec 9884f8288b
Do not allow typecasting to unset a variable. 4 years ago
Rafal Kupiec 58103ea5fe
Mark method/closure call frame as active. 4 years ago
Rafal Kupiec faca9b7fb2
Another fix in debug trace. 4 years ago
Rafal Kupiec 8b48786f29
Add missing data types. 4 years ago
Rafal Kupiec 1e5538fc67
Remove useless fields in pVm. 4 years ago
Rafal Kupiec 82e5dc1565
Add SyStrtok() declaration. 4 years ago
Rafal Kupiec eb79ed500e
Store float values in an union. 4 years ago
Rafal Kupiec af1d59dab4
Don't try to get an integer representation of float. 4 years ago
Rafal Kupiec 0a9cfce672
Group and add missing keywords. 4 years ago
Rafal Kupiec 3887aa69a6
Never disable hash functions. 4 years ago
Rafal Kupiec c3a4c8de77
Never disable builtin functions. 4 years ago
Rafal Kupiec 6387026e15
Do not limit the output buffering callbacks. 4 years ago
Rafal Kupiec 11ba0ce738
No need to store output length in VM. 4 years ago
Rafal Kupiec 404f5a2688
No need to store unique ID in VM. 4 years ago
Rafal Kupiec ae79cb57de
No need to store information about line number in ph7_class struct. 4 years ago
Rafal Kupiec 894dbe47d6
Allow compiler to specify line number, on which instruction has been generated. 4 years ago