3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_POST['items'] = '[["#1","[d][fA]",1,6,0],["#2","[d][mA]+",1,6,0]]'; $items = filter_input( INPUT_POST, 'items', FILTER_SANITIZE_STRING ); var_dump( json_decode($items) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/XJghb
function name:  (null)
number of ops:  16
compiled vars:  !0 = $items
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   FETCH_W                      global              $1      '_POST'
          1        ASSIGN_DIM                                               $1, 'items'
          2        OP_DATA                                                  '%5B%5B%22%231%22%2C%22%5Bd%5D%5BfA%5D%22%2C1%2C6%2C0%5D%2C%5B%22%232%22%2C%22%5Bd%5D%5BmA%5D%2B%22%2C1%2C6%2C0%5D%5D'
    3     3        INIT_FCALL                                               'filter_input'
          4        SEND_VAL                                                 0
          5        SEND_VAL                                                 'items'
          6        SEND_VAL                                                 513
          7        DO_ICALL                                         $3      
          8        ASSIGN                                                   !0, $3
    4     9        INIT_FCALL                                               'var_dump'
         10        INIT_FCALL                                               'json_decode'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                         $5      
         13        SEND_VAR                                                 $5
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
176.46 ms | 942 KiB | 20 Q