Skip to content

Fix for PHP 8.6.0beta3 - #96

Open
remicollet wants to merge 1 commit into
swoole:mainfrom
remicollet:issue-php8.6.0beta3
Open

remicollet wants to merge 1 commit into
swoole:mainfrom
remicollet:issue-php8.6.0beta3

Conversation

@remicollet

Copy link
Copy Markdown
Contributor
  . The misnamed ZVAL_IS_NULL() has been removed. Use Z_ISNULL() instead.

  . The INI_STR(), INI_INT(), INI_FLT(), and INI_BOOL() macros have been
    removed. Instead new zend_ini_{bool|long|double|str|string}_literal()
    macros have been added. This fixes an internal naming inconsistency as
    "str" usually means zend_string*, and "string" means char*.
    However INI_STR() returned a char*

  . The XtOffsetOf() alias of C’s offsetof() macro has been removed. Use
    offsetof() directly.

  . The misnamed ZVAL_IS_NULL() has been removed. Use Z_ISNULL() instead.

  . The INI_STR(), INI_INT(), INI_FLT(), and INI_BOOL() macros have been
    removed. Instead new zend_ini_{bool|long|double|str|string}_literal()
    macros have been added. This fixes an internal naming inconsistency as
    "str" usually means zend_string*, and "string" means char*.
    However INI_STR() returned a char*

  . The XtOffsetOf() alias of C’s offsetof() macro has been removed. Use
    offsetof() directly.
@codecov-commenter

codecov-commenter commented Sep 17, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.66%. Comparing base (5b9c650) to head (c935705).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #96   +/-   ##
=======================================
  Coverage   88.66%   88.66%           
=======================================
  Files          27       27           
  Lines        3176     3176           
  Branches      463      454    -9     
=======================================
  Hits         2816     2816           
  Misses        360      360           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants