haxe icon indicating copy to clipboard operation
haxe copied to clipboard

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

Open filt3rek opened this issue 8 months ago • 1 comments

Hej,

This simple example works everywhere but fails on PHP : spl_object_hash(): Argument #1 ($object) must be of type object, string given

class Main {
    public static function main() {
        var h = new haxe.ds.ObjectMap<Dynamic, Bool>();
            h.set( "foo" , true );
    }
}

Thanks for reading me

filt3rek avatar Mar 21 '25 11:03 filt3rek