3v4l.org

run code in 300+ PHP versions simultaneously
<?php $needle = NULL; $heystack = array(1,2,3); $a = aray_search($needle, $heystack);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/D8dhP
function name:  (null)
number of ops:  8
compiled vars:  !0 = $needle, !1 = $heystack, !2 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, null
    3     1        ASSIGN                                                   !1, <array>
    4     2        INIT_FCALL_BY_NAME                                       'aray_search'
          3        SEND_VAR_EX                                              !0
          4        SEND_VAR_EX                                              !1
          5        DO_FCALL                                      0  $5      
          6        ASSIGN                                                   !2, $5
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.07 ms | 1392 KiB | 13 Q