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

PHP 5.4 strict standard support #1609

Closed
inureyes opened this issue Oct 3, 2012 · 1 comment
Closed

PHP 5.4 strict standard support #1609

inureyes opened this issue Oct 3, 2012 · 1 comment

Comments

@inureyes
Copy link
Member

inureyes commented Oct 3, 2012

Summary

  • Current framework code (singleton -> model) does not match to the strict standard of PHP 5.4
  • It was implemented to support < PHP 5.2. Thus, there are three cases to support. < PHP 5.3, PHP 5.3.X, > PHP 5.4.
  • Modify static variable calls / singleton code.

개요

  • 현재 프레임웍의 싱글톤 구현은 PHP 5.4의 강화된 표준 규약을 만족하지 않습니다.
  • 현재의 구현은 PHP 5.2 미만에서 late static binding이 지원되지 않는 부분을 지원하기 위해 creorix님께서 구현한 부분입니다. PHP 5.3에서 미묘한 충돌이 있는데, 따라서 5.2 미만, 5.3, 5.4 이상 세가지 경우를 모두 지원하는 버전을 만들어야 합니다.
@ghost ghost assigned inureyes Oct 3, 2012
@inureyes
Copy link
Member Author

inureyes commented Oct 3, 2012

base class에서 미리 '이 클래스를 나중에 상속받는 클래스의 일부 메소드를 무시하고 base class의 메소드를 써라' 라는 식의 접근이 PHP에서 가능한가?

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

1 participant