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

use the modern constructor #2

Closed
wants to merge 1 commit into from
Closed

use the modern constructor #2

wants to merge 1 commit into from

Conversation

aoloe
Copy link

@aoloe aoloe commented Feb 10, 2016

this should work (better or only) on any somehow runnable php...

@gauthierm
Copy link
Member

This bumps the required PHP version from 4.3 to 5.0. The package2.xml and composer.json should be updated.

Presumably this is done for PHP 7 support, it may make sense to update the method signatures and class properties to use PHP 5 syntax as well.

@aoloe
Copy link
Author

aoloe commented Feb 10, 2016

in my case i already have problems with php 5.6...

and since i don't think that anybody still using php4 will be updating any code (or at least: i hope that nobody is doing so!) i hope that the patch will get accepted...

@golgote
Copy link
Member

golgote commented Feb 10, 2016

ok for me

@ftzdomino
Copy link

If the package2.xml and composer.json are updated, will this get accepted?

@cweiske
Copy link
Member

cweiske commented Apr 8, 2016

  • HTML_Common still uses the PHP4-style constructor, so I don't see why PHP 5.6 should bring any errors
  • Without changes to HTML_Common, this will break on PHP5 - see http://cweiske.de/tagebuch/php4-constructors-php7.htm
  • package2.xml and composer.json updates need to be done separate from this PR.

@cweiske
Copy link
Member

cweiske commented Jul 15, 2016

Solved in PR #3.

@cweiske cweiske closed this Jul 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants