3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $array = array( 0 => 'x', 1 => 'y', 2 => 'z', ); echo $array[false]; echo $array[null];
based on FWXWg
Finding entry points
Branch analysis from position: 0
Jump found. (Code = 62) Position 1 = -2
filename:       /in/2R9gj
function name:  (null)
number of ops:  6
compiled vars:  !0 = $array
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   4     0  E >   ASSIGN                                                   !0, <array>
   9     1        FETCH_DIM_R                                      $2      !0, <false>
         2        ECHO                                                     $2
  10     3        FETCH_DIM_R                                      $3      !0, null
         4        ECHO                                                     $3
         5      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.2.0