Commit Graph

21 Commits

Author SHA1 Message Date
a00e81f4f8
Move XML support into separate module. 2018-07-19 19:58:42 +02:00
95e9174058
Move JSON support into separate module. 2018-07-19 18:30:56 +02:00
0dc9a04f0e
It is a bad idea to compare memory. This fixes some false-positives. 2018-07-19 17:28:13 +02:00
28dbeeb1ad
I'm not a big Windows fun, so please correct me if this is not working 2018-07-19 17:22:36 +02:00
d1e56b9206
sizeof() is enough 2018-07-19 16:52:39 +02:00
f0b3adc44a Further change for module load (#11) 2018-07-19 16:51:33 +02:00
e755fd55b9 Little build fix (#10) 2018-07-19 13:43:10 +02:00
5908307885
Automatically unload all modules and free up memory on VM release. 2018-07-19 07:35:59 +02:00
ee5504ea3a
Initial support for modules, partially implements #1 2018-07-18 22:01:04 +02:00
62344a99ef Adding random_int/random_bytes functions but still using PH7 PRNG. 2018-07-16 16:13:20 +01:00
6d0e346b7d
Correct coding style 2018-07-15 11:57:22 +02:00
4f4371545b
Implement register_autoload_handler() builtin function, that registers any number of autoloaders, enabling for classes to be automatically loaded if they are not defined.
Implement a mechanism, to iterate through registered autoload callbacks until class is found.
2018-07-15 00:06:26 +02:00
d0357787db
Do not consider a method with the same name as class name to be a constructor, nor do not create such alias. This is some event from old PHP4, we do not want to support. Magic methods <__construct() & __destruct()> are more than
enough.
2018-07-13 17:58:50 +02:00
5d1e75d72c
There will be no PDO. P# will contain DBAL 2018-07-12 18:21:14 +02:00
0c4f5bcd75
Serialization cannot depend on JSON. It needs to be rewritten in the future 2018-07-12 18:12:27 +02:00
d898cd1e36
Code formatting 2018-07-12 17:24:46 +02:00
f212588ab1
Removing unnecessary operators (eq, ne). Some special strings comparison should be implemented as a function like strcmp(). 2018-07-12 16:05:11 +02:00
96fe73a39f
Be able to compile with -Wwrite-strings 2018-07-12 15:58:29 +02:00
f577943861
Fix VmEvalChunk() to also initialize and install static and constant class attributes 2018-07-12 15:48:30 +02:00
Rafal Kupiec
520e2280e4 No amalgamation 2018-07-12 13:31:05 +02:00
Rafal Kupiec
5b10ea3b41 de-amalgamation of code for easier maintenance 2018-07-12 13:26:32 +02:00