note 97103 added to soapfault.construct

From: Date: Thu, 01 Apr 2010 13:04:37 +0000
Subject: note 97103 added to soapfault.construct
Groups: php.notes 
Request: Send a blank email to php-notes+get-167616@lists.php.net to get a copy of this message
The first Parameter of the constructor, the faultcode, of SoapFault must be a string. Otherwise it will lead to an error. <?php throw new SoapFault(1, "Error message!"); // wrong throw new SoapFault("1", "Error message!"); // right ?> ---- Server IP: 217.160.235.204 Probable Submitter: 89.244.145.236 ---- Manual Page -- http://www.php.net/manual/en/soapfault.construct.php Edit -- https://master.php.net/note/edit/97103 Del: integrated -- https://master.php.net/note/delete/97103/integrated Del: useless -- https://master.php.net/note/delete/97103/useless Del: bad code -- https://master.php.net/note/delete/97103/bad+code Del: spam -- https://master.php.net/note/delete/97103/spam Del: non-english -- https://master.php.net/note/delete/97103/non-english Del: in docs -- https://master.php.net/note/delete/97103/in+docs Del: other reasons-- https://master.php.net/note/delete/97103 Reject -- https://master.php.net/note/reject/97103 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#167616) next »