3v4l.org

run code in 300+ PHP versions simultaneously
<?php $jsonStr = '{a: 10}'; $postBody = []; parse_str(urldecode($jsonStr), $postBody); var_dump($postBody);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/sSYDk
function name:  (null)
number of ops:  13
compiled vars:  !0 = $jsonStr, !1 = $postBody
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%7Ba%3A+10%7D'
    3     1        ASSIGN                                                   !1, <array>
    4     2        INIT_FCALL                                               'parse_str'
          3        INIT_FCALL                                               'urldecode'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $4      
          6        SEND_VAR                                                 $4
          7        SEND_REF                                                 !1
          8        DO_ICALL                                                 
    5     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.32 ms | 1011 KiB | 16 Q