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

make test fails in PHP 7.4 #250

Closed
garbetjie opened this issue Dec 2, 2019 · 0 comments · Fixed by #270
Closed

make test fails in PHP 7.4 #250

garbetjie opened this issue Dec 2, 2019 · 0 comments · Fixed by #270

Comments

@garbetjie
Copy link

When installing the opencensus-php extension from source, running make test fails on tests/name_uncastable_object.phpt.

The expected output is:

%s fatal error: Object of class UncastableObject could not be converted to string in %s/name_uncastable_object.php on line %d

The actual output received is:

Fatal error: Uncaught Error: Object of class UncastableObject could not be converted to string in /tmp/opencensus-php-d1512abf456761165419a7b236e046a38b61219e/ext/tests/name_uncastable_object.php:9
Stack trace:
#0 /tmp/opencensus-php-d1512abf456761165419a7b236e046a38b61219e/ext/tests/name_uncastable_object.php(9): opencensus_trace_begin('foo', Array)
#1 {main}
  thrown in /tmp/opencensus-php-d1512abf456761165419a7b236e046a38b61219e/ext/tests/name_uncastable_object.php on line 9
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
1 participant