3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Basis für die beteiligten Übersetzer an einem Text class Translator { public $code; public $firstName; public $surName; public $cardNumber; public function __construct($code, $firstName, $surName, $cardNumber){ $this->firstName = $firstName; $this->surName = $surName; $this->cardNumber = $cardNumber; } } // Basis für die Autoren eines zu meldenen Textes class Author { public $code; public $firstName; public $surName; public $cardNumber; public function __construct($firstName, $surName, $cardNumber){ $this->firstName = $firstName; $this->surName = $surName; $this->cardNumber = $cardNumber; } } // Basis für die vollständige Meldung an die VGWort class Note { public $pixel_privId; public $shorttext; public $fulltext; public $text_isLyric; public $text_isRestricted; public $webranges; public function __construct($privId, $shorttext, $fulltext, $text_isLyric, $text_isRestricted, $webranges){ $this->pixel_privId = $privId; $this->shorttext = $shorttext; $this->fulltext = $fulltext; $this->text_isLyric = $text_isLyric; $this->text_isRestricted = $text_isRestricted; $this->webranges = $webranges; } } class NoteHandling extends SoapClient{ // Client connection private $client_options; private $wsdl; private $client; function __construct(){ $this->client_options = array('login' => 'SlevogtE', 'password' => 'BBDEXI', 'trace' => 1, 'features' => SOAP_SINGLE_ELEMENT_ARRAYS); $this->wsdl = 'https://' . $this->client_options['login'] . ':' . $this->client_options['password'] . '@tom.vgwort.de/services/1.3/messageService.wsdl' ; $this->client = new SoapClient($this->wsdl, $this->client_options); } public function createNote(Note $note, Author $author){ /* $params = new StdClass(); $params->privateidentificationid = $note->pixel_privId; $params->parties = new StdClass(); $params->parties->authors = new StdClass(); $params->parties->authors->author = $author; $params->messageText = new StdClass(); $params->messageText->shorttext = $note->shorttext; $params->messageText->text = new StdClass(); $params->messageText->text->plainText = $note->fulltext; $params->webranges = new StdClass(); $params->webranges->webrange = new StdClass(); $params->webranges->webrange->url = $note->webranges; */ $params = array('privateidentificationid' => $note->pixel_privId, 'parties' => array('authors' => array( 'author' => array( 'code' => $author->code, 'firstName' => $author->firstName, 'surName' => $author->surName, 'cardNumber' => $author->cardNumber) ) ), 'messagetext' => array( 'lyric' => $note->text_isLyric, 'accessRestricted' => $note->text_isRestricted, 'shorttext' => $note->shorttext, 'text' => array( 'plainText' => $note->fulltext ) ), 'webranges' => array( 'webrange' => array( 'url' => $note->webranges ) ) ); try{ $result = $this->client->newMessage($params); echo "Antwort: ", $result->status; } catch(SoapFault $e){ echo "Fehlercode: " . $e->errorcode . "\n"; echo "Message: " . $e->errormsg . "\n"; } } } // Basis für die Informationen für ein Zählpixel class Pixel { public $orderDateTime; public $domain; public $publId; public $privId; } // Handler um Zählmarken zu bestellen class PixelHandling extends SoapClient{ // Client connection private $client_options; private $wsdl; private $client; function __construct(){ $this->client_options = array('login' => 'SlevogtE', 'password' => 'BBDEXI', 'trace' => 1, 'features' => SOAP_SINGLE_ELEMENT_ARRAYS); $this->wsdl = 'https://' . $this->client_options['login'] . ':' . $this->client_options['password'] . '@tom-test.vgwort.de/services/1.0/pixelService.wsdl' ; $this->client = new SoapClient($this->wsdl, $this->client_options); } // Order Pixel (amount) --> pixels are being return in array ($arr) public function orderNewPixel($amount){ $params = new StdClass(); $params->count = $amount; $arr = array(); try{ $result = $this->client->orderPixel($params); $domain = $result->domain; $orderTime = $result->orderDateTime; foreach($result->pixels->pixel as $val){ $pixels = new Pixel(); $pixels->orderDateTime = $orderTime; $pixels->domain = $domain; $pixels->publId = $val->publicIdentificationId; $pixels->privId = $val->privateIdentificationId; array_push($arr, $pixels); } } catch(SoapFault $e){ echo "Fehlercode: " . $e->errorcode . "\n"; echo "Message: " . $e->errormsg . "\n"; echo "Folgende Anzahl waere moeglich gewesen: " . $e->maxOrder . "\n"; } return $arr; } } // Check whether Soap can be even used.. if(!class_exists('SoapClient')){ echo '<script type="text/javascript" language="Javascript">alert("Fehler: PHP-Modul fehlt.")</script>'; } $pixel = new PixelHandling(); $pixel->orderNewPixel(1); var_dump($pixel); $short = 'Theater und Internet - Eine historische Expedition in die Tiefen des www.'; $full = 'Könnte Lara Croft die Ophelia spielen? von Esther Slevogt November 2001. Das Theater ist groß, und in schlechtem Zustand. Wie man hineinkommt, ist nicht auf Anhieb zu erkennen. Auch die letzte Premieren-Ankündigung wirkt ziemlich veraltet. Der Aphra-Behn Theaterkomplex, von dem hier die Rede ist, gehört zum enormen Tagungsgeländes der Association for Theatre in Higher Education (ATHE), und hat schon bessere Tage gesehen. Die ATHE ist eine Art Dachverband, in dem etwa 2.000 US-amerikanische Theaterwissenschaftler, Hochschullehrer und darstellende Künstler organisiert sind. Das Zentrum besteht aus einem weit verzweigten System von Tagungs- und Veranstaltungsräumen, Chill-out-Zonen mit Kritikerecke, Bars und besagtem Theaterkomplex, in dem seit seiner Gründung im Jahr 1995 ein paar bemerkenswerte Aufführungen stattgefunden haben. So gesehen ist nichts Ungewöhnliches am ATHEMOO, wie das Gelände offiziell heißt. Doch sämtliche Räume, inklusive Theatersaal, Proben- und Studiobühnen sind virtuell. Das heißt, sie sind nur über das Internet zu erreichen. Man darf sich hier aber jetzt keine enorme digitale Illusionsmaschinerie vorstellen. ATHEMOO ist kaum mehr als eine improvisierte Karte, auf der lediglich Lage und Name der einzelnen Räume aufgezeichnet sind. Trotzdem finden hier Versammlungen, Seminare und Theaterprojekte statt. Wer will, kann einfach zum Chatten vorbeikommen, in der Hoffnung, hier zwecks Fachgespräch auf Leute mit ähnlichen Interessen zu stoßen: Leute also, die sich für Theater im Internet interessieren. Theater ohne Körper und Raum Neulinge auf diesem Gebiet werden möglicherweise erst einmal Aufklärung darüber erwarten, wie bitte schön Theater ohne reale Räume, geschweige denn reale Körper überhaupt funktionieren soll. Die Spezialisten-Gemeinde von ATHEMOO wird dann vielleicht ein wenig mitleidig lächeln, und solche Fragen für ziemlich irrelevant halten. Sorge bereitet ihr allerhöchstens das Fehlen realer Zuschauer. Denn mag Theater inzwischen auch ohne Körper und Räume auskommen, Zuschauer sind unentbehrlich wie eh und je.'; $url = 'http://testbereich3.nachtkritik.de/administrator/index.php?option=com_content&view=article&layout=edit&id=23'; $author = new Author('Slevogt', 'Esther', 8801197); $note = new Note($pixel->privId, $short, $full, FALSE, TRUE, $url); $test = new NoteHandling(); $test->createNote($note, $author); // Format für Pixel export // <IMG src="domain.met.vgwort.de/na/c5b7568d28884052a9ff92d5afd08f34" // height="1" width="1" border=“0“> ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 8
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
filename:       /in/hMrMS
function name:  (null)
number of ops:  45
compiled vars:  !0 = $pixel, !1 = $short, !2 = $full, !3 = $url, !4 = $author, !5 = $note, !6 = $test
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   50     0  E >   DECLARE_CLASS                                            'notehandling', 'soapclient'
  127     1        DECLARE_CLASS                                            'pixelhandling', 'soapclient'
  175     2        INIT_FCALL                                               'class_exists'
          3        SEND_VAL                                                 'SoapClient'
          4        DO_ICALL                                         $7      
          5        BOOL_NOT                                         ~8      $7
          6      > JMPZ                                                     ~8, ->8
  176     7    >   ECHO                                                     '%3Cscript+type%3D%22text%2Fjavascript%22+language%3D%22Javascript%22%3Ealert%28%22Fehler%3A+PHP-Modul+fehlt.%22%29%3C%2Fscript%3E'
  180     8    >   NEW                                              $9      'PixelHandling'
          9        DO_FCALL                                      0          
         10        ASSIGN                                                   !0, $9
  181    11        INIT_METHOD_CALL                                         !0, 'orderNewPixel'
         12        SEND_VAL_EX                                              1
         13        DO_FCALL                                      0          
  183    14        INIT_FCALL                                               'var_dump'
         15        SEND_VAR                                                 !0
         16        DO_ICALL                                                 
  185    17        ASSIGN                                                   !1, 'Theater+und+Internet+-+Eine+historische+Expedition+in+die+Tiefen+des+www.'
  186    18        ASSIGN                                                   !2, 'K%C3%B6nnte+Lara+Croft+die+Ophelia+spielen%3F%0Avon+Esther+Slevogt%0ANovember+2001.+Das+Theater+ist+gro%C3%9F%2C+und+in+schlechtem+Zustand.+Wie+man+hineinkommt%2C+ist+nicht+auf+Anhieb+zu+erkennen.+Auch+die+letzte+Premieren-Ank%C3%BCndigung+wirkt+ziemlich+veraltet.+Der+Aphra-Behn+Theaterkomplex%2C+von+dem+hier+die+Rede+ist%2C+geh%C3%B6rt+zum+enormen+Tagungsgel%C3%A4ndes+der+Association+for+Theatre+in+Higher+Education+%28ATHE%29%2C+und+hat+schon+bessere+Tage+gesehen.+Die+ATHE+ist+eine+Art+Dachverband%2C+in+dem+etwa+2.000+US-amerikanische+Theaterwissenschaftler%2C+Hochschullehrer+und+darstellende+K%C3%BCnstler+organisiert+sind.%0ADas+Zentrum+besteht+aus+einem+weit+verzweigten+System+von+Tagungs-+und+Veranstaltungsr%C3%A4umen%2C+Chill-out-Zonen+mit+Kritikerecke%2C+Bars+und+besagtem+Theaterkomplex%2C+in+dem+seit+seiner+Gr%C3%BCndung+im+Jahr+1995+ein+paar+bemerkenswerte+Auff%C3%BChrungen+stattgefunden+haben.+So+gesehen+ist+nichts+Ungew%C3%B6hnliches+am+ATHEMOO%2C+wie+das+Gel%C3%A4nde+offiziell+hei%C3%9Ft.+Doch+s%C3%A4mtliche+R%C3%A4ume%2C+inklusive+Theatersaal%2C+Proben-+und+Studiob%C3%BChnen+sind+virtuell.+Das+hei%C3%9Ft%2C+sie+sind+nur+%C3%BCber+das+Internet+zu+erreichen.+Man+darf+sich+hier+aber+jetzt+keine+enorme+digitale+Illusionsmaschinerie+vorstellen.+ATHEMOO+ist+kaum+mehr+als+eine+improvisierte+Karte%2C+auf+der+lediglich+Lage+und+Name+der+einzelnen+R%C3%A4ume+aufgezeichnet+sind.+Trotzdem+finden+hier+Versammlungen%2C+Seminare+und+Theaterprojekte+statt.+Wer+will%2C+kann+einfach+zum+Chatten+vorbeikommen%2C+in+der+Hoffnung%2C+hier+zwecks+Fachgespr%C3%A4ch+auf+Leute+mit+%C3%A4hnlichen+Interessen+zu+sto%C3%9Fen%3A+Leute+also%2C+die+sich+f%C3%BCr+Theater+im+Internet+interessieren.%0ATheater+ohne+K%C3%B6rper+und+Raum%0ANeulinge+auf+diesem+Gebiet+werden+m%C3%B6glicherweise+erst+einmal+Aufkl%C3%A4rung+dar%C3%BCber+erwarten%2C+wie+bitte+sch%C3%B6n+Theater+ohne+reale+R%C3%A4ume%2C+geschweige+denn+reale+K%C3%B6rper+%C3%BCberhaupt+funktionieren+soll.+Die+Spezialisten-Gemeinde+von+ATHEMOO+wird+dann+vielleicht+ein+wenig+mitleidig+l%C3%A4cheln%2C+und+solche+Fragen+f%C3%BCr+ziemlich+irrelevant+halten.+Sorge+bereitet+ihr+allerh%C3%B6chstens+das+Fehlen+realer+Zuschauer.+Denn+mag+Theater+inzwischen+auch+ohne+K%C3%B6rper+und+R%C3%A4ume+auskommen%2C+Zuschauer+sind+unentbehrlich+wie+eh+und+je.'
  193    19        ASSIGN                                                   !3, 'http%3A%2F%2Ftestbereich3.nachtkritik.de%2Fadministrator%2Findex.php%3Foption%3Dcom_content%26view%3Darticle%26layout%3Dedit%26id%3D23'
  194    20        NEW                                              $17     'Author'
         21        SEND_VAL_EX                                              'Slevogt'
         22        SEND_VAL_EX                                              'Esther'
         23        SEND_VAL_EX                                              8801197
         24        DO_FCALL                                      0          
         25        ASSIGN                                                   !4, $17
  195    26        NEW                                              $20     'Note'
         27        CHECK_FUNC_ARG                                           
         28        FETCH_OBJ_FUNC_ARG                               $21     !0, 'privId'
         29        SEND_FUNC_ARG                                            $21
         30        SEND_VAR_EX                                              !1
         31        SEND_VAR_EX                                              !2
         32        SEND_VAL_EX                                              <false>
         33        SEND_VAL_EX                                              <true>
         34        SEND_VAR_EX                                              !3
         35        DO_FCALL                                      0          
         36        ASSIGN                                                   !5, $20
  196    37        NEW                                              $24     'NoteHandling'
         38        DO_FCALL                                      0          
         39        ASSIGN                                                   !6, $24
  197    40        INIT_METHOD_CALL                                         !6, 'createNote'
         41        SEND_VAR_EX                                              !5
         42        SEND_VAR_EX                                              !4
         43        DO_FCALL                                      0          
  204    44      > RETURN                                                   1

