3v4l.org

run code in 500+ PHP versions simultaneously
<?php $int = 789; $nbytestr = '123'; $bytestr = 'ABC'; var_dump($nbytestr | $bytestr); var_dump($int | $nbytestr); var_dump($int | $bytestr);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/W582TN
function name:  (null)
number of ops:  16
compiled vars:  !0 = $int, !1 = $nbytestr, !2 = $bytestr
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, 789
    4     1        ASSIGN                                                       !1, '123'
    5     2        ASSIGN                                                       !2, 'ABC'
    7     3        INIT_FCALL                                                   'var_dump'
          4        BW_OR                                                ~6      !1, !2
          5        SEND_VAL                                                     ~6
          6        DO_ICALL                                                     
    8     7        INIT_FCALL                                                   'var_dump'
          8        BW_OR                                                ~8      !0, !1
          9        SEND_VAL                                                     ~8
         10        DO_ICALL                                                     
    9    11        INIT_FCALL                                                   'var_dump'
         12        BW_OR                                                ~10     !0, !2
         13        SEND_VAL                                                     ~10
         14        DO_ICALL                                                     
         15      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
222.24 ms | 1605 KiB | 14 Q