3v4l.org

run code in 300+ PHP versions simultaneously
<?php $key = null; var_dump(isset($key)); $key = 0; var_dump(isset($key)); $key = '0'; var_dump(isset($key));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ja97J
function name:  (null)
number of ops:  16
compiled vars:  !0 = $key
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, null
    5     1        INIT_FCALL                                               'var_dump'
          2        ISSET_ISEMPTY_CV                                 ~2      !0
          3        SEND_VAL                                                 ~2
          4        DO_ICALL                                                 
    7     5        ASSIGN                                                   !0, 0
    9     6        INIT_FCALL                                               'var_dump'
          7        ISSET_ISEMPTY_CV                                 ~5      !0
          8        SEND_VAL                                                 ~5
          9        DO_ICALL                                                 
   11    10        ASSIGN                                                   !0, '0'
   13    11        INIT_FCALL                                               'var_dump'
         12        ISSET_ISEMPTY_CV                                 ~8      !0
         13        SEND_VAL                                                 ~8
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.94 ms | 1394 KiB | 15 Q