note 118278 rejected from rararchive.open by cmb
| From: | cmb@php.net | Date: | Wed, 16 Dec 2015 16:10:41 +0000 |
| Subject: | note 118278 rejected from rararchive.open by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-204423@lists.php.net to get a copy of this message | ||
Note Submitter: ohcc at 163 dot com
----
I'm just confused why Rar::open() would be static, there should be a constructor instead.
I think $rar = new RarArchive(...); is much better than $rar = RarArchive::open(...); that is the
real OOP style.