-
Notifications
You must be signed in to change notification settings - Fork 339
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inconsistent output across PHP versions #269
Comments
Usually it's due to differences in the version of libxml shipped with PHP, which we use to do parsing. |
The 2 differing PHP versions give the same output for PHP 7.4.10 (cli) (built: Sep 9 2020 06:36:14) ( NTS )
PHP 7.4.8 (cli) (built: Jul 13 2020 16:45:47) ( NTS )
|
Oh, that is fairly strange. If you want to try debugging this, try printing the intermediate html after each html purifier phase and try to localize where the difference shows up. |
I've noticed a strange inconsistency with html purifier. Any ideas what this could be related to?
Script:
Ubuntu 18.04.4 LTS (Dev VM)
PHP 7.4.8 (cli) (built: Jul 13 2020 16:45:47) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.8, Copyright (c), by Zend Technologies
(md5 3966db7c2db30e0e63f566ac4a01632d)
--
Ubuntu 18.04.4 LTS (Dev VM)
PHP 7.4.10 (cli) (built: Sep 9 2020 06:36:14) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.10, Copyright (c), by Zend Technologies
(md5 f4b6f3065f0adb5ae6ab3e45f2380586)
--
Ubuntu 18.04.5 LTS (CI Server)
PHP 7.4.10 (cli) (built: Sep 22 2020 10:00:08) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
(md5 3966db7c2db30e0e63f566ac4a01632d)
The text was updated successfully, but these errors were encountered: