3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = '{"adtNum":1,"blockPrice":0,"cabinNames":{"business":"公务舱","economy":"经济舱","first":"头等舱","lowest":"最低价","more":"更多优惠"}}'; var_dump(json_decode($str,JSON_UNESCAPED_UNICODE));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1RfgU
function name:  (null)
number of ops:  9
compiled vars:  !0 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%7B%22adtNum%22%3A1%2C%22blockPrice%22%3A0%2C%22cabinNames%22%3A%7B%22business%22%3A%22%E5%85%AC%E5%8A%A1%E8%88%B1%22%2C%22economy%22%3A%22%E7%BB%8F%E6%B5%8E%E8%88%B1%22%2C%22first%22%3A%22%E5%A4%B4%E7%AD%89%E8%88%B1%22%2C%22lowest%22%3A%22%E6%9C%80%E4%BD%8E%E4%BB%B7%22%2C%22more%22%3A%22%E6%9B%B4%E5%A4%9A%E4%BC%98%E6%83%A0%22%7D%7D'
    3     1        INIT_FCALL                                               'var_dump'
          2        INIT_FCALL                                               'json_decode'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 256
          5        DO_ICALL                                         $2      
          6        SEND_VAR                                                 $2
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.83 ms | 1398 KiB | 17 Q