3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i='1'; var_dump($b = $i); if (is_string($b = $i)) { echo 'ok'; }
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/lr3qn
function name:  (null)
number of ops:  10
compiled vars:  !0 = $i, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '1'
    4     1        INIT_FCALL                                               'var_dump'
          2        ASSIGN                                           ~3      !1, !0
          3        SEND_VAL                                                 ~3
          4        DO_ICALL                                                 
    5     5        ASSIGN                                           ~5      !1, !0
          6        TYPE_CHECK                                   64          ~5
          7      > JMPZ                                                     ~6, ->9
    6     8    >   ECHO                                                     'ok'
    7     9    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.05 ms | 1394 KiB | 15 Q