Class Translator:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hMrMS
function name:  __construct
number of ops:  11
compiled vars:  !0 = $code, !1 = $firstName, !2 = $surName, !3 = $cardNumber
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV                                             !2      
          3        RECV                                             !3      
   11     4        ASSIGN_OBJ                                               'firstName'
          5        OP_DATA                                                  !1
   12     6        ASSIGN_OBJ                                               'surName'
          7        OP_DATA                                                  !2
   13     8        ASSIGN_OBJ                                               'cardNumber'
          9        OP_DATA                                                  !3
   14    10      > RETURN                                                   null

End of function __construct

End of class Translator.

Class Author:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hMrMS
function name:  __construct
number of ops:  10
compiled vars:  !0 = $firstName, !1 = $surName, !2 = $cardNumber
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   24     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV                                             !2      
   25     3        ASSIGN_OBJ                                               'firstName'
          4        OP_DATA                                                  !0
   26     5        ASSIGN_OBJ                                               'surName'
          6        OP_DATA                                                  !1
   27     7        ASSIGN_OBJ                                               'cardNumber'
          8        OP_DATA                                                  !2
   28     9      > RETURN                                                   null

End of function __construct

End of class Author.

Class Note:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hMrMS
function name:  __construct
number of ops:  19
compiled vars:  !0 = $privId, !1 = $shorttext, !2 = $fulltext, !3 = $text_isLyric, !4 = $text_isRestricted, !5 = $webranges
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   40     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV                                             !2      
          3        RECV                                             !3      
          4        RECV                                             !4      
          5        RECV                                             !5      
   41     6        ASSIGN_OBJ                                               'pixel_privId'
          7        OP_DATA                                                  !0
   42     8        ASSIGN_OBJ                                               'shorttext'
          9        OP_DATA                                                  !1
   43    10        ASSIGN_OBJ                                               'fulltext'
         11        OP_DATA                                                  !2
   44    12        ASSIGN_OBJ                                               'text_isLyric'
         13        OP_DATA                                                  !3
   45    14        ASSIGN_OBJ                                               'text_isRestricted'
         15        OP_DATA                                                  !4
   46    16        ASSIGN_OBJ                                               'webranges'
         17        OP_DATA                                                  !5
   47    18      > RETURN                                                   null

