Comments (4)
Regarding your questions:
- 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.
- 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 thatDateTime
class imported withuse 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.
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.
@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.
Okay, I just wanted to highlight, that we don't need to break backwards-compatibility.
from cache.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cache.