3v4l.org

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