End of function __construct

End of class Note.

Class NoteHandling:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hMrMS
function name:  __construct
number of ops:  28
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   57     0  E >   INIT_ARRAY                                       ~1      'SlevogtE', 'login'
          1        ADD_ARRAY_ELEMENT                                ~1      'BBDEXI', 'password'
          2        ADD_ARRAY_ELEMENT                                ~1      1, 'trace'
          3        FETCH_CONSTANT                                   ~2      'SOAP_SINGLE_ELEMENT_ARRAYS'
          4        ADD_ARRAY_ELEMENT                                ~1      ~2, 'features'
          5        ASSIGN_OBJ                                               'client_options'
          6        OP_DATA                                                  ~1
   58     7        FETCH_OBJ_R                                      ~4      'client_options'
          8        FETCH_DIM_R                                      ~5      ~4, 'login'
          9        CONCAT                                           ~6      'https%3A%2F%2F', ~5
         10        CONCAT                                           ~7      ~6, '%3A'
         11        FETCH_OBJ_R                                      ~8      'client_options'
         12        FETCH_DIM_R                                      ~9      ~8, 'password'
         13        CONCAT                                           ~10     ~7, ~9
         14        CONCAT                                           ~11     ~10, '%40tom.vgwort.de%2Fservices%2F1.3%2FmessageService.wsdl'
         15        ASSIGN_OBJ                                               'wsdl'
         16        OP_DATA                                                  ~11
   59    17        NEW                                              $13     'SoapClient'
         18        CHECK_FUNC_ARG                                           
         19        FETCH_OBJ_FUNC_ARG                               $14     'wsdl'
         20        SEND_FUNC_ARG                                            $14
         21        CHECK_FUNC_ARG                                           
         22        FETCH_OBJ_FUNC_ARG                               $15     'client_options'
         23        SEND_FUNC_ARG                                            $15
         24        DO_FCALL                                      0          
         25        ASSIGN_OBJ                                               'client'
         26        OP_DATA                                                  $13
   60    27      > RETURN                                                   null

