--TEST-- stream_supports_lock --INI-- allow_url_fopen=1 --FILE-- --EXPECTF-- resource(%d) of type (stream) bool(true) resource(%d) of type (stream) bool(true) resource(%d) of type (stream) bool(false) resource(%d) of type (stream) bool(false) resource(%d) of type (stream-context) Warning: stream_supports_lock(): supplied resource is not a valid stream resource in %s on line %d bool(false) Done