sudocode / ohmy-auth

OAuth made easy for PHP (deprecated)
BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

Not compatible to PHP 5.3 #5

Closed bytedealer closed 10 years ago

bytedealer commented 10 years ago

Hi I tried your lib on a Server where PHP 5.3 is installed and got it not working.

The problem is here: ohmy-auth / src / ohmy / Auth1 / Flow / ThreeLegged.php

In function "request" you use "class member access on instantiation" which is introduced in PHP 5.4.

Is it possible to make it backward compatible?

Greetz bytedealer

sudocode commented 10 years ago

I see. Yes, I can just move the method call after instantiation. I'll fix this when I get home from work. Thanks for filing the report.

sudocode commented 10 years ago

PHP 5.3 should now be supported. I just tested the library with several of the examples. Please let me know if you experience any issues. Thanks.