CircleOfNice / DoctrineRestDriver

GNU General Public License v3.0
153 stars 44 forks source link

Avoid ARRAY_FILTER_USE_KEY for PHP 5.5 compatibility #15

Closed JMLamodiere closed 8 years ago

JMLamodiere commented 8 years ago

Fixes #14

Also replaces preg_match with strpos for performance reasons.

TobiasHauck commented 8 years ago

You made my day! All the time I'm working with these array functions I get brain fucked. This one is pretty smart. Good job!

JMLamodiere commented 8 years ago

To be honest : https://gist.github.com/h4cc/8e2e3d0f6a8cd9cacde8 :smile:

TobiasHauck commented 8 years ago

Well... :D You were still smart enough to google it - something I should have done, too ;)