Skip to content
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

Silence operator on read #88

Closed
GDmac opened this issue Feb 14, 2016 · 4 comments
Closed

Silence operator on read #88

GDmac opened this issue Feb 14, 2016 · 4 comments

Comments

@GDmac
Copy link

GDmac commented Feb 14, 2016

Is the silence operator still needed?
(also the one mentioned in #87 )
https://github.com/fruux/sabre-xml/blob/master/lib/Reader.php#L65
https://github.com/fruux/sabre-xml/blob/master/lib/Reader.php#L145

It seems the issue/bug has been fixed
https://bugs.php.net/bug.php?id=64230

Testing your example code from that bug report
does not throw errors here (php 5.6.14)

@evert
Copy link
Member

evert commented Feb 14, 2016

If it's fixed in the minimum supported PHP version then I agree that it can be removed. Currently the minimum version is 5.4.1. I would be willing to increase the revision number as the minimum version, if the bug is fixed somewhere in 5.4.x. Any idea if it was?

@evert evert added the question label Feb 14, 2016
@GDmac
Copy link
Author

GDmac commented Feb 15, 2016

i have no idea, and can not deduce it from the bug report either.

@evert
Copy link
Member

evert commented Feb 15, 2016

Here's the github commit:

php/php-src@dc3d360

Tags: 5.4.22, 5.5.5, 5.6.0. A two-year old release.. I think I can be ok with increasing the minimum versions to those in the next minor version (1.5.0).

@evert
Copy link
Member

evert commented Mar 15, 2016

Unfortunately we recently found out that this was still needed to support hhvm, which emits errors regardless of this setting.

So I'm reverting this until it's also fixed in hhvm.

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

No branches or pull requests

2 participants