note 116744 added to exception.gettraceasstring

From: Date: Sat, 21 Feb 2015 16:41:25 +0000
Subject: note 116744 added to exception.gettraceasstring
Groups: php.notes 
Request: Send a blank email to php-notes+get-201779@lists.php.net to get a copy of this message
this method uses \n for new line (i expected PHP_EOL but well ...). if you want to log the string as one single line use something like: <?php $separator = ', '; $one_line = str_replace("\n", $separator, $e->getTraceAsString()); ?> ---- Server IP: 72.52.91.14 Probable Submitter: 146.52.151.176 ---- Manual Page -- http://php.net/manual/en/exception.gettraceasstring.php Edit -- https://master.php.net/note/edit/116744 Del: integrated -- https://master.php.net/note/delete/116744/integrated Del: useless -- https://master.php.net/note/delete/116744/useless Del: bad code -- https://master.php.net/note/delete/116744/bad+code Del: spam -- https://master.php.net/note/delete/116744/spam Del: non-english -- https://master.php.net/note/delete/116744/non-english Del: in docs -- https://master.php.net/note/delete/116744/in+docs Del: other reasons-- https://master.php.net/note/delete/116744 Reject -- https://master.php.net/note/reject/116744 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#201779) next »