3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xyz[]="a"; var_dump($xyz); if($xyz != '') { echo "xyz is not empty! good to go!\n"; $abc = strcmp($xyz, 'my cool password keep it secrete please'); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 13
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
filename:       /in/kN7AE
function name:  (null)
number of ops:  14
compiled vars:  !0 = $xyz, !1 = $abc
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN_DIM                                               !0
          1        OP_DATA                                                  'a'
    4     2        INIT_FCALL                                               'var_dump'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                                 
    6     5        IS_NOT_EQUAL                                             !0, ''
          6      > JMPZ                                                     ~4, ->13
    8     7    >   ECHO                                                     'xyz+is+not+empty%21+good+to+go%21%0A'
    9     8        INIT_FCALL                                               'strcmp'
          9        SEND_VAR                                                 !0
         10        SEND_VAL                                                 'my+cool+password+keep+it+secrete+please'
         11        DO_ICALL                                         $5      
         12        ASSIGN                                                   !1, $5
   10    13    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.36 ms | 1394 KiB | 17 Q