Comments (4)
Thanks for the report. The failures come from both the evolution of the expat library, and because some tests assume libxml2 behaviour with respect to error handling. There are small differences in how errors are handled and reported which cause visible differences in the tests. The differences are not bugs. The solution I went with was to split the tests.
I'm unsure about the support status of expat in php.
Still works, just not tested on a regular basis.
But when building, it links against both libxml2 and expat, and I'm unsure what the implications are.
The XML extension links against expat, but since you still have other XML extension enabled (e.g. the DOM extension), they link against libxml2. This has no negative impact.
Those docs also link to a very old expat webpage, and the notes about building expat are probably obsolete. I think it would be good to update and clarify those docs.
I've made a PR to update the expat library URLs too: php/doc-base#117
(The setlocale failures seem unrelated to expat/xml, they also appear when building with default options)
Seems harmless, it's configuration related.
from php-src.
We could add it to the nightly workflow.
Either as a small seperate task or by compiling the xml extension shared twice and loading each of them once to test. Probably the first option is the most easy one. Cc @iluuu1994 what do you think?
from php-src.
@nielsdos That makes sense to me.
from php-src.
@nielsdos is there a chance that the CI could be made to also cover compilation and test execution with --with-expat
so that it's impossible to break without noticing in the future?
from php-src.
Related Issues (20)
- OpenSSL streams liveness check should be always non blocking HOT 1
- code randomly hangs when calling error_reporting(-1) HOT 3
- Floating point errors with round and bcmath when higher precision is used HOT 3
- jit bug & segfault with symfony lazyghosttrait HOT 2
- [RFE] Implements PASSWORD_ARGON2 from OpenSSL 3.2 HOT 2
- pg_pconnect with flags: PGSQL_CONNECT_FORCE_NEW returns the same connection HOT 1
- Extension API: zend_eval_string() only executes first statement HOT 2
- "first day of this year" is not implemented HOT 2
- Unable to resize SplfixedArray after being unserialized in PHP 8.2.15
- ext-sockets won't compile in official Docker image 8.3.3-fpm-alpine3.19 HOT 3
- PHP_FCGI_MAX_IDLE_TIMEOUT environment variabile option for php-cgi
- Please, report to the developers HOT 6
- Add ext/xml Expat workflow to nightly
- Special error with multiplication + type casting for (2.01 * 1000000) HOT 1
- Imagick::readImage segfaults with heic file HOT 5
- cURL different behaviour between PHP 8.2.15 and PHP 8.2.16 HOT 16
- Setting boolean values via env in php config fails for all values other than `1` and `""` HOT 1
- New Garbage Collector feature for WeakMap added in 8.3 #10932 causes GC buffer overflow which then causes segfault HOT 8
- use reflection to determine whether a global constant is deprecated HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php-src.