End of function __construct

Function createnote:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 48
Branch analysis from position: 48
1 jumps found. (Code = 62) Position 1 = -2
Found catch point at position: 39
Branch analysis from position: 39
2 jumps found. (Code = 107) Position 1 = 40, Position 2 = -2
Branch analysis from position: 40
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hMrMS
function name:  createNote
number of ops:  49
compiled vars:  !0 = $note, !1 = $author, !2 = $params, !3 = $result, !4 = $e
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   62     0  E >   RECV                                             !0      
          1        RECV                                             !1      
   78     2        FETCH_OBJ_R                                      ~5      !0, 'pixel_privId'
          3        INIT_ARRAY                                       ~6      ~5, 'privateidentificationid'
   81     4        FETCH_OBJ_R                                      ~7      !1, 'code'
          5        INIT_ARRAY                                       ~8      ~7, 'code'
   82     6        FETCH_OBJ_R                                      ~9      !1, 'firstName'
          7        ADD_ARRAY_ELEMENT                                ~8      ~9, 'firstName'
   83     8        FETCH_OBJ_R                                      ~10     !1, 'surName'
          9        ADD_ARRAY_ELEMENT                                ~8      ~10, 'surName'
   84    10        FETCH_OBJ_R                                      ~11     !1, 'cardNumber'
         11        ADD_ARRAY_ELEMENT                                ~8      ~11, 'cardNumber'
         12        INIT_ARRAY                                       ~12     ~8, 'author'
         13        INIT_ARRAY                                       ~13     ~12, 'authors'
         14        ADD_ARRAY_ELEMENT                                ~6      ~13, 'parties'
   88    15        FETCH_OBJ_R                                      ~14     !0, 'text_isLyric'
         16        INIT_ARRAY                                       ~15     ~14, 'lyric'
   89    17        FETCH_OBJ_R                                      ~16     !0, 'text_isRestricted'
         18        ADD_ARRAY_ELEMENT                                ~15     ~16, 'accessRestricted'
   90    19        FETCH_OBJ_R                                      ~17     !0, 'shorttext'
         20        ADD_ARRAY_ELEMENT                                ~15     ~17, 'shorttext'
   92    21        FETCH_OBJ_R                                      ~18     !0, 'fulltext'
         22        INIT_ARRAY                                       ~19     ~18, 'plainText'
         23        ADD_ARRAY_ELEMENT                                ~15     ~19, 'text'
         24        ADD_ARRAY_ELEMENT                                ~6      ~15, 'messagetext'
   97    25        FETCH_OBJ_R                                      ~20     !0, 'webranges'
         26        INIT_ARRAY                                       ~21     ~20, 'url'
         27        INIT_ARRAY                                       ~22     ~21, 'webrange'
         28        ADD_ARRAY_ELEMENT                                ~6      ~22, 'webranges'
   78    29        ASSIGN                                                   !2, ~6
  103    30        FETCH_OBJ_R                                      ~24     'client'
         31        INIT_METHOD_CALL                                         ~24, 'newMessage'
         32        SEND_VAR_EX                                              !2
         33        DO_FCALL                                      0  $25     
         34        ASSIGN                                                   !3, $25
  105    35        ECHO                                                     'Antwort%3A+'
         36        FETCH_OBJ_R                                      ~27     !3, 'status'
         37        ECHO                                                     ~27
         38      > JMP                                                      ->48
  108    39  E > > CATCH                                       last         'SoapFault'
  109    40    >   FETCH_OBJ_R                                      ~28     !4, 'errorcode'
         41        CONCAT                                           ~29     'Fehlercode%3A+', ~28
         42        CONCAT                                           ~30     ~29, '%0A'
         43        ECHO                                                     ~30
  110    44        FETCH_OBJ_R                                      ~31     !4, 'errormsg'
         45        CONCAT                                           ~32     'Message%3A+', ~31
         46        CONCAT                                           ~33     ~32, '%0A'
         47        ECHO                                                     ~33
  114    48    > > RETURN                                                   null

