3v4l.org

run code in 300+ PHP versions simultaneously
<?php $category="Oracle1"; $OS="Oracle"; $v1 = 0; $v2 = strcmp($category, $OS); if($v1 == $v2) { echo 'True'; } else { echo 'false'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 12
Branch analysis from position: 10
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Ztf4u
function name:  (null)
number of ops:  14
compiled vars:  !0 = $category, !1 = $OS, !2 = $v1, !3 = $v2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'Oracle1'
    4     1        ASSIGN                                                   !1, 'Oracle'
    6     2        ASSIGN                                                   !2, 0
    7     3        INIT_FCALL                                               'strcmp'
          4        SEND_VAR                                                 !0
          5        SEND_VAR                                                 !1
          6        DO_ICALL                                         $7      
          7        ASSIGN                                                   !3, $7
   10     8        IS_EQUAL                                                 !2, !3
          9      > JMPZ                                                     ~9, ->12
   11    10    >   ECHO                                                     'True'
         11      > JMP                                                      ->13
   15    12    >   ECHO                                                     'false'
   16    13    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.29 ms | 1394 KiB | 15 Q