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.
Result of php executing
Full code of Jira.php
- <?php
- $string = "MM-136: Add user profile photo uploader Sergey Kvachenok 11/29/2019 06:08 PM
- 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
- MM-158: Implementation playing video Artem Poddubitsky 12/04/2019 06:48 PM
- ";
- $regex = "/(MM\-\d{2,}): .*/i";
- preg_match_all($regex, $string, $matches);
- $matches = array_pop($matches);
- echo implode(',', $matches);