3v4l.org

run code in 300+ PHP versions simultaneously
<?php $inputStr = <<<'EOT' 1.You install Microsoft Dynamics CRM on-premises. The Microsoft Dynamics CRM environment must have a Uniform Resource Locator (URL) that is different from the default URL for Microsoft Dynamics CRM. Which two actions should you perform? Each correct answer presents a complete solution. A.Before you install Microsoft Dynamics CRM. B.create a new Microsoft Dynamics CRM website. C.select the default server website.After the installation is. D.Install Microsoft Dynamics CRM and select. Answer: A, B 2.You are a system administrator for Microsoft Dynamics CRM Online. You need to provision a user. Which two steps should you perform? Each correct answer presents part of the solution. A.Add the user in the Microsoft Online Services Portal. B.Configure the user with Read access mode. C.Enable the user record in Microsoft Dynamics CRM Online. D.Assign a Microsoft Dynamics CRM Online license to the user. Answer: A, D Ref: http://technet.microsoft.com/en-us/library/jj191623(v=crm.6) 3.You install Microsoft Dynamics CRM on-premises. The installation fails and you receive an installation error. You need to access the installation log files to view the details about the error. What should you do? A.Query the Microsoft Dynamics CRM database and view the log table. B.View the installation log files in the folder <SystemDrive>\Program Files\Microsoft Dynamics CRM\Logs. C.View the installation log files in the folder <SysremDnVe>:\Users\<L/serno/ne>\AppData\Roaming\Microsoft\MSCRM\Logs. D.View the installation log files by opening the Event Viewer. Answer: C EOT; // Reguläre Ausdrücke const MUSTER_FRAGEN = '/^(?<frageNum>\d+\.)(.+?)(?=A\.)/ms'; const MUSTER_ANTWORTMÖGLICHKEITEN = '((?:^[A-Z]\..+?)(?=^[A-Z]\.|Answer: ))/ms'; const MUSTER_ANTWORT = '/^(Answer: .+)$/m'; function verarbeiteFrage ($nummer, $frage, $text) { $antwortmoeglichkeiten = array(); $antwort = array(); preg_match( MUSTER_ANTWORTMÖGLICHKEITEN, $text, $antwortmoeglichkeiten ); preg_match( MUSTER_ANTWORT , $text, $antwort ); return array( 'frageNummer' => $nummer, 'frage' => $frage, 'antwortmöglichkeiten' => $antwortmöglichkeiten, 'antwort' => $antwort ); } // Verarbeite Eingabetext $fragen = array(); $suchergebnisse = preg_split(MUSTER_FRAGEN, trim($inputStr), NULL, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY); while (!empty($suchergebnisse)) { $frageNummer = array_shift($suchergebnisse); $frageText = array_shift($suchergebnisse); $antwortTextAbschnitt = array_shift($suchergebnisse); $fragen[] = verarbeiteFrage($frageNummer, $frageText, $antwortTextAbschnitt); } var_dump($fragen);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 36
Branch analysis from position: 36
2 jumps found. (Code = 44) Position 1 = 39, Position 2 = 17
Branch analysis from position: 39
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
2 jumps found. (Code = 44) Position 1 = 39, Position 2 = 17
Branch analysis from position: 39
Branch analysis from position: 17
filename:       /in/9D9cU
function name:  (null)
number of ops:  43
compiled vars:  !0 = $inputStr, !1 = $fragen, !2 = $suchergebnisse, !3 = $frageNummer, !4 = $frageText, !5 = $antwortTextAbschnitt
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '1.You+install+Microsoft+Dynamics+CRM+on-premises.%0AThe+Microsoft+Dynamics+CRM+environment+must+have+a+Uniform+Resource+Locator+%28URL%29+that+is+different+from+the+default+URL+for+Microsoft+Dynamics+CRM.%0AWhich+two+actions+should+you+perform%3F+Each+correct+answer+presents+a+complete+solution.%0AA.Before+you+install+Microsoft+Dynamics+CRM.%0AB.create+a+new+Microsoft+Dynamics+CRM+website.%0AC.select+the+default+server+website.After+the+installation+is.%0AD.Install+Microsoft+Dynamics+CRM+and+select.%0AAnswer%3A+A%2C+B%0A2.You+are+a+system+administrator+for+Microsoft+Dynamics+CRM+Online.%0AYou+need+to+provision+a+user.%0AWhich+two+steps+should+you+perform%3F+Each+correct+answer+presents+part+of+the+solution.+A.Add+the+user+in+the+Microsoft+Online+Services+Portal.%0AB.Configure+the+user+with+Read+access+mode.%0AC.Enable+the+user+record+in+Microsoft+Dynamics+CRM+Online.%0AD.Assign+a+Microsoft+Dynamics+CRM+Online+license+to+the+user.%0AAnswer%3A+A%2C+D%0ARef%3A+http%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Flibrary%2Fjj191623%28v%3Dcrm.6%29%0A3.You+install+Microsoft+Dynamics+CRM+on-premises.%0AThe+installation+fails+and+you+receive+an+installation+error.%0AYou+need+to+access+the+installation+log+files+to+view+the+details+about+the+error.%0AWhat+should+you+do%3F%0AA.Query+the+Microsoft+Dynamics+CRM+database+and+view+the+log+table.%0AB.View+the+installation+log+files+in+the+folder+%3CSystemDrive%3E%5CProgram+Files%5CMicrosoft+Dynamics+CRM%5CLogs.%0AC.View+the+installation+log+files+in+the+folder+%3CSysremDnVe%3E%3A%5CUsers%5C%3CL%2Fserno%2Fne%3E%5CAppData%5CRoaming%5CMicrosoft%5CMSCRM%5CLogs.%0AD.View+the+installation+log+files+by+opening+the+Event+Viewer.%0AAnswer%3A+C'
   32     1        DECLARE_CONST                                            'MUSTER_FRAGEN', '%2F%5E%28%3F%3CfrageNum%3E%5Cd%2B%5C.%29%28.%2B%3F%29%28%3F%3DA%5C.%29%2Fms'
   33     2        DECLARE_CONST                                            'MUSTER_ANTWORTM%C3%96GLICHKEITEN', '%28%28%3F%3A%5E%5BA-Z%5D%5C..%2B%3F%29%28%3F%3D%5E%5BA-Z%5D%5C.%7CAnswer%3A+%29%29%2Fms'
   34     3        DECLARE_CONST                                            'MUSTER_ANTWORT', '%2F%5E%28Answer%3A+.%2B%29%24%2Fm'
   64     4        ASSIGN                                                   !1, <array>
   65     5        INIT_FCALL                                               'preg_split'
          6        FETCH_CONSTANT                                   ~8      'MUSTER_FRAGEN'
          7        SEND_VAL                                                 ~8
          8        INIT_FCALL                                               'trim'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                         $9      
         11        SEND_VAR                                                 $9
         12        SEND_VAL                                                 null
         13        SEND_VAL                                                 3
         14        DO_ICALL                                         $10     
         15        ASSIGN                                                   !2, $10
   66    16      > JMP                                                      ->36
   67    17    >   INIT_FCALL                                               'array_shift'
         18        SEND_REF                                                 !2
         19        DO_ICALL                                         $12     
         20        ASSIGN                                                   !3, $12
   68    21        INIT_FCALL                                               'array_shift'
         22        SEND_REF                                                 !2
         23        DO_ICALL                                         $14     
         24        ASSIGN                                                   !4, $14
   69    25        INIT_FCALL                                               'array_shift'
         26        SEND_REF                                                 !2
         27        DO_ICALL                                         $16     
         28        ASSIGN                                                   !5, $16
   70    29        INIT_FCALL                                               'verarbeitefrage'
         30        SEND_VAR                                                 !3
         31        SEND_VAR                                                 !4
         32        SEND_VAR                                                 !5
         33        DO_FCALL                                      0  $19     
         34        ASSIGN_DIM                                               !1
         35        OP_DATA                                                  $19
   66    36    >   ISSET_ISEMPTY_CV                                 ~20     !2
         37        BOOL_NOT                                         ~21     ~20
         38      > JMPNZ                                                    ~21, ->17
   73    39    >   INIT_FCALL                                               'var_dump'
         40        SEND_VAR                                                 !1
         41        DO_ICALL                                                 
         42      > RETURN                                                   1

