Rafal Kupiec
19d0628afc
Do not try to duplicate an array when source equals to destination.
2019-06-20 13:36:30 +02:00
Rafal Kupiec
0be38392bd
Correct variable types, to make compiler silent.
2019-06-17 14:28:03 +02:00
Rafal Kupiec
c7b6e76d0d
Get rid of unused variables/labels/etc.
2019-06-16 00:33:03 +02:00
Rafal Kupiec
3cca5faa76
Store variable type in dedicated field.
2019-05-21 14:49:36 +02:00
Rafal Kupiec
f2116a6461
Always use HTTPS when possible.
2019-05-15 20:02:39 +02:00
Rafal Kupiec
c9203b6c91
New source code legal format.
2019-04-20 19:29:15 +02:00
Rafal Kupiec
ed8f3f341e
Remove array_same() builtin function.
...
After last change, AerScript does not pass arrays as reference, so there is no chance to get this function return true, unless you pass array as reference.
2019-04-20 13:59:10 +02:00
Rafal Kupiec
18e77b9754
array_copy() is no longer needed.
...
AerScript makes a copy of all arrays, except a situation when array is passed by reference. Thanks to that this ugly hack called an extension, introduced by Symisc can be removed.
2019-04-20 07:30:07 +02:00
Rafal Kupiec
d819820798
Always make an array copy. Fixes #48 .
2019-04-20 07:19:35 +02:00
Rafal Kupiec
e794ffd97b
Fix PH7_HashmapDup().
...
This function needs to store the next index. Otherwise it will start to count from beginning, duplicating existing keys.
2019-04-19 20:16:42 +02:00
Rafal Kupiec
72c420cc85
Correct another typo.
2019-04-05 20:21:26 +02:00
Rafal Kupiec
2fb123872f
Typecas array only if it is of different type.
2019-04-02 09:05:27 +02:00
Rafal Kupiec
3f205c19ce
Get rid of dirty references. Return a reference & pass-by reference are still working.
2019-03-29 22:55:49 +01:00
Rafal Kupiec
874e416d65
Typo correction.
2019-03-27 09:50:24 +01:00
Rafal Kupiec
46a3bd85b0
Add function description.
2019-03-27 09:49:48 +01:00
Rafal Kupiec
14f958a4b2
Implement PH7_HashmapCast().
2019-03-27 09:42:23 +01:00
Rafal Kupiec
9438407ebf
Never store an element if there is no callback function specified.
2019-03-24 09:01:38 +01:00
Rafal Kupiec
ff6c71db1c
Do not use NULL if possible.
2019-03-22 19:53:12 +01:00
Rafal Kupiec
59e2743a60
Simply release the object, no need to use a wrapper function.
2019-03-22 18:42:46 +01:00
Rafal Kupiec
e727453ccf
Fix var_dump() for mixed arrays.
2018-11-13 20:24:55 +01:00
Rafal Kupiec
6293b8f5bf
Do not try to dump empty array.
2018-10-01 22:43:23 +02:00
Rafal Kupiec
58b7ceeae9
Get rid of $GLOBALS completely.
2018-09-11 17:49:20 +02:00
Rafal Kupiec
e383536dc4
Do not store script arguments in $GLOBALS.
2018-09-11 06:47:48 +02:00
Rafal Kupiec
eb79ed500e
Store float values in an union.
...
Single variable cannot have many values of different types. This also saves some memory, because union allocates memory just for one of its members.
2018-09-07 12:04:51 +02:00
Rafal Kupiec
00e1c842d5
Never disable builtin functions.
2018-09-05 20:43:39 +02:00
Rafal Kupiec
d793d3ed70
Rename PH7_VmGenericError() to PH7_VmThrowError()
2018-09-04 08:54:48 +02:00
Rafal Kupiec
d3d3dcc767
Partially switch to new error reporting.
2018-09-03 16:16:32 +02:00
Rafal Kupiec
94b213674a
Change the script located in memory indicator.
...
For easier reading with line numbers.
2018-08-23 18:27:14 +02:00
Rafal Kupiec
488fee5caf
Another bunch of typos eliminated
2018-07-28 13:16:38 +02:00
Rafal Kupiec
abb91a9874
Reorganize the repository for new build system
2018-07-20 22:35:09 +02:00