HaxeFoundation / HaxeFoundation/haxe
[PHP] + [Neko] haxe.ds.ObjectMap fails with key being a String or null
Open
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
Assessment
This issue has not been assessed yet.