===description===
resourceCannotBeCoercedToString
===file===
<?php
                    /** @psalm-mutation-free */
                    function takesString(string $s) : void {}
                    $a = fopen("php://memory", "r");
                    takesString($a);
===expect===
InvalidArgument
===ignore===
TODO
