3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = '{"Title": "The Cuckoos Calling", "Author": "Robert Galbraith", "Detail": { "Publisher": "Little Brown" }}'; $v = json_decode($json,TRUE);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ukPhC
function name:  (null)
number of ops:  7
compiled vars:  !0 = $json, !1 = $v
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%7B%22Title%22%3A+%22The+Cuckoos+Calling%22%2C%0A%22Author%22%3A+%22Robert+Galbraith%22%2C%0A%22Detail%22%3A+%7B%0A%22Publisher%22%3A+%22Little+Brown%22%0A%7D%7D'
    7     1        INIT_FCALL                                               'json_decode'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 <true>
          4        DO_ICALL                                         $3      
          5        ASSIGN                                                   !1, $3
          6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.15 ms | 1394 KiB | 15 Q