3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.1 ms | 1394 KiB | 15 Q