#37501 [Opn->Fbk]: var_export()

From: Date: Fri, 19 May 2006 08:54:42 +0000
Subject: #37501 [Opn->Fbk]: var_export()
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-97361@lists.php.net to get a copy of this message
ID: 37501 Updated by: tony2001@php.net Reported By: geisel at 4up dot com dot br -Status: Open +Status: Feedback Bug Type: Unknown/Other Function Operating System: linux PHP Version: 5.1.4 New Comment: Mind telling us the error? Previous Comments: ------------------------------------------------------------------------ [2006-05-18 14:53:35] geisel at 4up dot com dot br Description: ------------ The following code does an error in soap messages. Switching to var_export($e,false) corrects it, but at the documentation, true is the correct parameter. Reproduce code: --------------- try { throw new Exception('x'); } catch(exception $e) { throw new SoapFault('Erro:',var_export($e,true)); } ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=37501&edit=1

« previous php.bugs (#97361) next »