End of function createnote

End of class NoteHandling.

Class Pixel: [no user functions]
Class PixelHandling:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hMrMS
function name:  __construct
number of ops:  28
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  135     0  E >   INIT_ARRAY                                       ~1      'SlevogtE', 'login'
          1        ADD_ARRAY_ELEMENT                                ~1      'BBDEXI', 'password'
          2        ADD_ARRAY_ELEMENT                                ~1      1, 'trace'
          3        FETCH_CONSTANT                                   ~2      'SOAP_SINGLE_ELEMENT_ARRAYS'
          4        ADD_ARRAY_ELEMENT                                ~1      ~2, 'features'
          5        ASSIGN_OBJ                                               'client_options'
          6        OP_DATA                                                  ~1
  136     7        FETCH_OBJ_R                                      ~4      'client_options'
          8        FETCH_DIM_R                                      ~5      ~4, 'login'
          9        CONCAT                                           ~6      'https%3A%2F%2F', ~5
         10        CONCAT                                           ~7      ~6, '%3A'
         11        FETCH_OBJ_R                                      ~8      'client_options'
         12        FETCH_DIM_R                                      ~9      ~8, 'password'
         13        CONCAT                                           ~10     ~7, ~9
         14        CONCAT                                           ~11     ~10, '%40tom-test.vgwort.de%2Fservices%2F1.0%2FpixelService.wsdl'
         15        ASSIGN_OBJ                                               'wsdl'
         16        OP_DATA                                                  ~11
  137    17        NEW                                              $13     'SoapClient'
         18        CHECK_FUNC_ARG                                           
         19        FETCH_OBJ_FUNC_ARG                               $14     'wsdl'
         20        SEND_FUNC_ARG                                            $14
         21        CHECK_FUNC_ARG                                           
         22        FETCH_OBJ_FUNC_ARG                               $15     'client_options'
         23        SEND_FUNC_ARG                                            $15
         24        DO_FCALL                                      0          
         25        ASSIGN_OBJ                                               'client'
         26        OP_DATA                                                  $13
  138    27      > RETURN                                                   null

