note 118278 added to rararchive.open

From: Date: Sat, 07 Nov 2015 08:46:41 +0000
Subject: note 118278 added to rararchive.open
Groups: php.notes 
Request: Send a blank email to php-notes+get-204104@lists.php.net to get a copy of this message
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. ---- Server IP: 72.52.91.14 Probable Submitter: 118.117.77.220 ---- Manual Page -- http://php.net/manual/en/rararchive.open.php Edit -- https://master.php.net/note/edit/118278 Del: integrated -- https://master.php.net/note/delete/118278/integrated Del: useless -- https://master.php.net/note/delete/118278/useless Del: bad code -- https://master.php.net/note/delete/118278/bad+code Del: spam -- https://master.php.net/note/delete/118278/spam Del: non-english -- https://master.php.net/note/delete/118278/non-english Del: in docs -- https://master.php.net/note/delete/118278/in+docs Del: other reasons-- https://master.php.net/note/delete/118278 Reject -- https://master.php.net/note/reject/118278 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#204104) next »