3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = " http://localhost:*/api/campaigns/C-T0T G:\Documents\Websites\CDD-Design\ovation\test\charles\maps\campaignResponse.json http://localhost:*/api/campaigns/?nominator=yes G:\Documents\Websites\CDD-Design\ovation\test\charles\maps\campaigns_chooser.json http://localhost:*/api/recognition/?campaignId=C-T01&amp;page=1&amp;take=3 G:\Documents\Websites\CDD-Design\ovation\test\charles\maps\singlerecognition.json http://localhost:*/api/applauds/* G:\Documents\Websites\CDD-Design\ovation\test\charles\maps\applauds.json http://localhost:*/api/rewards/user/U01 G:\Documents\Websites\CDD-Design\ovation\test\charles\maps\rewardList.json http://localhost:*/api/orders/user/U01 G:\Documents\Websites\CDD-Design\ovation\test\charles\maps\ordersList.json http://localhost:*/api/users/U01 G:\Documents\Websites\CDD-Design\ovation\test\charles\maps\userData.json http://localhost:*/api/budgetHistory/user/U01 G:\Documents\Websites\CDD-Design\ovation\test\charles\maps\budgetHistory.json http://localhost:*/api/budgetReports/user/U01 G:\Documents\Websites\CDD-Design\ovation\test\charles\maps\budgetReportList.json http://localhost:*/api/badges/* G:\Documents\Websites\CDD-Design\ovation\test\charles\maps\badgeData.json http://localhost:*/api/feeds/ G:\Documents\Websites\CDD-Design\ovation\test\charles\maps\feedsData.json http://localhost:*/api/groups/ G:\Documents\Websites\CDD-Design\ovation\test\charles\maps\groupData.json http://localhost:*/api/wall/?page=1&amp;take=1APIADFASDFAD0 G:\Documents\Websites\CDD-Design\ovation\test\charles\maps\wallData2.json http://localhost:*/api/recognition/* G:\Documents\Websites\CDD-Design\ovation\test\charles\maps\recogData.json http://localhost:*/api/budgetHistory/userid/U01 G:\Documents\Websites\CDD-Design\ovation\test\charles\maps\budgetHistory.json http://localhost:*/api/User/ G:\Documents\Websites\CDD-Design\ovation\test\charles\maps\userSearch.json http://10.0.1.134:88:/api/UserSearch/ G:\Documents\Websites\CDD-Design\ovation\test\charles\maps\userSearch.json http://10.0.1.134:88:/api/campaigns/* G:\Documents\Websites\CDD-Design\ovation\test\charles\maps\userCampaigns.json http://10.0.1.134:88:/api/campaigns/?nominator=yes G:\Documents\Websites\CDD-Design\ovation\test\charles\maps\campaigns_chooser.json http://10.0.1.134:88:/api/groups/ G:\Documents\Websites\CDD-Design\ovation\test\charles\maps\groupData.json http://10.0.1.134:88:/api/rewards/user/U01 G:\Documents\Websites\CDD-Design\ovation\test\charles\maps\rewardList.json http://10.0.1.134:88:/api/orders/user/U01 G:\Documents\Websites\CDD-Design\ovation\test\charles\maps\ordersList.json http://10.0.1.134:88:/api/budgetHistory/userid/U01 G:\Documents\Websites\CDD-Design\ovation\test\charles\maps\budgetHistory.json http://10.0.1.134:88:/api/wall/ G:\Documents\Websites\CDD-Design\ovation\test\charles\maps\wallData.json http://10.0.1.134:88:/api/users/U01 G:\Documents\Websites\CDD-Design\ovation\test\charles\maps\userData.json http://10.0.1.134:88:/api/feeds/ G:\Documents\Websites\CDD-Design\ovation\test\charles\maps\feedsData.json http://10.0.1.134:88:/api/badges/* G:\Documents\Websites\CDD-Design\ovation\test\charles\maps\badgeData.json http://10.0.1.134:88:/api/recognition/RW03X G:\Documents\Websites\CDD-Design\ovation\test\charles\maps\singlerecognition.json http://10.0.1.134:88:/api/recognition/* G:\Documents\Websites\CDD-Design\ovation\test\charles\maps\singlerecognition.json http://localhost:*/api/userbadges/ G:\Documents\Websites\CDD-Design\ovation\test\charles\maps\userBadges.json http://localhost:*/api/usercampaigns/ G:\Documents\Websites\CDD-Design\ovation\test\charles\maps\userCampaigns.json http://localhost:*/api/campaigns/ G:\Documents\Websites\CDD-Design\ovation\test\charles\maps\userCampaigns.json http://localhost:*/api/messages/?type=subject? G:\Documents\Websites\CDD-Design\ovation\test\charles\maps\messageHeaders2.json http://localhost:*/api/messages/?type=message&amp;id=MES06 G:\Documents\Websites\CDD-Design\ovation\test\charles\maps\singleMessage.json http://localhost:*/api/messages/?type=subject&amp;page=1&amp;take=10&amp;api=THISFROMAPI G:\Documents\Websites\CDD-Design\ovation\test\charles\maps\messageHeaders2.json http://localhost:*/api/messages/ G:\Documents\Websites\CDD-Design\ovation\test\charles\maps\messageHeaders.json http://localhost:*/api/messages/MES06?type=message? G:\Documents\Websites\CDD-Design\ovation\test\charles\maps\singleMessage.json http://10.0.1.134:88:/api/UserSearch/?q=ada&amp;_=1381315572662 G:\Documents\Websites\CDD-Design\ovation\test\charles\maps\userSearch.json http://10.0.1.134:88:/api/feeds/ G:\Documents\Websites\CDD-Design\ovation\test\charles\maps\feedsData.json http://10.0.1.134:88:/api/userbadges/ G:\Documents\Websites\CDD-Design\ovation\test\charles\maps\userBadges.json http://10.0.1.134:88:/api/messages/?type=subject? G:\Documents\Websites\CDD-Design\ovation\test\charles\maps\messageHeaders2.json http://10.0.1.134:88:/api/messages/?type=message&amp;id=MES06 G:\Documents\Websites\CDD-Design\ovation\test\charles\maps\singleMessage.json http://10.0.1.134:88:/api/messages/ G:\Documents\Websites\CDD-Design\ovation\test\charles\maps\messageHeaders.json http://10.0.1.134:88:/api/messages/MES06?type=message G:\Documents\Websites\CDD-Design\ovation\test\charles\maps\singleMessage.json http://10.0.1.134:88:/api/campaigns/ G:\Documents\Websites\CDD-Design\ovation\test\charles\maps\userCampaigns.json http://localhost:*/api/campaigns/C-N01 G:\Documents\Websites\CDD-Design\ovation\test\charles\maps\userCampaigns.json http://localhost:*/api/campaigns/C-* G:\Documents\Websites\CDD-Design\ovation\test\charles\maps\userCampaigns.json http://localhost:*/api/teams/* G:\Documents\Websites\CDD-Design\ovation\test\charles\maps\teamDetails.json http://localhost:88:/api/team/T03/?page=2&amp;take=10 G:\Documents\Websites\CDD-Design\ovation\test\charles\maps\teamDetails2.json http://localhost:88:/api/orders/userid/U01 G:\Documents\Websites\CDD-Design\ovation\test\charles\maps\ordersList.json http://localhost:80:/api/users/U039999999999997 G:\Documents\Websites\CDD-Design\ovation\test\charles\maps\user2Data.json http://localhost:88:/api/team/T03 G:\Documents\Websites\CDD-Design\ovation\test\charles\maps\teamDetails.json http://localhost:88:/api/team/T01 G:\Documents\Websites\CDD-Design\ovation\test\charles\maps\teamDetails3.json http://localhost:88:/api/wall/?page=2&amp;take=9? G:\Documents\Websites\CDD-Design\ovation\test\charles\maps\wallData2.json http://localhost:*/api/wall/ G:\Documents\Websites\CDD-Design\ovation\test\charles\maps\wallData.json "; $array = explode("\r\n", str_replace(array(' ', '\t'), '', $str)); $array = array_filter($array); print_r($array);
Output for 5.2.5 - 5.6.28, hhvm-3.10.0 - 3.13.2, 7.0.0 - 7.1.0
Array ( [0] => http://localhost:*/api/campaigns/C-T0T G:\Documents\Websites\CDD-Design\ovation est\charles\maps\campaignResponse.json http://localhost:*/api/campaigns/?nominator=yes G:\Documents\Websites\CDD-Design\ovation est\charles\maps\campaigns_chooser.json http://localhost:*/api/recognition/?campaignId=C-T01&amp;page=1&amp;take=3 G:\Documents\Websites\CDD-Design\ovation est\charles\maps\singlerecognition.json http://localhost:*/api/applauds/* G:\Documents\Websites\CDD-Design\ovation est\charles\maps\applauds.json http://localhost:*/api/rewards/user/U01 G:\Documents\Websites\CDD-Design\ovation est\charles\maps ewardList.json http://localhost:*/api/orders/user/U01 G:\Documents\Websites\CDD-Design\ovation est\charles\maps\ordersList.json http://localhost:*/api/users/U01 G:\Documents\Websites\CDD-Design\ovation est\charles\maps\userData.json http://localhost:*/api/budgetHistory/user/U01 G:\Documents\Websites\CDD-Design\ovation est\charles\maps\budgetHistory.json http://localhost:*/api/budgetReports/user/U01 G:\Documents\Websites\CDD-Design\ovation est\charles\maps\budgetReportList.json http://localhost:*/api/badges/* G:\Documents\Websites\CDD-Design\ovation est\charles\maps\badgeData.json http://localhost:*/api/feeds/ G:\Documents\Websites\CDD-Design\ovation est\charles\maps eedsData.json http://localhost:*/api/groups/ G:\Documents\Websites\CDD-Design\ovation est\charles\maps\groupData.json http://localhost:*/api/wall/?page=1&amp;take=1APIADFASDFAD0 G:\Documents\Websites\CDD-Design\ovation est\charles\maps\wallData2.json http://localhost:*/api/recognition/* G:\Documents\Websites\CDD-Design\ovation est\charles\maps ecogData.json http://localhost:*/api/budgetHistory/userid/U01 G:\Documents\Websites\CDD-Design\ovation est\charles\maps\budgetHistory.json http://localhost:*/api/User/ G:\Documents\Websites\CDD-Design\ovation est\charles\maps\userSearch.json http://10.0.1.134:88:/api/UserSearch/ G:\Documents\Websites\CDD-Design\ovation est\charles\maps\userSearch.json http://10.0.1.134:88:/api/campaigns/* G:\Documents\Websites\CDD-Design\ovation est\charles\maps\userCampaigns.json http://10.0.1.134:88:/api/campaigns/?nominator=yes G:\Documents\Websites\CDD-Design\ovation est\charles\maps\campaigns_chooser.json http://10.0.1.134:88:/api/groups/ G:\Documents\Websites\CDD-Design\ovation est\charles\maps\groupData.json http://10.0.1.134:88:/api/rewards/user/U01 G:\Documents\Websites\CDD-Design\ovation est\charles\maps ewardList.json http://10.0.1.134:88:/api/orders/user/U01 G:\Documents\Websites\CDD-Design\ovation est\charles\maps\ordersList.json http://10.0.1.134:88:/api/budgetHistory/userid/U01 G:\Documents\Websites\CDD-Design\ovation est\charles\maps\budgetHistory.json http://10.0.1.134:88:/api/wall/ G:\Documents\Websites\CDD-Design\ovation est\charles\maps\wallData.json http://10.0.1.134:88:/api/users/U01 G:\Documents\Websites\CDD-Design\ovation est\charles\maps\userData.json http://10.0.1.134:88:/api/feeds/ G:\Documents\Websites\CDD-Design\ovation est\charles\maps eedsData.json http://10.0.1.134:88:/api/badges/* G:\Documents\Websites\CDD-Design\ovation est\charles\maps\badgeData.json http://10.0.1.134:88:/api/recognition/RW03X G:\Documents\Websites\CDD-Design\ovation est\charles\maps\singlerecognition.json http://10.0.1.134:88:/api/recognition/* G:\Documents\Websites\CDD-Design\ovation est\charles\maps\singlerecognition.json http://localhost:*/api/userbadges/ G:\Documents\Websites\CDD-Design\ovation est\charles\maps\userBadges.json http://localhost:*/api/usercampaigns/ G:\Documents\Websites\CDD-Design\ovation est\charles\maps\userCampaigns.json http://localhost:*/api/campaigns/ G:\Documents\Websites\CDD-Design\ovation est\charles\maps\userCampaigns.json http://localhost:*/api/messages/?type=subject? G:\Documents\Websites\CDD-Design\ovation est\charles\maps\messageHeaders2.json http://localhost:*/api/messages/?type=message&amp;id=MES06 G:\Documents\Websites\CDD-Design\ovation est\charles\maps\singleMessage.json http://localhost:*/api/messages/?type=subject&amp;page=1&amp;take=10&amp;api=THISFROMAPI G:\Documents\Websites\CDD-Design\ovation est\charles\maps\messageHeaders2.json http://localhost:*/api/messages/ G:\Documents\Websites\CDD-Design\ovation est\charles\maps\messageHeaders.json http://localhost:*/api/messages/MES06?type=message? G:\Documents\Websites\CDD-Design\ovation est\charles\maps\singleMessage.json http://10.0.1.134:88:/api/UserSearch/?q=ada&amp;_=1381315572662 G:\Documents\Websites\CDD-Design\ovation est\charles\maps\userSearch.json http://10.0.1.134:88:/api/feeds/ G:\Documents\Websites\CDD-Design\ovation est\charles\maps eedsData.json http://10.0.1.134:88:/api/userbadges/ G:\Documents\Websites\CDD-Design\ovation est\charles\maps\userBadges.json http://10.0.1.134:88:/api/messages/?type=subject? G:\Documents\Websites\CDD-Design\ovation est\charles\maps\messageHeaders2.json http://10.0.1.134:88:/api/messages/?type=message&amp;id=MES06 G:\Documents\Websites\CDD-Design\ovation est\charles\maps\singleMessage.json http://10.0.1.134:88:/api/messages/ G:\Documents\Websites\CDD-Design\ovation est\charles\maps\messageHeaders.json http://10.0.1.134:88:/api/messages/MES06?type=message G:\Documents\Websites\CDD-Design\ovation est\charles\maps\singleMessage.json http://10.0.1.134:88:/api/campaigns/ G:\Documents\Websites\CDD-Design\ovation est\charles\maps\userCampaigns.json http://localhost:*/api/campaigns/C-N01 G:\Documents\Websites\CDD-Design\ovation est\charles\maps\userCampaigns.json http://localhost:*/api/campaigns/C-* G:\Documents\Websites\CDD-Design\ovation est\charles\maps\userCampaigns.json http://localhost:*/api/teams/* G:\Documents\Websites\CDD-Design\ovation est\charles\maps eamDetails.json http://localhost:88:/api/team/T03/?page=2&amp;take=10 G:\Documents\Websites\CDD-Design\ovation est\charles\maps eamDetails2.json http://localhost:88:/api/orders/userid/U01 G:\Documents\Websites\CDD-Design\ovation est\charles\maps\ordersList.json http://localhost:80:/api/users/U039999999999997 G:\Documents\Websites\CDD-Design\ovation est\charles\maps\user2Data.json http://localhost:88:/api/team/T03 G:\Documents\Websites\CDD-Design\ovation est\charles\maps eamDetails.json http://localhost:88:/api/team/T01 G:\Documents\Websites\CDD-Design\ovation est\charles\maps eamDetails3.json http://localhost:88:/api/wall/?page=2&amp;take=9? G:\Documents\Websites\CDD-Design\ovation est\charles\maps\wallData2.json http://localhost:*/api/wall/ G:\Documents\Websites\CDD-Design\ovation est\charles\maps\wallData.json )
Output for 4.3.0 - 5.2.4
Array ( [0] => http://localhost:*/api/campaigns/C-T0T G:\Documents\Websites\CDD-Design\ovation est\charles\maps\campaignResponse.json http://localhost:*/api/campaigns/?nominator=yes G:\Documents\Websites\CDD-Design\ovation est\charles\maps\campaigns_chooser.json http://localhost:*/api/recognition/?campaignId=C-T01&amp;page=1&amp;take=3 G:\Documents\Websites\CDD-Design\ovation est\charles\maps\singlerecognition.json http://localhost:*/api/applauds/* G:\Documents\Websites\CDD-Design\ovation est\charles\maps\applauds.json http://localhost:*/api/rewards/user/U01 G:\Documents\Websites\CDD-Design\ovation est\charles\maps ewardList.json http://localhost:*/api/orders/user/U01 G:\Documents\Websites\CDD-Design\ovation est\charles\maps\ordersList.json http://localhost:*/api/users/U01 G:\Documents\Websites\CDD-Design\ovation est\charles\maps\userData.json http://localhost:*/api/budgetHistory/user/U01 G:\Documents\Websites\CDD-Design\ovation est\charles\maps\budgetHistory.json http://localhost:*/api/budgetReports/user/U01 G:\Documents\Websites\CDD-Design\ovation est\charles\maps\budgetReportList.json http://localhost:*/api/badges/* G:\Documents\Websites\CDD-Design\ovation est\charles\maps\badgeData.json http://localhost:*/api/feeds/ G:\Documents\Websites\CDD-Design\ovation est\charles\maps\feedsData.json http://localhost:*/api/groups/ G:\Documents\Websites\CDD-Design\ovation est\charles\maps\groupData.json http://localhost:*/api/wall/?page=1&amp;take=1APIADFASDFAD0 G:\Documents\Websites\CDD-Design\ovation est\charles\maps\wallData2.json http://localhost:*/api/recognition/* G:\Documents\Websites\CDD-Design\ovation est\charles\maps ecogData.json http://localhost:*/api/budgetHistory/userid/U01 G:\Documents\Websites\CDD-Design\ovation est\charles\maps\budgetHistory.json http://localhost:*/api/User/ G:\Documents\Websites\CDD-Design\ovation est\charles\maps\userSearch.json http://10.0.1.134:88:/api/UserSearch/ G:\Documents\Websites\CDD-Design\ovation est\charles\maps\userSearch.json http://10.0.1.134:88:/api/campaigns/* G:\Documents\Websites\CDD-Design\ovation est\charles\maps\userCampaigns.json http://10.0.1.134:88:/api/campaigns/?nominator=yes G:\Documents\Websites\CDD-Design\ovation est\charles\maps\campaigns_chooser.json http://10.0.1.134:88:/api/groups/ G:\Documents\Websites\CDD-Design\ovation est\charles\maps\groupData.json http://10.0.1.134:88:/api/rewards/user/U01 G:\Documents\Websites\CDD-Design\ovation est\charles\maps ewardList.json http://10.0.1.134:88:/api/orders/user/U01 G:\Documents\Websites\CDD-Design\ovation est\charles\maps\ordersList.json http://10.0.1.134:88:/api/budgetHistory/userid/U01 G:\Documents\Websites\CDD-Design\ovation est\charles\maps\budgetHistory.json http://10.0.1.134:88:/api/wall/ G:\Documents\Websites\CDD-Design\ovation est\charles\maps\wallData.json http://10.0.1.134:88:/api/users/U01 G:\Documents\Websites\CDD-Design\ovation est\charles\maps\userData.json http://10.0.1.134:88:/api/feeds/ G:\Documents\Websites\CDD-Design\ovation est\charles\maps\feedsData.json http://10.0.1.134:88:/api/badges/* G:\Documents\Websites\CDD-Design\ovation est\charles\maps\badgeData.json http://10.0.1.134:88:/api/recognition/RW03X G:\Documents\Websites\CDD-Design\ovation est\charles\maps\singlerecognition.json http://10.0.1.134:88:/api/recognition/* G:\Documents\Websites\CDD-Design\ovation est\charles\maps\singlerecognition.json http://localhost:*/api/userbadges/ G:\Documents\Websites\CDD-Design\ovation est\charles\maps\userBadges.json http://localhost:*/api/usercampaigns/ G:\Documents\Websites\CDD-Design\ovation est\charles\maps\userCampaigns.json http://localhost:*/api/campaigns/ G:\Documents\Websites\CDD-Design\ovation est\charles\maps\userCampaigns.json http://localhost:*/api/messages/?type=subject? G:\Documents\Websites\CDD-Design\ovation est\charles\maps\messageHeaders2.json http://localhost:*/api/messages/?type=message&amp;id=MES06 G:\Documents\Websites\CDD-Design\ovation est\charles\maps\singleMessage.json http://localhost:*/api/messages/?type=subject&amp;page=1&amp;take=10&amp;api=THISFROMAPI G:\Documents\Websites\CDD-Design\ovation est\charles\maps\messageHeaders2.json http://localhost:*/api/messages/ G:\Documents\Websites\CDD-Design\ovation est\charles\maps\messageHeaders.json http://localhost:*/api/messages/MES06?type=message? G:\Documents\Websites\CDD-Design\ovation est\charles\maps\singleMessage.json http://10.0.1.134:88:/api/UserSearch/?q=ada&amp;_=1381315572662 G:\Documents\Websites\CDD-Design\ovation est\charles\maps\userSearch.json http://10.0.1.134:88:/api/feeds/ G:\Documents\Websites\CDD-Design\ovation est\charles\maps\feedsData.json http://10.0.1.134:88:/api/userbadges/ G:\Documents\Websites\CDD-Design\ovation est\charles\maps\userBadges.json http://10.0.1.134:88:/api/messages/?type=subject? G:\Documents\Websites\CDD-Design\ovation est\charles\maps\messageHeaders2.json http://10.0.1.134:88:/api/messages/?type=message&amp;id=MES06 G:\Documents\Websites\CDD-Design\ovation est\charles\maps\singleMessage.json http://10.0.1.134:88:/api/messages/ G:\Documents\Websites\CDD-Design\ovation est\charles\maps\messageHeaders.json http://10.0.1.134:88:/api/messages/MES06?type=message G:\Documents\Websites\CDD-Design\ovation est\charles\maps\singleMessage.json http://10.0.1.134:88:/api/campaigns/ G:\Documents\Websites\CDD-Design\ovation est\charles\maps\userCampaigns.json http://localhost:*/api/campaigns/C-N01 G:\Documents\Websites\CDD-Design\ovation est\charles\maps\userCampaigns.json http://localhost:*/api/campaigns/C-* G:\Documents\Websites\CDD-Design\ovation est\charles\maps\userCampaigns.json http://localhost:*/api/teams/* G:\Documents\Websites\CDD-Design\ovation est\charles\maps eamDetails.json http://localhost:88:/api/team/T03/?page=2&amp;take=10 G:\Documents\Websites\CDD-Design\ovation est\charles\maps eamDetails2.json http://localhost:88:/api/orders/userid/U01 G:\Documents\Websites\CDD-Design\ovation est\charles\maps\ordersList.json http://localhost:80:/api/users/U039999999999997 G:\Documents\Websites\CDD-Design\ovation est\charles\maps\user2Data.json http://localhost:88:/api/team/T03 G:\Documents\Websites\CDD-Design\ovation est\charles\maps eamDetails.json http://localhost:88:/api/team/T01 G:\Documents\Websites\CDD-Design\ovation est\charles\maps eamDetails3.json http://localhost:88:/api/wall/?page=2&amp;take=9? G:\Documents\Websites\CDD-Design\ovation est\charles\maps\wallData2.json http://localhost:*/api/wall/ G:\Documents\Websites\CDD-Design\ovation est\charles\maps\wallData.json )