3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $ar = explode('/cards', "/v1/marketplaces/MP7wmpk87oT2tghkbg5hteQ2/cards/CC7AzCpKDad3cgn3oKWq1jZo"); $card = "/cards" . $a[1]; echo $card; ?>
Output for 5.0.4 - 7.1.0
Notice: Undefined variable: a in /in/Ln6CK on line 4 /cards
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: a in /in/Ln6CK on line 4 /cards