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; }*/ echo count($festival_tickets_result); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0ZDue
function name:  (null)
number of ops:  7
compiled vars:  !0 = $festival_tickets_result
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                                         $1      
          3        ASSIGN                                                   !0, $1
   11     4        COUNT                                            ~3      !0
          5        ECHO                                                     ~3
   12     6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.66 ms | 1394 KiB | 15 Q