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) { 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);
Output for 8.2.0 - 8.2.18, 8.3.0 - 8.3.4, 8.3.6
Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/av9P0 on line 62 Warning: preg_match(): Unknown modifier '/' in /in/av9P0 on line 37 Warning: Undefined variable $antwortmöglichkeiten in /in/av9P0 on line 52 Warning: preg_match(): Unknown modifier '/' in /in/av9P0 on line 37 Warning: Undefined variable $antwortmöglichkeiten in /in/av9P0 on line 52 Warning: preg_match(): Unknown modifier '/' in /in/av9P0 on line 37 Warning: Undefined variable $antwortmöglichkeiten in /in/av9P0 on line 52 array(3) { [0]=> array(4) { ["frageNummer"]=> string(2) "1." ["frage"]=> string(285) "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. " ["antwortmöglichkeiten"]=> NULL ["antwort"]=> array(2) { [0]=> string(12) "Answer: A, B" [1]=> string(12) "Answer: A, B" } } [1]=> array(4) { ["frageNummer"]=> string(2) "2." ["frage"]=> string(183) "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. " ["antwortmöglichkeiten"]=> NULL ["antwort"]=> array(2) { [0]=> string(12) "Answer: A, D" [1]=> string(12) "Answer: A, D" } } [2]=> array(4) { ["frageNummer"]=> string(2) "3." ["frage"]=> string(213) "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? " ["antwortmöglichkeiten"]=> NULL ["antwort"]=> array(2) { [0]=> string(9) "Answer: C" [1]=> string(9) "Answer: C" } } }
Output for 8.3.5
Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/av9P0 on line 62 Warning: preg_match(): Unknown modifier '/' in /in/av9P0 on line 37 Warning: Undefined variable $antwortmöglichkeiten in /in/av9P0 on line 52 Warning: preg_match(): Unknown modifier '/' in /in/av9P0 on line 37 Warning: Undefined variable $antwortmöglichkeiten in /in/av9P0 on line 52 Warning: preg_match(): Unknown modifier '/' in /in/av9P0 on line 37 Warning: Undefined variable $antwortmöglichkeiten in /in/av9P0 on line 52 array(3) { [0]=> array(4) { ["frageNummer"]=> string(2) "1." ["frage"]=> string(285) "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. " ["antwortmöglichkeiten"]=> NULL ["antwort"]=> array(2) { [0]=> string(12) "Answer: A, B" [1]=> string(12) "Answer: A, B" } } [1]=> array(4) { ["frageNummer"]=> string(2) "2." ["frage"]=> string(183) "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. " ["antwortmöglichkeiten"]=> NULL ["antwort"]=> array(2) { [0]=> string(12) "Answer: A, D" [1]=> string(12) "Answer: A, D" } } [2]=> array(4) { ["frageNummer"]=> string(2) "3." ["frage"]=> string(213) "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? " ["antwortmöglichkeiten"]=> NULL ["antwort"]=> array(2) { [0]=> string(9) "Answer: C" [1]=> string(9) "Answer: C" } } }
Output for 8.1.0 - 8.1.28
Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/av9P0 on line 62 Warning: preg_match(): Unknown modifier '/' in /in/av9P0 on line 40 Warning: Undefined variable $antwortmöglichkeiten in /in/av9P0 on line 52 Warning: preg_match(): Unknown modifier '/' in /in/av9P0 on line 40 Warning: Undefined variable $antwortmöglichkeiten in /in/av9P0 on line 52 Warning: preg_match(): Unknown modifier '/' in /in/av9P0 on line 40 Warning: Undefined variable $antwortmöglichkeiten in /in/av9P0 on line 52 array(3) { [0]=> array(4) { ["frageNummer"]=> string(2) "1." ["frage"]=> string(285) "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. " ["antwortmöglichkeiten"]=> NULL ["antwort"]=> array(2) { [0]=> string(12) "Answer: A, B" [1]=> string(12) "Answer: A, B" } } [1]=> array(4) { ["frageNummer"]=> string(2) "2." ["frage"]=> string(183) "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. " ["antwortmöglichkeiten"]=> NULL ["antwort"]=> array(2) { [0]=> string(12) "Answer: A, D" [1]=> string(12) "Answer: A, D" } } [2]=> array(4) { ["frageNummer"]=> string(2) "3." ["frage"]=> string(213) "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? " ["antwortmöglichkeiten"]=> NULL ["antwort"]=> array(2) { [0]=> string(9) "Answer: C" [1]=> string(9) "Answer: C" } } }
Output for 8.0.0 - 8.0.30
Warning: preg_match(): Unknown modifier '/' in /in/av9P0 on line 40 Warning: Undefined variable $antwortmöglichkeiten in /in/av9P0 on line 52 Warning: preg_match(): Unknown modifier '/' in /in/av9P0 on line 40 Warning: Undefined variable $antwortmöglichkeiten in /in/av9P0 on line 52 Warning: preg_match(): Unknown modifier '/' in /in/av9P0 on line 40 Warning: Undefined variable $antwortmöglichkeiten in /in/av9P0 on line 52 array(3) { [0]=> array(4) { ["frageNummer"]=> string(2) "1." ["frage"]=> string(285) "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. " ["antwortmöglichkeiten"]=> NULL ["antwort"]=> array(2) { [0]=> string(12) "Answer: A, B" [1]=> string(12) "Answer: A, B" } } [1]=> array(4) { ["frageNummer"]=> string(2) "2." ["frage"]=> string(183) "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. " ["antwortmöglichkeiten"]=> NULL ["antwort"]=> array(2) { [0]=> string(12) "Answer: A, D" [1]=> string(12) "Answer: A, D" } } [2]=> array(4) { ["frageNummer"]=> string(2) "3." ["frage"]=> string(213) "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? " ["antwortmöglichkeiten"]=> NULL ["antwort"]=> array(2) { [0]=> string(9) "Answer: C" [1]=> string(9) "Answer: C" } } }
Output for 7.0.19 - 7.0.33, 7.1.5 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.31, 7.4.0 - 7.4.33
Warning: preg_match(): Unknown modifier '/' in /in/av9P0 on line 40 Notice: Undefined variable: antwortmöglichkeiten in /in/av9P0 on line 52 Warning: preg_match(): Unknown modifier '/' in /in/av9P0 on line 40 Notice: Undefined variable: antwortmöglichkeiten in /in/av9P0 on line 52 Warning: preg_match(): Unknown modifier '/' in /in/av9P0 on line 40 Notice: Undefined variable: antwortmöglichkeiten in /in/av9P0 on line 52 array(3) { [0]=> array(4) { ["frageNummer"]=> string(2) "1." ["frage"]=> string(285) "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. " ["antwortmöglichkeiten"]=> NULL ["antwort"]=> array(2) { [0]=> string(12) "Answer: A, B" [1]=> string(12) "Answer: A, B" } } [1]=> array(4) { ["frageNummer"]=> string(2) "2." ["frage"]=> string(183) "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. " ["antwortmöglichkeiten"]=> NULL ["antwort"]=> array(2) { [0]=> string(12) "Answer: A, D" [1]=> string(12) "Answer: A, D" } } [2]=> array(4) { ["frageNummer"]=> string(2) "3." ["frage"]=> string(213) "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? " ["antwortmöglichkeiten"]=> NULL ["antwort"]=> array(2) { [0]=> string(9) "Answer: C" [1]=> string(9) "Answer: C" } } }
Output for 7.3.32 - 7.3.33
Warning: preg_match(): Unknown modifier '/' in /in/av9P0 on line 40 Warning: preg_match(): Unknown modifier '/' in /in/av9P0 on line 40 Warning: preg_match(): Unknown modifier '/' in /in/av9P0 on line 40 array(3) { [0]=> array(4) { ["frageNummer"]=> string(2) "1." ["frage"]=> string(285) "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. " ["antwortmöglichkeiten"]=> NULL ["antwort"]=> array(2) { [0]=> string(12) "Answer: A, B" [1]=> string(12) "Answer: A, B" } } [1]=> array(4) { ["frageNummer"]=> string(2) "2." ["frage"]=> string(183) "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. " ["antwortmöglichkeiten"]=> NULL ["antwort"]=> array(2) { [0]=> string(12) "Answer: A, D" [1]=> string(12) "Answer: A, D" } } [2]=> array(4) { ["frageNummer"]=> string(2) "3." ["frage"]=> string(213) "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? " ["antwortmöglichkeiten"]=> NULL ["antwort"]=> array(2) { [0]=> string(9) "Answer: C" [1]=> string(9) "Answer: C" } } }
Output for 7.0.0 - 7.0.18, 7.1.0 - 7.1.4
Warning: preg_match(): Unknown modifier '/' in /in/av9P0 on line 38 Notice: Undefined variable: antwortmöglichkeiten in /in/av9P0 on line 52 Warning: preg_match(): Unknown modifier '/' in /in/av9P0 on line 38 Notice: Undefined variable: antwortmöglichkeiten in /in/av9P0 on line 52 Warning: preg_match(): Unknown modifier '/' in /in/av9P0 on line 38 Notice: Undefined variable: antwortmöglichkeiten in /in/av9P0 on line 52 array(3) { [0]=> array(4) { ["frageNummer"]=> string(2) "1." ["frage"]=> string(285) "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. " ["antwortmöglichkeiten"]=> NULL ["antwort"]=> array(2) { [0]=> string(12) "Answer: A, B" [1]=> string(12) "Answer: A, B" } } [1]=> array(4) { ["frageNummer"]=> string(2) "2." ["frage"]=> string(183) "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. " ["antwortmöglichkeiten"]=> NULL ["antwort"]=> array(2) { [0]=> string(12) "Answer: A, D" [1]=> string(12) "Answer: A, D" } } [2]=> array(4) { ["frageNummer"]=> string(2) "3." ["frage"]=> string(213) "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? " ["antwortmöglichkeiten"]=> NULL ["antwort"]=> array(2) { [0]=> string(9) "Answer: C" [1]=> string(9) "Answer: C" } } }
Output for 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.40
Warning: preg_match(): Unknown modifier '/' in /in/av9P0 on line 41 Notice: Undefined variable: antwortmöglichkeiten in /in/av9P0 on line 52 Warning: preg_match(): Unknown modifier '/' in /in/av9P0 on line 41 Notice: Undefined variable: antwortmöglichkeiten in /in/av9P0 on line 52 Warning: preg_match(): Unknown modifier '/' in /in/av9P0 on line 41 Notice: Undefined variable: antwortmöglichkeiten in /in/av9P0 on line 52 array(3) { [0]=> array(4) { ["frageNummer"]=> string(2) "1." ["frage"]=> string(285) "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. " ["antwortmöglichkeiten"]=> NULL ["antwort"]=> array(2) { [0]=> string(12) "Answer: A, B" [1]=> string(12) "Answer: A, B" } } [1]=> array(4) { ["frageNummer"]=> string(2) "2." ["frage"]=> string(183) "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. " ["antwortmöglichkeiten"]=> NULL ["antwort"]=> array(2) { [0]=> string(12) "Answer: A, D" [1]=> string(12) "Answer: A, D" } } [2]=> array(4) { ["frageNummer"]=> string(2) "3." ["frage"]=> string(213) "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? " ["antwortmöglichkeiten"]=> NULL ["antwort"]=> array(2) { [0]=> string(9) "Answer: C" [1]=> string(9) "Answer: C" } } }

preferences:
311.96 ms | 406 KiB | 376 Q