3v4l.org

run code in 300+ PHP versions simultaneously
<?php $cost = '1'; echo isset($cost); echo isset($cost,$test);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 5, Position 2 = 7
Branch analysis from position: 5
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
filename:       /in/548t6
function name:  (null)
number of ops:  9
compiled vars:  !0 = $cost, !1 = $test
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '1'
    5     1        ISSET_ISEMPTY_CV                                 ~3      !0
          2        ECHO                                                     ~3
    6     3        ISSET_ISEMPTY_CV                                 ~4      !0
          4      > JMPZ_EX                                          ~4      ~4, ->7
          5    >   ISSET_ISEMPTY_CV                                 ~5      !1
          6        BOOL                                             ~4      ~5
          7    >   ECHO                                                     ~4
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
185.71 ms | 1392 KiB | 13 Q