Commit Graph
72 Commits
Author SHA1 Message Date
belliash a167e4bc87 Permanently fix NULL comparision
Build / AerScript (push) Failing after 26s
2025-08-29 14:27:58 +02:00
belliash eead19918d Fix NULL comparision
Build / AerScript (push) Successful in 38s
2025-08-28 16:42:08 +02:00
belliash fdfeb219d9 Always print FALSE value when dumping bool variable
Build / AerScript (push) Successful in 45s
2025-08-28 15:33:48 +02:00
belliash 426ec932ec Implement MemObjIsHashmap().
The build was successful.
2019-09-10 10:55:54 +02:00
belliash 673796d878 Add missing function description.
The build was successful.
2019-06-13 08:04:58 +02:00
belliash 4723128b74 Implement PH7_MemObjIsNull().
The build was successful.
2019-06-12 18:55:41 +02:00
belliash 9aa192db69 Remove unused argument from PH7_MemObjInitFromVoid().
The build was successful.
2019-06-08 14:36:24 +02:00
belliash fdba2c0a5c Set data type to void, not just NULL.
The build was successful.
2019-06-08 13:59:44 +02:00
belliash 43a1f135cc Set correct variable type if NULL or not set at all.
The build was successful.
2019-06-07 18:57:02 +02:00
belliash 5948c3a5b6 Remove unused function argument.
The build was successful.
2019-06-05 17:30:17 +02:00
belliash ddd46a4e80 Quick small cleanup.
The build was successful.
2019-05-21 19:18:52 +02:00
belliash 3cca5faa76 Store variable type in dedicated field.
The build was successful.
2019-05-21 14:49:36 +02:00
belliash 07bd3ceec3 Reimplement 'parent' construct as variable $parent.
The build was successful.
This commit also adds new controls to variables, which prevents from re-assigning a value when set. Thanks to that, both $this and $parent cannot be overwritten by using OP_STORE instruction. Other instructions still need some
work.
2019-05-08 08:26:48 +02:00
belliash c9203b6c91 New source code legal format.
The build was successful.
2019-04-20 19:29:15 +02:00
belliash d819820798 Always make an array copy. Fixes #48.
The build was successful.
2019-04-20 07:19:35 +02:00
belliash ee0d189f0a Add comments.
The build was successful.
2019-04-11 11:37:07 +02:00
belliash cdc0dade2a Allow to store a character in string variable.
The build was successful.
2019-04-11 11:33:00 +02:00
belliash f0e50678e3 Optimize the code a bit.
The build was successful.
2019-04-10 08:52:06 +02:00
belliash 8810a86a2c Fix for typoecasting callback to string.
The build was successful.
2019-04-10 08:50:04 +02:00
belliash b0165e5702 Do not reset blob when typecasting from string to callback.
The build was successful.
2019-04-10 06:57:14 +02:00
belliash d74b182235 Properly typecast callback to boolean.
The build was successful.
2019-04-08 13:32:50 +02:00
belliash 1679420f4c Get rid of some invisible escape characters.
The build was successful.
2019-04-06 17:00:15 +02:00
belliash d34c8ceafb Fix void dump.
The build was successful.
2019-04-06 16:51:32 +02:00
belliash 39f698476f This is not the right way to go - revert 465336b23b.
The build was successful.
2019-04-05 12:30:38 +02:00
belliash 465336b23b Mark void variable as well as NULL, and dump NULL as void.
The build was successful.
2019-04-05 11:52:15 +02:00
belliash a1151d598b Do not emit warning when assigning NULL to resource.
The build was successful.
2019-04-05 11:42:40 +02:00
belliash 9acd6fbcb2 Do not typecast NULL to StdClass.
The build was successful.
2019-04-03 09:34:32 +02:00
belliash 8d3b7f303f Allow to assign any value if data type is not specified.
The build was successful.
2019-04-03 08:11:55 +02:00
belliash 66a7e957c9 Allow to assign NULL to array.
The build was successful.
2019-04-02 19:58:12 +02:00
belliash aaef03396c Implement PH7_MemObjSafeStore().
The build was successful.
2019-04-02 19:44:09 +02:00
belliash 45b1d4ed73 Compare only non-array to non-array values.
The build was successful.
2019-04-02 15:19:48 +02:00
belliash 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.
The build was successful.
2019-03-29 23:51:20 +01:00
belliash 9b741175f2 Uppercase.
The build was successful.
2019-03-29 23:17:50 +01:00
belliash 3f205c19ce Get rid of dirty references. Return a reference & pass-by reference are still working.
The build was successful.
2019-03-29 22:55:49 +01:00
belliash a013cee2d1 Properly serve the arrays.
The build was successful.
2019-03-28 19:44:03 +01:00
belliash 45f4a00b05 Revert 5e54233ef8.
The build was successful.
2019-03-26 17:41:32 +01:00
belliash 5e54233ef8 Check only non-array vriables. 2019-03-26 16:39:19 +01:00
belliash 891818d601 Fix PH7_CheckVarCompat(). Array can be assigned only to array.
The build was successful.
2019-03-24 13:33:15 +01:00
belliash a87471e1e3 The empty() function is useless in Aer.
The build was successful.
2019-03-24 09:22:10 +01:00
belliash e75ed7b9a9 Only INTEGER and FLOAT should be considered as numerical.
The build was successful.
2019-03-23 19:34:51 +01:00
belliash 59e2743a60 Simply release the object, no need to use a wrapper function.
The build was successful.
2019-03-22 18:42:46 +01:00
belliash 0115b30d01 Extension to PHP, standard in AerScript.
The build was successful.
2019-03-21 06:19:27 +01:00
belliash d6c5f01905 PH7_VmMemoryError() always breaks script execution.
The build was successful.
2019-03-09 14:00:11 +01:00
belliash 4af3220018 Throw a warning when trying to typecast to resource.
The build was successful.
2019-02-13 13:22:30 +01:00
belliash a7b4c6e880 Do not typecast to resource type at all. This might lead to attempt of access to the invalid memory area and segmentation fault.
The build was successful.
2019-02-08 14:28:04 +01:00
belliash fa0b487cc0 Implement typecasting to resource data type.
The build was successful.
2019-02-08 14:06:39 +01:00
belliash f97e2a8294 Implement typecasting to callback data type.
The build was successful.
2018-12-20 18:30:21 +01:00
belliash 9ab896c2e2 Implement PH7_CheckVarCompat().
The build was successful.
2018-11-28 20:37:07 +01:00
belliash f3f1723104 Return valid function for conversion to char.
The build was successful.
2018-11-28 20:11:47 +01:00
belliash 0d3cb90d5f Always convert integer value to char as it is done in C/C++.
The build was successful.
2018-11-28 20:10:14 +01:00