Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: "Christoph M. Becker" Newsgroups: comp.lang.php Subject: Re: Why do I get error when same code works elsewhere? Date: Tue, 31 Mar 2015 22:55:30 +0200 Organization: solani.org Lines: 15 Message-ID: References: <18bbb34ftm658$.1tgigatbgo67j$.dlg@40tude.net> <2662856.hcR7piWQrz@PointedEars.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: solani.org 1427835324 20819 eJwFwYEBwCAIA7CXnEBx57B2/f8Ekwo8YCcKWS5bTPvsML7lHRnvDg6Rqf9Muyipl0ozQ18ziRJ/ (31 Mar 2015 20:55:24 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Tue, 31 Mar 2015 20:55:24 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 X-User-ID: eJwFwYEBwCAIA7CXQCnWcwbS/09Ygp2efSKRAUFLl/aWh2DqPcEXocOE1/qGzUG5m7luF/kDFD8Q2A== In-Reply-To: <2662856.hcR7piWQrz@PointedEars.de> Cancel-Lock: sha1:95Nc+NT366zgO2NReeiroA6yuYo= X-NNTP-Posting-Host: eJwFwYEBwCAIA7CXrNAC5ziU/09YQhPU4aKcw2ned6oGu6uECA+dtM4ai/2xcJY8eYG3LPwHE0wQKw== Xref: csiph.com comp.lang.php:15164 Thomas 'PointedEars' Lahn wrote: > bill wrote: > >> (usually using the "new" constructor or an explicit constructor) > > “new” is not a constructor, it is a keyword of an operation. What do you > think is an “explicit constructor” and how would it differ from your “‘new’ > constructor”? Read "factory method" instead of "explicit constructor". :) -- Christoph M. Becker