3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.92 ms | 1394 KiB | 15 Q