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:
Niels Dossche 2024-05-14 19:56:05 +02:00
commit 889f308e01
No known key found for this signature in database
GPG key ID: B8A8AD166DF0E2E5
6 changed files with 60 additions and 2 deletions

View file

@ -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);