3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = json_decode('{"":""}'); $b = json_decode('{"":""}', 1); var_dump($a); var_dump($b); var_dump((object)$b);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/nssi7
function name:  (null)
number of ops:  20
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'json_decode'
          1        SEND_VAL                                                 '%7B%22%22%3A%22%22%7D'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    3     4        INIT_FCALL                                               'json_decode'
          5        SEND_VAL                                                 '%7B%22%22%3A%22%22%7D'
          6        SEND_VAL                                                 1
          7        DO_ICALL                                         $4      
          8        ASSIGN                                                   !1, $4
    4     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                                 
    5    12        INIT_FCALL                                               'var_dump'
         13        SEND_VAR                                                 !1
         14        DO_ICALL                                                 
    6    15        INIT_FCALL                                               'var_dump'
         16        CAST                                          8  ~8      !1
         17        SEND_VAL                                                 ~8
         18        DO_ICALL                                                 
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.59 ms | 1395 KiB | 17 Q