Jira - PHP Online

Form of PHP Sandbox

Enter Your PHP code here for testing/debugging in the Online PHP Sandbox. As in the usual PHP files, you can also add HTML, but do not forget to add the tag <?php in the places where the PHP script should be executed.



Your result can be seen below.

Result of php executing





Full code of Jira.php

  1. <?php
  2. $string = "MM-136: Add user profile photo uploader       Sergey Kvachenok       11/29/2019 06:08 PM
  3. MM-27: Create inspection list with possibility to chose date ↲ Separate OfferList component into smaller components with possibility to ↲ reuse them. Create InspectionList. Sergey Kvachenok       12/04/2019 08:20 PM
  4. MM-158: Implementation playing video Artem Poddubitsky      12/04/2019 06:48 PM
  5. ";
  6.  
  7. $regex = "/(MM\-\d{2,}): .*/i";
  8.  
  9. preg_match_all($regex, $string, $matches);
  10.  
  11. $matches = array_pop($matches);
  12.  
  13. echo implode(',', $matches);
  14.  
File Description
  • Jira
  • PHP Code
  • 11 Dec-2019
  • 526 Bytes
You can Share it: