3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.87 ms | 939 KiB | 16 Q