3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = explode('/cards', "/v1/marketplaces/MP7wmpk87oT2tghkbg5hteQ2/cards/CC7AzCpKDad3cgn3oKWq1jZo"); $card = "/cards" . $arr[1]; echo $card; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3I4Jd
function name:  (null)
number of ops:  10
compiled vars:  !0 = $arr, !1 = $card
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'explode'
          1        SEND_VAL                                                 '%2Fcards'
          2        SEND_VAL                                                 '%2Fv1%2Fmarketplaces%2FMP7wmpk87oT2tghkbg5hteQ2%2Fcards%2FCC7AzCpKDad3cgn3oKWq1jZo'
          3        DO_ICALL                                         $2      
          4        ASSIGN                                                   !0, $2
    4     5        FETCH_DIM_R                                      ~4      !0, 1
          6        CONCAT                                           ~5      '%2Fcards', ~4
          7        ASSIGN                                                   !1, ~5
    5     8        ECHO                                                     !1
    7     9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.62 ms | 1385 KiB | 15 Q