3v4l.org

run code in 300+ PHP versions simultaneously
<?php print_r(json_decode('[ null, "\u0000\u0000\u0000", "0", "a\u0000\u0012bc\u0008d", 0, {"b":""} ]', true)); echo "\n\n---------- Versus ----------\n\n"; var_dump(json_decode('[ null, "\u0000\u0000\u0000", "0", "a\u0000\u0012bc\u0008d", 0, {"b":""} ]', true));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/NBOIT
function name:  (null)
number of ops:  16
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'print_r'
          1        INIT_FCALL                                               'json_decode'
          2        SEND_VAL                                                 '%5B%0A++++null%2C%0A++++%22%5Cu0000%5Cu0000%5Cu0000%22%2C%0A++++%220%22%2C%0A++++%22a%5Cu0000%5Cu0012bc%5Cu0008d%22%2C%0A++++0%2C%0A++++%7B%22b%22%3A%22%22%7D%0A%5D'
   10     3        SEND_VAL                                                 <true>
          4        DO_ICALL                                         $0      
          5        SEND_VAR                                                 $0
          6        DO_ICALL                                                 
   12     7        ECHO                                                     '%0A%0A----------+Versus+----------%0A%0A'
   14     8        INIT_FCALL                                               'var_dump'
          9        INIT_FCALL                                               'json_decode'
         10        SEND_VAL                                                 '%5B%0A++++null%2C%0A++++%22%5Cu0000%5Cu0000%5Cu0000%22%2C%0A++++%220%22%2C%0A++++%22a%5Cu0000%5Cu0012bc%5Cu0008d%22%2C%0A++++0%2C%0A++++%7B%22b%22%3A%22%22%7D%0A%5D'
   21    11        SEND_VAL                                                 <true>
         12        DO_ICALL                                         $2      
         13        SEND_VAR                                                 $2
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
176.13 ms | 1395 KiB | 19 Q