3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types=1); $var = (string) null; echo get_debug_type($var); json_decode($var);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/YUTrC
function name:  (null)
number of ops:  10
compiled vars:  !0 = $var
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   CAST                                          6  ~1      null
          1        ASSIGN                                                   !0, ~1
    7     2        INIT_FCALL                                               'get_debug_type'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $3      
          5        ECHO                                                     $3
    9     6        INIT_FCALL                                               'json_decode'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.12 ms | 1015 KiB | 15 Q