3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr = explode('/cards', "/v1/marketplaces/MP7wmpk87oT2tghkbg5hteQ2/cards/CC7AzCpKDad3cgn3oKWq1jZo"); $card = "/cards" . $arr[1]; echo $card; ?>
Output for 4.3.0 - 7.1.0
/cards/CC7AzCpKDad3cgn3oKWq1jZo