note 86280 added to function.zip-open

[email protected]
Newsgroups php.notes
Message-ID <[email protected]>
In response to saulius at solmetra dot lt: 

In my testing I have found that PHP treats odf and ods files as zip archives, and probably others. Therefore, is_resource returns true when you try to open these files as a zip. For that reason I think is_resource is not a good way to determine if a file is a zip.
----
Server IP: 92.48.74.199
Probable Submitter: 83.104.39.199
----
Manual Page -- http://www.php.net/manual/en/function.zip-open.php
Edit        -- https://master.php.net/note/edit/86280
Del: integrated  -- https://master.php.net/note/delete/86280/integrated
Del: useless     -- https://master.php.net/note/delete/86280/useless
Del: bad code    -- https://master.php.net/note/delete/86280/bad+code
Del: spam        -- https://master.php.net/note/delete/86280/spam
Del: non-english -- https://master.php.net/note/delete/86280/non-english
Del: in docs     -- https://master.php.net/note/delete/86280/in+docs
Del: other reasons-- https://master.php.net/note/delete/86280
Reject      -- https://master.php.net/note/reject/86280
Search      -- https://master.php.net/manage/user-notes.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.