mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Merge branch 'PHP-8.3'
* PHP-8.3: Fix GH-14215: Cannot use FFI::load on CRLF header file with apache2handler
This commit is contained in:
commit
889f308e01
6 changed files with 60 additions and 2 deletions
|
@ -739,6 +739,18 @@ static ZEND_FUNCTION(zend_test_is_pcre_bundled)
|
|||
#endif
|
||||
}
|
||||
|
||||
#ifdef PHP_WIN32
|
||||
static ZEND_FUNCTION(zend_test_set_fmode)
|
||||
{
|
||||
bool binary;
|
||||
ZEND_PARSE_PARAMETERS_START(1, 1)
|
||||
Z_PARAM_BOOL(binary)
|
||||
ZEND_PARSE_PARAMETERS_END();
|
||||
|
||||
_fmode = binary ? _O_BINARY : _O_TEXT;
|
||||
}
|
||||
#endif
|
||||
|
||||
static zend_object *zend_test_class_new(zend_class_entry *class_type)
|
||||
{
|
||||
zend_object *obj = zend_objects_new(class_type);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue