3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = '{ "cols": [{"id":"","label":"Option","pattern":"","type":"string"}, {"id":"","label":"Vote","pattern":"","type":"number"}], "rows": [{"c":[{"v":"Excited","f":null},{"v":1,"f":null}]}, {"c":[{"v":"Bored","f":null},{"v":2,"f":null}]}, {"c":[{"v":"Neutral","f":null},{"v":3,"f":null}]}]}'; var_dump(json_decode($a, true));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/evYtd
function name:  (null)
number of ops:  9
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   ASSIGN                                                   !0, '%7B++%22cols%22%3A+%5B%7B%22id%22%3A%22%22%2C%22label%22%3A%22Option%22%2C%22pattern%22%3A%22%22%2C%22type%22%3A%22string%22%7D%2C%0A%09%09%09%09%09%09%09+++%7B%22id%22%3A%22%22%2C%22label%22%3A%22Vote%22%2C%22pattern%22%3A%22%22%2C%22type%22%3A%22number%22%7D%5D%2C%0A%09%09%09%09%09++%22rows%22%3A+%5B%7B%22c%22%3A%5B%7B%22v%22%3A%22Excited%22%2C%22f%22%3Anull%7D%2C%7B%22v%22%3A1%2C%22f%22%3Anull%7D%5D%7D%2C%0A%09%09%09%09%09%09%09+++%7B%22c%22%3A%5B%7B%22v%22%3A%22Bored%22%2C%22f%22%3Anull%7D%2C%7B%22v%22%3A2%2C%22f%22%3Anull%7D%5D%7D%2C%0A%09%09%09%09%09%09%09+++%7B%22c%22%3A%5B%7B%22v%22%3A%22Neutral%22%2C%22f%22%3Anull%7D%2C%7B%22v%22%3A3%2C%22f%22%3Anull%7D%5D%7D%5D%7D'
   11     1        INIT_FCALL                                               'var_dump'
          2        INIT_FCALL                                               'json_decode'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 <true>
          5        DO_ICALL                                         $2      
          6        SEND_VAR                                                 $2
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.7 ms | 1394 KiB | 17 Q