Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > de.comp.lang.php > #4064

Re: SoapHeader direkt aus XML erstellen

From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Newsgroups de.comp.lang.php
Subject Re: SoapHeader direkt aus XML erstellen
Date 2017-01-29 14:29 +0100
Organization PointedEars Software (PES)
Message-ID <2367204.mvXUDI8C0e@PointedEars.de> (permalink)
References (9 earlier) <o6io03$5b4$1@news.albasani.net> <1771710.oMNUckLgyt@PointedEars.de> <1t588d001ei7995n3e8%sfroehli@Froehlich.Priv.at> <2280297.ceMOGnrEIr@PointedEars.de> <1t588d708ai6b8fn3e8%sfroehli@Froehlich.Priv.at>

Show all headers | View raw


Stefan Froehlich wrote:

> On Sat, 28 Jan 2017 22:10:44 Thomas 'PointedEars' Lahn wrote:
>> $ php -r 'xdebug_disable(); try { throw new SoapFault(); } catch
>> (Exception $e) { var_dump($e); die; }'
>  
>> sagt mir, dass das nicht in jedem Fall reicht, weil nur die von Xdebug
>> hinzugefügte Eigenschaft “xdebug_message” den Stacktrace direkt enthält.
> 
> Hm, ja. Ich habe hier xdebug immer mit dabei und nicht daran gedacht,
> dass sich var_dump damit anders verhält, sorry.

AISB: Die Ursache dafür, dass mit Xdebug der Stacktrace mit var_dump($e) zu 
sehen ist, ist _nicht_ Xdebugs Modifikation von var_dump(), sondern Xdebugs 
Modifikation von Exception:

$ php -r 'function f () { try { throw new Exception(); } catch (Exception 
$e) { echo $e->xdebug_message; }}; f();
xdebug_disable(); f();'
PHP Warning:  Module 'PDO' already loaded in Unknown on line 0
PHP Warning:  Module 'vld' already loaded in Unknown on line 0

Exception:  in Command line code on line 1

Call Stack:
    0.0001     234848   1. {main}() Command line code:0
    0.0001     234896   2. f() Command line code:1


Variables in local scope (#2):
  $e = *uninitialized*
PHP Notice:  Undefined property: Exception::$xdebug_message in Command line 
code on line 1

-- 
PointedEars
Zend Certified PHP Engineer <http://www.zend.com/en/yellow-pages/ZEND024953>
<https://github.com/PointedEars> | <http://PointedEars.de/wsvn>
Twitter: @PointedEars2 | Please do not cc me./Bitte keine Kopien per E-Mail.

Back to de.comp.lang.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

SoapHeader direkt aus XML erstellen Ralph Stahl <post@rstahl.de> - 2017-01-25 19:56 +0100
  Re: SoapHeader direkt aus XML erstellen Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-01-26 23:59 +0100
    Re: SoapHeader direkt aus XML erstellen Ralph Stahl <post@rstahl.de> - 2017-01-27 09:56 +0100
      Re: SoapHeader direkt aus XML erstellen Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-01-27 12:14 +0100
        Re: SoapHeader direkt aus XML erstellen Ralph Stahl <post@rstahl.de> - 2017-01-27 14:39 +0100
          Re: SoapHeader direkt aus XML erstellen Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-01-27 14:47 +0100
            Re: SoapHeader direkt aus XML erstellen Ralph Stahl <post@rstahl.de> - 2017-01-27 15:10 +0100
              Re: SoapHeader direkt aus XML erstellen Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-01-27 16:40 +0100
                Re: SoapHeader direkt aus XML erstellen Ralph Stahl <post@rstahl.de> - 2017-01-28 11:38 +0100
                Re: SoapHeader direkt aus XML erstellen Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-01-28 12:04 +0100
                Re: SoapHeader direkt aus XML erstellen "Christoph M. Becker" <cmbecker69@arcor.de> - 2017-01-28 12:22 +0100
                Re: SoapHeader direkt aus XML erstellen Ralph Stahl <post@rstahl.de> - 2017-01-28 12:58 +0100
                Re: SoapHeader direkt aus XML erstellen Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-01-28 13:35 +0100
                Re: SoapHeader direkt aus XML erstellen "Christoph M. Becker" <cmbecker69@arcor.de> - 2017-01-28 16:52 +0100
                Re: SoapHeader direkt aus XML erstellen Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-01-28 16:59 +0100
                Re: SoapHeader direkt aus XML erstellen Stefan+Usenet@Froehlich.Priv.at (Stefan Froehlich) - 2017-01-28 14:22 +0000
                Re: SoapHeader direkt aus XML erstellen Ralph Stahl <post@rstahl.de> - 2017-01-28 12:36 +0100
                Re: SoapHeader direkt aus XML erstellen Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-01-28 13:37 +0100
                Re: SoapHeader direkt aus XML erstellen Ralph Stahl <post@rstahl.de> - 2017-01-28 19:30 +0100
                Re: SoapHeader direkt aus XML erstellen Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-01-28 21:10 +0100
                Re: SoapHeader direkt aus XML erstellen Stefan+Usenet@Froehlich.Priv.at (Stefan Froehlich) - 2017-01-28 20:34 +0000
                Re: SoapHeader direkt aus XML erstellen Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-01-28 22:10 +0100
                Re: SoapHeader direkt aus XML erstellen Stefan+Usenet@Froehlich.Priv.at (Stefan Froehlich) - 2017-01-29 04:34 +0000
                Re: SoapHeader direkt aus XML erstellen Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-01-29 14:29 +0100
                Re: SoapHeader direkt aus XML erstellen Ralph Stahl <post@rstahl.de> - 2017-01-29 12:37 +0100
                Re: SoapHeader direkt aus XML erstellen Stefan+Usenet@Froehlich.Priv.at (Stefan Froehlich) - 2017-01-29 11:55 +0000
                Re: SoapHeader direkt aus XML erstellen Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-01-29 14:30 +0100
                Re: SoapHeader direkt aus XML erstellen Ralph Stahl <post@rstahl.de> - 2017-01-30 09:43 +0100

csiph-web