3v4l.org

run code in 300+ PHP versions simultaneously
<?php $festival_tickets_result = json_decode('[{"provider":"stubhub","price":"24.50","currency":"\u00e2\u201a\u00ac","type":"single","description":null},{"provider":"stubhub","price":"19","currency":"\u00e2\u201a\u00ac","type":"single","description":null}]'); foreach($festival_tickets_result as $ticket) { echo $ticket->provider; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 5, Position 2 = 9
Branch analysis from position: 5
2 jumps found. (Code = 78) Position 1 = 6, Position 2 = 9
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
filename:       /in/2lthF
function name:  (null)
number of ops:  11
compiled vars:  !0 = $festival_tickets_result, !1 = $ticket
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'json_decode'
          1        SEND_VAL                                                 '%5B%7B%22provider%22%3A%22stubhub%22%2C%22price%22%3A%2224.50%22%2C%22currency%22%3A%22%5Cu00e2%5Cu201a%5Cu00ac%22%2C%22type%22%3A%22single%22%2C%22description%22%3Anull%7D%2C%7B%22provider%22%3A%22stubhub%22%2C%22price%22%3A%2219%22%2C%22currency%22%3A%22%5Cu00e2%5Cu201a%5Cu00ac%22%2C%22type%22%3A%22single%22%2C%22description%22%3Anull%7D%5D'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    5     4      > FE_RESET_R                                       $4      !0, ->9
          5    > > FE_FETCH_R                                               $4, !1, ->9
    7     6    >   FETCH_OBJ_R                                      ~5      !1, 'provider'
          7        ECHO                                                     ~5
    5     8      > JMP                                                      ->5
          9    >   FE_FREE                                                  $4
    9    10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.54 ms | 1386 KiB | 15 Q