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 git.master, git.master_jit, rfc.property-hooks
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" } } }

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
62.94 ms | 409 KiB | 8 Q