3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array("x" => 1, "y" => 2, "width" => 3, "height" => 5); var_dump(hphp_array_idx($arr,"x",233)); var_dump(hphp_array_idx($arr,"z",233));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/8ImCT
function name:  (null)
number of ops:  18
compiled vars:  !0 = $arr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        INIT_FCALL                                               'var_dump'
          2        INIT_FCALL_BY_NAME                                       'hphp_array_idx'
          3        SEND_VAR_EX                                              !0
          4        SEND_VAL_EX                                              'x'
          5        SEND_VAL_EX                                              233
          6        DO_FCALL                                      0  $2      
          7        SEND_VAR                                                 $2
          8        DO_ICALL                                                 
    4     9        INIT_FCALL                                               'var_dump'
         10        INIT_FCALL_BY_NAME                                       'hphp_array_idx'
         11        SEND_VAR_EX                                              !0
         12        SEND_VAL_EX                                              'z'
         13        SEND_VAL_EX                                              233
         14        DO_FCALL                                      0  $4      
         15        SEND_VAR                                                 $4
         16        DO_ICALL                                                 
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.95 ms | 1394 KiB | 15 Q