Phalanger icon indicating copy to clipboard operation
Phalanger copied to clipboard

Bug in array_key_exists

Open broudy3 opened this issue 10 years ago • 1 comments

array_key_exists does not behaves as it should, from php documentation:

For backward compatibility reasons, array_key_exists() will also return TRUE if key is a property defined within an object given as array.

Phalanger reports error if input parameter is not array.

broudy3 avatar Sep 07 '14 21:09 broudy3

@broudy3 Phalanger's development is mostly discontinued in favor of PeachPie, the more modern compiler and runtime that also targets .NET Core. Please feel free to give that a try.

bfistein avatar Sep 19 '18 20:09 bfistein