Git Product home page Git Product logo

Comments (4)

egils avatar egils commented on July 19, 2024

Regarding your questions:

  1. That is a valid point and I though about it from the beginning. I was not sure if anyone else apart me actually need this lib. Once there is I do not mind refactoring it on master. However, I would like to keep minimum PHP version 5.4 (or even upgrade up to 5.5.9) on a separate branch and release both branches simultaneously for personal preference.
  2. This is not relevant since PHP 5.3.6 bug was resolved and use-statements accept only fully qualified classnames. So it is not possible right now that DateTime class imported with use DateTime would be searched within current namespace. Below is a quote from PHP manual regarding this case:

Note that for namespaced names (fully qualified namespace names containing namespace separator, such as Foo\Bar as opposed to global names that do not, such as FooBar), the leading backslash is unnecessary and not recommended, as import names must be fully qualified, and are not processed relative to the current namespace.

Thank you for your comments. Much appreciated!

from cache.

mathroc avatar mathroc commented on July 19, 2024

Hi @egils

I would recommend you not to support php 5.3 as it has reached it's now EOL

http://blog.ircmaxell.com/2014/12/on-php-version-requirements.html

from cache.

egils avatar egils commented on July 19, 2024

@mathroc I tend to agree with you.
I have no knowledge about any PHP 5.3 dependant project that would want to use this lib. If there will be on I'll be more than happy to collaborate and help finding a solution. But for now I am closing this issue.

P.S. very nice read. Thank you!

from cache.

scento avatar scento commented on July 19, 2024

Okay, I just wanted to highlight, that we don't need to break backwards-compatibility.

from cache.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.