3v4l.org

run code in 500+ PHP versions simultaneously
<?php $json = '{ "General": { "Remote_Server_Root_URL": "\u0026", "Welcome_Screen_URL": "\u0027", "Multi_Configuration_URL": "\u0022", "Configuration_Id": "\u003C\u003E" } }'; $json = preg_replace('#\\\\u([0-9A-F]{4})#', '\\\\\u0075$1', $json); $dec = json_decode($json, true); $enc = preg_replace('#\\\\u0075#', 'u', json_encode($dec)); echo $enc;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FaJCQ
function name:  (null)
number of ops:  17
compiled vars:  !0 = $json, !1 = $dec, !2 = $enc
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, '%7B%0A++++%22General%22%3A+%7B%0A++++++++%22Remote_Server_Root_URL%22%3A+%22%5Cu0026%22%2C%0A++++++++%22Welcome_Screen_URL%22%3A+%22%5Cu0027%22%2C%0A++++++++%22Multi_Configuration_URL%22%3A+%22%5Cu0022%22%2C%0A++++++++%22Configuration_Id%22%3A+%22%5Cu003C%5Cu003E%22%0A++++%7D%0A%7D'
   12     1        FRAMELESS_ICALL_3                preg_replace        ~4      '%23%5C%5Cu%28%5B0-9A-F%5D%7B4%7D%29%23', '%5C%5C%5Cu0075%241'
          2        OP_DATA                                                      !0
          3        ASSIGN                                                       !0, ~4
   13     4        INIT_FCALL                                                   'json_decode'
          5        SEND_VAR                                                     !0
          6        SEND_VAL                                                     <true>
          7        DO_ICALL                                             $6      
          8        ASSIGN                                                       !1, $6
   14     9        INIT_FCALL                                                   'json_encode'
         10        SEND_VAR                                                     !1
         11        DO_ICALL                                             $8      
         12        FRAMELESS_ICALL_3                preg_replace        ~9      '%23%5C%5Cu0075%23', 'u'
         13        OP_DATA                                                      $8
         14        ASSIGN                                                       !2, ~9
   16    15        ECHO                                                         !2
   17    16      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
159.54 ms | 1464 KiB | 17 Q