3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var = 'foo' + 0; assert(is_int($var)); var_dump($var);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/v06ka
function name:  (null)
number of ops:  12
compiled vars:  !0 = $var
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ADD                                              ~1      'foo', 0
          1        ASSIGN                                                   !0, ~1
    5     2        ASSERT_CHECK                                             
          3        INIT_FCALL                                               'assert'
          4        TYPE_CHECK                                   16  ~3      !0
          5        SEND_VAL                                                 ~3
          6        SEND_VAL                                                 'assert%28is_int%28%24var%29%29'
          7        DO_ICALL                                                 
    6     8        INIT_FCALL                                               'var_dump'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.68 ms | 1394 KiB | 17 Q