3v4l.org

run code in 300+ PHP versions simultaneously
<?php $students=array( "name"=>array("akash","jag", "rahul"), "id"=>array(01,02,03), "age"=>array(22,22,22), ); /*print_r($students); unset($students["name"][0]); print_r($students);*/ //print_r(array_values($students)); //print_r(array_keys($students)); $key=array_search("akash", $students);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rZYdT
function name:  (null)
number of ops:  7
compiled vars:  !0 = $students, !1 = $key
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   13     1        INIT_FCALL                                               'array_search'
          2        SEND_VAL                                                 'akash'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $3      
          5        ASSIGN                                                   !1, $3
          6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.5 ms | 1393 KiB | 15 Q