Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

PHP 8.1.0alpha1 - 1 failed test #273

Open
remicollet opened this issue Jun 10, 2021 · 5 comments
Open

PHP 8.1.0alpha1 - 1 failed test #273

remicollet opened this issue Jun 10, 2021 · 5 comments

Comments

@remicollet
Copy link

TEST 62/70 [tests/span_stacktrace_default.phpt]
========DIFF========
     Number of traces: 1
002+ array(1) {
002- array(2) {
       [0]=>
       array(3) {
         ["file"]=>
         string(%d) "%s/span_stacktrace_default.php"
         ["line"]=>
008+     int(14)
008-     int(10)
         ["function"]=>
010+     string(10) "myFunction"
010-     string(4) "abcd"
       }
012+ }
012-   [1]=>
013-   array(3) {
014-     ["file"]=>
015-     string(%d) "%s/span_stacktrace_default.php"
016-     ["line"]=>
017-     int(14)
018-     ["function"]=>
019-     string(10) "myFunction"
020-   }
021- }
========DONE========
FAIL OpenCensus Trace: Default span stackTrace [tests/span_stacktrace_default.phpt] 

@MrMage
Copy link
Contributor

MrMage commented Jun 10, 2021

PHP 8.1 is not officially supported yet. Feel free to add support for it in a PR.

@enumag
Copy link

enumag commented Jan 27, 2022

Any update on official support for PHP 8.1? Stable release is a few months old already. ;-)

@MrMage
Copy link
Contributor

MrMage commented Jan 27, 2022

For what it's worth, I had been running the extension just fine using PHP 8.1. But it does cost quite a bit of performance (~20%) with recent PHP versions, so I have switched to only using the PHP package with manual tracing now.

@enumag
Copy link

enumag commented Jan 27, 2022

Good to know, thanks!

@tuliogomesbarbosa
Copy link

Any update on this thread? This error is occurring while running make test for the extension.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants