3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = '{"id":"51","name":"abc","address":"stffu fsagu asfhgui fsahgiu3#$@^^@#%^3 6\"\"wkgforqf\";rqgjrg..,,,rqwgtr\'\'qwrgtrw\'trwqt\'rqwtqwr trqt\n"}'; var_dump($data); $string = htmlspecialchars($data, ENT_QUOTES); $jsonFix = urldecode($string); $string = htmlentities($jsonFix, ENT_QUOTES | ENT_IGNORE, "UTF-8"); $json = json_decode($string, true); print_r($json);exit;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 79) Position 1 = -2
filename:       /in/PPXal
function name:  (null)
number of ops:  29
compiled vars:  !0 = $data, !1 = $string, !2 = $jsonFix, !3 = $json
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%7B%22id%22%3A%2251%22%2C%22name%22%3A%22abc%22%2C%22address%22%3A%22stffu+fsagu+asfhgui+fsahgiu3%23%24%40%5E%5E%40%23%25%5E3+6%5C%22%5C%22wkgforqf%5C%22%3Brqgjrg..%2C%2C%2Crqwgtr%27%27qwrgtrw%27trwqt%27rqwtqwr+trqt%5Cn%22%7D'
    5     1        INIT_FCALL                                               'var_dump'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                                 
    7     4        INIT_FCALL                                               'htmlspecialchars'
          5        SEND_VAR                                                 !0
          6        SEND_VAL                                                 3
          7        DO_ICALL                                         $6      
          8        ASSIGN                                                   !1, $6
    8     9        INIT_FCALL                                               'urldecode'
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                         $8      
         12        ASSIGN                                                   !2, $8
    9    13        INIT_FCALL                                               'htmlentities'
         14        SEND_VAR                                                 !2
         15        SEND_VAL                                                 7
         16        SEND_VAL                                                 'UTF-8'
         17        DO_ICALL                                         $10     
         18        ASSIGN                                                   !1, $10
   10    19        INIT_FCALL                                               'json_decode'
         20        SEND_VAR                                                 !1
         21        SEND_VAL                                                 <true>
         22        DO_ICALL                                         $12     
         23        ASSIGN                                                   !3, $12
   11    24        INIT_FCALL                                               'print_r'
         25        SEND_VAR                                                 !3
         26        DO_ICALL                                                 
         27      > EXIT                                                     
         28*     > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.32 ms | 1395 KiB | 25 Q