Function verarbeitefrage:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9D9cU
function name:  verarbeiteFrage
number of ops:  23
compiled vars:  !0 = $nummer, !1 = $frage, !2 = $text, !3 = $antwortmoeglichkeiten, !4 = $antwort, !5 = $antwortmöglichkeiten
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   36     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV                                             !2      
   37     3        ASSIGN                                                   !3, <array>
   38     4        ASSIGN                                                   !4, <array>
   40     5        INIT_FCALL                                               'preg_match'
   41     6        FETCH_CONSTANT                                   ~8      'MUSTER_ANTWORTM%C3%96GLICHKEITEN'
          7        SEND_VAL                                                 ~8
   42     8        SEND_VAR                                                 !2
   43     9        SEND_REF                                                 !3
         10        DO_ICALL                                                 
   46    11        INIT_FCALL                                               'preg_match'
   47    12        FETCH_CONSTANT                                   ~10     'MUSTER_ANTWORT'
         13        SEND_VAL                                                 ~10
   48    14        SEND_VAR                                                 !2
   49    15        SEND_REF                                                 !4
         16        DO_ICALL                                                 
   53    17        INIT_ARRAY                                       ~12     !0, 'frageNummer'
   54    18        ADD_ARRAY_ELEMENT                                ~12     !1, 'frage'
   55    19        ADD_ARRAY_ELEMENT                                ~12     !5, 'antwortm%C3%B6glichkeiten'
   56    20        ADD_ARRAY_ELEMENT                                ~12     !4, 'antwort'
         21      > RETURN                                                   ~12
   58    22*     > RETURN                                                   null

End of function verarbeitefrage

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.33 ms | 1406 KiB | 24 Q