34 Commits

Author SHA1 Message Date
a87471e1e3
The empty() function is useless in Aer. 2019-03-24 09:22:10 +01:00
e75ed7b9a9
Only INTEGER and FLOAT should be considered as numerical. 2019-03-23 19:34:51 +01:00
59e2743a60
Simply release the object, no need to use a wrapper function. 2019-03-22 18:42:46 +01:00
0115b30d01
Extension to PHP, standard in AerScript. 2019-03-21 06:19:27 +01:00
d6c5f01905
PH7_VmMemoryError() always breaks script execution. 2019-03-09 14:00:11 +01:00
4af3220018
Throw a warning when trying to typecast to resource. 2019-02-13 13:22:30 +01:00
a7b4c6e880
Do not typecast to resource type at all. This might lead to attempt of access to the invalid memory area and segmentation fault. 2019-02-08 14:28:04 +01:00
fa0b487cc0
Implement typecasting to resource data type. 2019-02-08 14:06:39 +01:00
f97e2a8294
Implement typecasting to callback data type. 2018-12-20 18:30:21 +01:00
9ab896c2e2
Implement PH7_CheckVarCompat(). 2018-11-28 20:37:07 +01:00
f3f1723104
Return valid function for conversion to char. 2018-11-28 20:11:47 +01:00
0d3cb90d5f
Always convert integer value to char as it is done in C/C++. 2018-11-28 20:10:14 +01:00
3cc8cfe6a2
Remove duplicated code. 2018-11-28 13:58:33 +01:00
1cebd3af37
Allow char to be typecasted to value of any other type. 2018-11-26 20:41:15 +01:00
5dde778382
Release object to free some memory. 2018-11-26 20:39:08 +01:00
d65a529d21
Initial support for char data type. 2018-11-26 20:37:51 +01:00
174ecb2a38
Initial support for void type. 2018-11-23 09:19:37 +01:00
e727453ccf
Fix var_dump() for mixed arrays. 2018-11-13 20:24:55 +01:00
ec47190874
Array dump format. 2018-10-27 19:56:13 +02:00
03cf969c31
Check for a type of array. 2018-10-11 15:15:48 +02:00
b66515516e
First check if array or object. 2018-10-01 22:46:35 +02:00
6e7bc74949
Put comment in right place. 2018-09-24 13:39:50 +02:00
f26095658d
Treat empty object as false. 2018-09-24 13:38:33 +02:00
2db1954779
Another bunch of fixes for object type. 2018-09-24 13:34:22 +02:00
f72d6c3922
Load data from array/object only if there is anything stored. 2018-09-24 11:47:30 +02:00
59fda6d797
Unref hashmap and object only if there is any data stored. 2018-09-24 11:29:51 +02:00
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
af1d59dab4
Don't try to get an integer representation of float. 2018-09-07 06:49:50 +02:00
ac8b8b0fdb
Don't try to get an integer representation of float. 2018-09-07 06:43:07 +02:00
9ee0f1954c
Do not omit the floating point.
Every modern hardware, including embedded devices, should support floating point numbers.
2018-09-07 06:38:32 +02:00
c00c91599f
Enable unused API functions. 2018-09-04 09:33:28 +02:00
d3d3dcc767
Partially switch to new error reporting. 2018-09-03 16:16:32 +02:00
488fee5caf
Another bunch of typos eliminated 2018-07-28 13:16:38 +02:00
abb91a9874
Reorganize the repository for new build system 2018-07-20 22:35:09 +02:00