End of function __construct

Function ordernewpixel:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 19, Position 2 = 38
Branch analysis from position: 19
2 jumps found. (Code = 78) Position 1 = 20, Position 2 = 38
Branch analysis from position: 20
1 jumps found. (Code = 42) Position 1 = 19
Branch analysis from position: 19
Branch analysis from position: 38
1 jumps found. (Code = 42) Position 1 = 53
Branch analysis from position: 53
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 38
Found catch point at position: 40
Branch analysis from position: 40
2 jumps found. (Code = 107) Position 1 = 41, Position 2 = -2
Branch analysis from position: 41
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hMrMS
function name:  orderNewPixel
number of ops:  55
compiled vars:  !0 = $amount, !1 = $params, !2 = $arr, !3 = $result, !4 = $domain, !5 = $orderTime, !6 = $val, !7 = $pixels, !8 = $e
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  142     0  E >   RECV                                             !0      
  143     1        NEW                                              $9      'StdClass'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !1, $9
  144     4        ASSIGN_OBJ                                               !1, 'count'
          5        OP_DATA                                                  !0
  145     6        ASSIGN                                                   !2, <array>
  148     7        FETCH_OBJ_R                                      ~14     'client'
          8        INIT_METHOD_CALL                                         ~14, 'orderPixel'
          9        SEND_VAR_EX                                              !1
         10        DO_FCALL                                      0  $15     
         11        ASSIGN                                                   !3, $15
  150    12        FETCH_OBJ_R                                      ~17     !3, 'domain'
         13        ASSIGN                                                   !4, ~17
  151    14        FETCH_OBJ_R                                      ~19     !3, 'orderDateTime'
         15        ASSIGN                                                   !5, ~19
  153    16        FETCH_OBJ_R                                      ~21     !3, 'pixels'
         17        FETCH_OBJ_R                                      ~22     ~21, 'pixel'
         18      > FE_RESET_R                                       $23     ~22, ->38
         19    > > FE_FETCH_R                                               $23, !6, ->38
  154    20    >   NEW                                              $24     'Pixel'
         21        DO_FCALL                                      0          
         22        ASSIGN                                                   !7, $24
  155    23        ASSIGN_OBJ                                               !7, 'orderDateTime'
         24        OP_DATA                                                  !5
  156    25        ASSIGN_OBJ                                               !7, 'domain'
         26        OP_DATA                                                  !4
  157    27        FETCH_OBJ_R                                      ~30     !6, 'publicIdentificationId'
         28        ASSIGN_OBJ                                               !7, 'publId'
         29        OP_DATA                                                  ~30
  158    30        FETCH_OBJ_R                                      ~32     !6, 'privateIdentificationId'
         31        ASSIGN_OBJ                                               !7, 'privId'
         32        OP_DATA                                                  ~32
  160    33        INIT_FCALL                                               'array_push'
         34        SEND_REF                                                 !2
         35        SEND_VAR                                                 !7
         36        DO_ICALL                                                 
  153    37      > JMP                                                      ->19
         38    >   FE_FREE                                                  $23
         39      > JMP                                                      ->53
  164    40  E > > CATCH                                       last         'SoapFault'
  165    41    >   FETCH_OBJ_R                                      ~34     !8, 'errorcode'
         42        CONCAT                                           ~35     'Fehlercode%3A+', ~34
         43        CONCAT                                           ~36     ~35, '%0A'
         44        ECHO                                                     ~36
  166    45        FETCH_OBJ_R                                      ~37     !8, 'errormsg'
         46        CONCAT                                           ~38     'Message%3A+', ~37
         47        CONCAT                                           ~39     ~38, '%0A'
         48        ECHO                                                     ~39
  167    49        FETCH_OBJ_R                                      ~40     !8, 'maxOrder'
         50        CONCAT                                           ~41     'Folgende+Anzahl+waere+moeglich+gewesen%3A+', ~40
         51        CONCAT                                           ~42     ~41, '%0A'
         52        ECHO                                                     ~42
  169    53    > > RETURN                                                   !2
  170    54*     > RETURN                                                   null

End of function ordernewpixel

End of class PixelHandling.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.72 ms | 1424 KiB | 19 Q