PH7
PH7 copied to clipboard
An Embedded Implementation of PHP (C Library)
I'm not sure if there are any systems where MAP_FILE matters still, I know in Linux it's ignored. So I just put this in after the Unix includes to fix...
Hello, Wonder if this project is dead or alive? Since its not getting any updates and no activity on repo. 🤔 Is it still good to consider? Any alternative that...
Hello, I found that if an associative array is returned from a foreign function and passed into `json_encode`, it returns an array instead of an object unless I add [`JSON_FORCE_OBJECT`](http://php.net/manual/en/json.constants.php#constant.json-hex-quot)....
Hello, I found that if there is an `exit()` or `die()` in an included php script, it does not stop execution of the main script.
$GLOBALS is an associative array which contains the following value: `Array(10) { [_SERVER] => Array(1) { [SCRIPT_FILENAME] => test.ph7 } [_GET] => Array(0) { } [_POST] => Array(0) { }...
`` I have created the following code snippet, and it works as expected. However I am missing any warning message about missing parameter. Since it is not optional, as there...
Hello, I discovered this strange, obscure bug where the second include/require of a file from the PH7_VM_CONFIG_IMPORT_PATH doesn't work. After some investigation, I found that when `PH7_StreamOpenHandle` is called for...
Function ord() known from PHP and Delphi/Free Pascal/Lazarus should return ascii code for a given char. And ASCII codes are 0-255. So the code below under PHP returns 197: ```
In Solaris, MAP_FILE doesn't exist, so I added this: ``` c typedef unsigned long long int sxu64; /* 64 bits(8 bytes) unsigned int64 */ #endif /* _MSC_VER */ + +/*...
Latest clone, on Debian 7 i686 (x32), gcc 4.7.2 (Debian 4.7.2-5) -DPH7_ENABLE_MATH_FUNC -DPH7_ENABLE_THREADS Valgrind reports a definite memory loss of 112 bytes. The loss starts when a recursive mutex is...