commandocoding / openid-selector

Automatically exported from code.google.com/p/openid-selector
0 stars 0 forks source link

PHP4. Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /Auth/OpenID/Consumer.php on line 1406 #51

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run with PHP 4
2. try to sign in

What is the expected output? What do you see instead?
Just in case it helps others, I've gotten the following issue with PHP 4.
Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or 
T_FUNCTION or T_VAR or '}' in /Auth/OpenID/Consumer.php on line 1406

What version of the product are you using? On what operating system?
latest as per 20/3/2013 (2.1.0)

Please provide any additional information below.
All works as expected with PHP5 environment.
I can change PHP revision by adding the following to my .htaccess:
SetEnv PHP_VER 5_4
And it works no problem.

Original issue reported on code.google.com by the.hcd on 20 Mar 2013 at 5:27

GoogleCodeExporter commented 9 years ago
ROTFL, where did you find PHP in OpenID Selector??

Original comment by andriy.gerasika on 5 May 2013 at 12:48

GoogleCodeExporter commented 9 years ago
alright hammer?
got it from one of the links referenced in the alternatives section here:
https://code.google.com/p/openid-selector/

Original comment by the.hcd on 6 May 2013 at 12:46