3v4l.org

run code in 300+ PHP versions simultaneously
<?php $v1 = ord(' ') - ord('B'); $v2 = strcmp(' ', 'B'); echo $v1.' '.$v2; if($v1 === $v2) { echo 'True'; }
Finding entry points
Branch analysis from position: 0
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
filename:       /in/N4QdO
function name:  (null)
number of ops:  13
compiled vars:  !0 = $v1, !1 = $v2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, -34
    4     1        INIT_FCALL                                               'strcmp'
          2        SEND_VAL                                                 '+'
          3        SEND_VAL                                                 'B'
          4        DO_ICALL                                         $3      
          5        ASSIGN                                                   !1, $3
    6     6        CONCAT                                           ~5      !0, '+'
          7        CONCAT                                           ~6      ~5, !1
          8        ECHO                                                     ~6
    7     9        IS_IDENTICAL                                             !0, !1
         10      > JMPZ                                                     ~7, ->12
    8    11    >   ECHO                                                     'True'
    9    12    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.69 ms | 1394 KiB | 15 Q