3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = 0.00; $bar = 'flo'; $baz = '0.1'; foreach([$foo, $bar, $baz] as $quux){ $qwe = is_null($quux); var_dump($qwe); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 7, Position 2 = 14
Branch analysis from position: 7
2 jumps found. (Code = 78) Position 1 = 8, Position 2 = 14
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
filename:       /in/I2jS9
function name:  (null)
number of ops:  16
compiled vars:  !0 = $foo, !1 = $bar, !2 = $baz, !3 = $quux, !4 = $qwe
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 0
    4     1        ASSIGN                                                   !1, 'flo'
    5     2        ASSIGN                                                   !2, '0.1'
    7     3        INIT_ARRAY                                       ~8      !0
          4        ADD_ARRAY_ELEMENT                                ~8      !1
          5        ADD_ARRAY_ELEMENT                                ~8      !2
          6      > FE_RESET_R                                       $9      ~8, ->14
          7    > > FE_FETCH_R                                               $9, !3, ->14
    8     8    >   TYPE_CHECK                                    2  ~10     !3
          9        ASSIGN                                                   !4, ~10
    9    10        INIT_FCALL                                               'var_dump'
         11        SEND_VAR                                                 !4
         12        DO_ICALL                                                 
    7    13      > JMP                                                      ->7
         14    >   FE_FREE                                                  $9
   10    15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
180.44 ms | 1395 KiB | 15 Q