3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = '123'; $a = null; if ( is_string( $a ) ) echo var_export($x, true);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 9
Branch analysis from position: 4
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
filename:       /in/YlrTO
function name:  (null)
number of ops:  10
compiled vars:  !0 = $x, !1 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '123'
    3     1        ASSIGN                                                   !1, null
    4     2        TYPE_CHECK                                   64          !1
          3      > JMPZ                                                     ~4, ->9
    5     4    >   INIT_FCALL                                               'var_export'
          5        SEND_VAR                                                 !0
          6        SEND_VAL                                                 <true>
          7        DO_ICALL                                         $5      
          8        ECHO                                                     $5
          9    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
270.04 ms | 1394 KiB | 16 Q