drewm / morse

A feature detection library for PHP code that needs to run in multiple different environments
MIT License
160 stars 4 forks source link

Testing for JSON on php 5.2+ seems redundant #2

Closed mglinski closed 9 years ago

mglinski commented 9 years ago

https://github.com/drewm/morse-php/blob/master/src/Feature/String.php#L25

Why are you testing for this if you minimum supported php version is 5.3?

drewm commented 9 years ago

Even though it's enabled by default, it can be disabled.