62 Commits (ddd46a4e80f468825379706d9eabaeb1ce15c609)

Author SHA1 Message Date
Rafal Kupiec ddd46a4e80
Quick small cleanup. 2 years ago
Rafal Kupiec 3cca5faa76
Store variable type in dedicated field. 2 years ago
Rafal Kupiec 07bd3ceec3
Reimplement 'parent' construct as variable $parent. 3 years ago
Rafal Kupiec c9203b6c91
New source code legal format. 3 years ago
Rafal Kupiec d819820798
Always make an array copy. Fixes #48. 3 years ago
Rafal Kupiec ee0d189f0a
Add comments. 3 years ago
Rafal Kupiec cdc0dade2a
Allow to store a character in string variable. 3 years ago
Rafal Kupiec f0e50678e3
Optimize the code a bit. 3 years ago
Rafal Kupiec 8810a86a2c
Fix for typoecasting callback to string. 3 years ago
Rafal Kupiec b0165e5702
Do not reset blob when typecasting from string to callback. 3 years ago
Rafal Kupiec d74b182235
Properly typecast callback to boolean. 3 years ago
Rafal Kupiec 1679420f4c
Get rid of some invisible escape characters. 3 years ago
Rafal Kupiec d34c8ceafb
Fix void dump. 3 years ago
Rafal Kupiec 39f698476f
This is not the right way to go - revert 465336b23b. 3 years ago
Rafal Kupiec 465336b23b
Mark void variable as well as NULL, and dump NULL as void. 3 years ago
Rafal Kupiec a1151d598b
Do not emit warning when assigning NULL to resource. 3 years ago
Rafal Kupiec 9acd6fbcb2
Do not typecast NULL to StdClass. 3 years ago
Rafal Kupiec 8d3b7f303f
Allow to assign any value if data type is not specified. 3 years ago
Rafal Kupiec 66a7e957c9
Allow to assign NULL to array. 3 years ago
Rafal Kupiec aaef03396c
Implement PH7_MemObjSafeStore(). 3 years ago
Rafal Kupiec 45b1d4ed73
Compare only non-array to non-array values. 3 years ago
Rafal Kupiec 4f6be2234e
Allow NULL to be assigned to any type of variable. NULL will be automatically typecasted to any data type, thus setting ti the default value. 3 years ago
Rafal Kupiec 9b741175f2
Uppercase. 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 a013cee2d1
Properly serve the arrays. 3 years ago
Rafal Kupiec 45f4a00b05
Revert 5e54233ef8. 3 years ago
Rafal Kupiec 5e54233ef8
Check only non-array vriables. 3 years ago
Rafal Kupiec 891818d601
Fix PH7_CheckVarCompat(). Array can be assigned only to array. 3 years ago
Rafal Kupiec a87471e1e3
The empty() function is useless in Aer. 3 years ago
Rafal Kupiec e75ed7b9a9
Only INTEGER and FLOAT should be considered as numerical. 3 years ago
Rafal Kupiec 59e2743a60
Simply release the object, no need to use a wrapper function. 3 years ago
Rafal Kupiec 0115b30d01
Extension to PHP, standard in AerScript. 3 years ago
Rafal Kupiec d6c5f01905
PH7_VmMemoryError() always breaks script execution. 3 years ago
Rafal Kupiec 4af3220018
Throw a warning when trying to typecast to resource. 3 years ago
Rafal Kupiec a7b4c6e880
Do not typecast to resource type at all. This might lead to attempt of access to the invalid memory area and segmentation fault. 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 9ab896c2e2
Implement PH7_CheckVarCompat(). 3 years ago
Rafal Kupiec f3f1723104
Return valid function for conversion to char. 3 years ago
Rafal Kupiec 0d3cb90d5f
Always convert integer value to char as it is done in C/C++. 3 years ago
Rafal Kupiec 3cc8cfe6a2
Remove duplicated code. 3 years ago
Rafal Kupiec 1cebd3af37
Allow char to be typecasted to value of any other type. 3 years ago
Rafal Kupiec 5dde778382
Release object to free some memory. 3 years ago
Rafal Kupiec d65a529d21
Initial support for char data type. 3 years ago
Rafal Kupiec 174ecb2a38
Initial support for void type. 3 years ago
Rafal Kupiec e727453ccf
Fix var_dump() for mixed arrays. 3 years ago
Rafal Kupiec ec47190874
Array dump format. 3 years ago
Rafal Kupiec 03cf969c31
Check for a type of array. 3 years ago
Rafal Kupiec b66515516e
First check if array or object. 3 years ago
Rafal Kupiec 6e7bc74949
Put comment in right place. 3 years ago