3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = '"\ud834"'; $res = json_decode($test, true); if (json_last_error() != JSON_ERROR_NONE) { die(json_last_error_msg()); } var_dump($res);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 13
Branch analysis from position: 10
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3UPUd
function name:  (null)
number of ops:  17
compiled vars:  !0 = $test, !1 = $res
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%22%5Cud834%22'
    5     1        INIT_FCALL                                               'json_decode'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 <true>
          4        DO_ICALL                                         $3      
          5        ASSIGN                                                   !1, $3
    7     6        INIT_FCALL                                               'json_last_error'
          7        DO_ICALL                                         $5      
          8        IS_NOT_EQUAL                                             $5, 0
          9      > JMPZ                                                     ~6, ->13
    8    10    >   INIT_FCALL                                               'json_last_error_msg'
         11        DO_ICALL                                         $7      
         12      > EXIT                                                     $7
   11    13    >   INIT_FCALL                                               'var_dump'
         14        SEND_VAR                                                 !1
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.12 ms | 1394 KiB | 21 Q