Skip to content

Commit 58fc521

Browse files
committed
Merge branch 'PHP-8.3'
* PHP-8.3: Fix libxml2 2.12 build due to API breaks
2 parents 6edbbc1 + f61f8d4 commit 58fc521

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/libxml/libxml.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1088,7 +1088,7 @@ PHP_FUNCTION(libxml_get_last_error)
10881088
{
10891089
ZEND_PARSE_PARAMETERS_NONE();
10901090

1091-
const xmlError* error = xmlGetLastError();
1091+
const xmlError *error = xmlGetLastError();
10921092

10931093
if (error) {
10941094
object_init_ex(return_value, libxmlerror_class_entry);

ext/soap/php_sdl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ static void load_wsdl_ex(zval *this_ptr, char *struri, sdlCtx *ctx, int include)
341341
sdl_restore_uri_credentials(ctx);
342342

343343
if (!wsdl) {
344-
xmlErrorPtr xmlErrorPtr = xmlGetLastError();
344+
const xmlError *xmlErrorPtr = xmlGetLastError();
345345

346346
if (xmlErrorPtr) {
347347
soap_error2(E_ERROR, "Parsing WSDL: Couldn't load from '%s' : %s", struri, xmlErrorPtr->message);

0 commit comments

Comments
 (0)