Commit Graph

12 Commits

Author SHA1 Message Date
David Carlier 62344a99ef Adding random_int/random_bytes functions but still using PH7 PRNG. 2018-07-16 16:13:20 +01:00
Rafal Kupiec 6d0e346b7d
Correct coding style 2018-07-15 11:57:22 +02:00
Rafal Kupiec 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
Rafal Kupiec 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
Rafal Kupiec 5d1e75d72c
There will be no PDO. P# will contain DBAL 2018-07-12 18:21:14 +02:00
Rafal Kupiec 0c4f5bcd75
Serialization cannot depend on JSON. It needs to be rewritten in the future 2018-07-12 18:12:27 +02:00
Rafal Kupiec d898cd1e36
Code formatting 2018-07-12 17:24:46 +02:00
Rafal Kupiec 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
Rafal Kupiec 96fe73a39f
Be able to compile with -Wwrite-strings 2018-07-12 15:58:29 +02:00
Rafal Kupiec 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