3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
208.29 ms | 1392 KiB | 13 Q