Skip to content

Commit

Permalink
Merge branch 'PHP-8.3'
Browse files Browse the repository at this point in the history
* PHP-8.3:
  Fix libxml2 2.12 build due to API breaks
  • Loading branch information
nielsdos committed Dec 1, 2023
2 parents 6edbbc1 + f61f8d4 commit 58fc521
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ext/libxml/libxml.c
Original file line number Diff line number Diff line change
Expand Up @@ -1088,7 +1088,7 @@ PHP_FUNCTION(libxml_get_last_error)
{
ZEND_PARSE_PARAMETERS_NONE();

const xmlError* error = xmlGetLastError();
const xmlError *error = xmlGetLastError();

if (error) {
object_init_ex(return_value, libxmlerror_class_entry);
Expand Down
2 changes: 1 addition & 1 deletion ext/soap/php_sdl.c
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ static void load_wsdl_ex(zval *this_ptr, char *struri, sdlCtx *ctx, int include)
sdl_restore_uri_credentials(ctx);

if (!wsdl) {
xmlErrorPtr xmlErrorPtr = xmlGetLastError();
const xmlError *xmlErrorPtr = xmlGetLastError();

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

0 comments on commit 58fc521

Please sign in to comment.