3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "adsf"; $str1 = "adsf1"; $a = false; if ($a) echo "adfadf"; if (strcmp($str, $str1) == 0) echo "both are same"; echo "wassup"; ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 5
Branch analysis from position: 4
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 12
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
Branch analysis from position: 5
filename:       /in/TvF1U
function name:  (null)
number of ops:  14
compiled vars:  !0 = $str, !1 = $str1, !2 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'adsf'
    3     1        ASSIGN                                                   !1, 'adsf1'
    4     2        ASSIGN                                                   !2, <false>
    5     3      > JMPZ                                                     !2, ->5
    6     4    >   ECHO                                                     'adfadf'
    8     5    >   INIT_FCALL                                               'strcmp'
          6        SEND_VAR                                                 !0
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                         $6      
          9        IS_EQUAL                                                 $6, 0
         10      > JMPZ                                                     ~7, ->12
    9    11    >   ECHO                                                     'both+are+same'
   10    12    >   ECHO                                                     'wassup'
   12    13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.55 ms | 1394 KiB | 15 Q