php-openid icon indicating copy to clipboard operation
php-openid copied to clipboard

is_a() is deprecated, use instanceof instead !

Open ccazette opened this issue 15 years ago • 2 comments

There are 5 matches in Consumer.php and 9 matches in Server.php. 1 match in AX.php. They should all be replaced by instanceof operator as of PHP 5.

This currently results in strict errors.

ccazette avatar May 16 '10 13:05 ccazette

it was undeprecated in 5.3.0. though, in most cases, instanceof is definitely preferred way of doing things

indeyets avatar May 17 '10 08:05 indeyets

Using instanceof still allows things to work in PHP 5.2; we develop with strict standards and throw Exceptions on any warnings or errors, so this makes things difficult. It's a five minute job to replace them all and you gain 5.2 and 5.3 compatibility.

elyobo avatar Mar 28 '11 04:03 elyobo

This repo is being archived. Closing issue.

timcappalli avatar Jul 24 '23 18:07 timcappalli