3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data[] = null; foreach($data as $value) { echo "is_null ( ", var_export($value, true), " = ", is_null($value), "<br/>"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 3, Position 2 = 15
Branch analysis from position: 3
2 jumps found. (Code = 78) Position 1 = 4, Position 2 = 15
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 3
Branch analysis from position: 3
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
filename:       /in/2cYS9
function name:  (null)
number of ops:  17
compiled vars:  !0 = $data, !1 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN_DIM                                               !0
          1        OP_DATA                                                  null
    5     2      > FE_RESET_R                                       $3      !0, ->15
          3    > > FE_FETCH_R                                               $3, !1, ->15
    7     4    >   ECHO                                                     'is_null+%28+'
          5        INIT_FCALL                                               'var_export'
          6        SEND_VAR                                                 !1
          7        SEND_VAL                                                 <true>
          8        DO_ICALL                                         $4      
          9        ECHO                                                     $4
         10        ECHO                                                     '+%3D+'
         11        TYPE_CHECK                                    2  ~5      !1
         12        ECHO                                                     ~5
         13        ECHO                                                     '%3Cbr%2F%3E'
    5    14      > JMP                                                      ->3
         15    >   FE_FREE                                                  $3
    8    16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.78 ms | 1395 KiB | 15 Q