3v4l.org

run code in 300+ PHP versions simultaneously
<?php $people = array( array('Bob', 'Wilson'), array('Jill', 'Thompson'), array('Penny', 'Smith'), array('Hugh', 'Carr') ); $find = array_search('Penny', $people[0]); print_r($find);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/anFsX
function name:  (null)
number of ops:  11
compiled vars:  !0 = $people, !1 = $find
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   10     1        INIT_FCALL                                               'array_search'
          2        SEND_VAL                                                 'Penny'
          3        FETCH_DIM_R                                      ~3      !0, 0
          4        SEND_VAL                                                 ~3
          5        DO_ICALL                                         $4      
          6        ASSIGN                                                   !1, $4
   11     7        INIT_FCALL                                               'print_r'
          8        SEND_VAR                                                 !1
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.23 ms | 1394 KiB | 17 Q