3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = json_decode(urldecode('{"1s":"1", "f":"2","g":"2"}')); var_dump(count($a));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/N28C3
function name:  (null)
number of ops:  12
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'json_decode'
          1        INIT_FCALL                                               'urldecode'
          2        SEND_VAL                                                 '%7B%221s%22%3A%221%22%2C+%22f%22%3A%222%22%2C%22g%22%3A%222%22%7D'
          3        DO_ICALL                                         $1      
          4        SEND_VAR                                                 $1
          5        DO_ICALL                                         $2      
          6        ASSIGN                                                   !0, $2
    4     7        INIT_FCALL                                               'var_dump'
          8        COUNT                                            ~4      !0
          9        SEND_VAL                                                 ~4
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.42 ms | 1394 KiB | 19 Q