HaxeFoundation / HaxeFoundation/haxe

[PHP] + [Neko] haxe.ds.ObjectMap fails with key being a String or null

Open
#12,072 1 comment 0 reactions 0 assignees View on GitHub
platform-php
Dominant language
Haxe
Stars
6.9k
Forks
715
Avg merge
2d 2h
Merged PRs (30d)
11

Description

Hej,

This simple example works everywhere but fails on PHP : `spl_object_hash(): Argument #1 ($object) must be of type object, string given`
```haxe
class Main {
public static function main() {
var h = new haxe.ds.ObjectMap();
h.set( "foo" , true );
}
}
```

Thanks for reading me

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.