DEVSENSE / Phalanger

PHP 5.4 compiler for .NET/Mono frameworks. Predecessor to the opensource PeachPie project (www.peachpie.io).
http://v4.php-compiler.net/
Apache License 2.0
382 stars 94 forks source link

Bug in array_key_exists #39

Open broudy3 opened 9 years ago

broudy3 commented 9 years ago

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.

bfistein commented 5 years ago

@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.