3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ez = array( 'ez5' => 'ez', 'ez4' => 'ez', 'ez3' => 'ez', 'ez2' => 'ez', 'ez1' => 'ez', ); function lmao( $key, $val ) { return "$key$val"; } echo array_map( 'lmao', array_keys( $ez ), $ez );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/8fhs4
function name:  (null)
number of ops:  11
compiled vars:  !0 = $ez
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   15     1        INIT_FCALL                                               'array_map'
          2        SEND_VAL                                                 'lmao'
          3        INIT_FCALL                                               'array_keys'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $2      
          6        SEND_VAR                                                 $2
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $3      
          9        ECHO                                                     $3
         10      > RETURN                                                   1

Function lmao:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/8fhs4
function name:  lmao
number of ops:  6
compiled vars:  !0 = $key, !1 = $val
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   RECV                                             !0      
          1        RECV                                             !1      
   12     2        NOP                                                      
          3        FAST_CONCAT                                      ~2      !0, !1
          4      > RETURN                                                   ~2
   13     5*     > RETURN                                                   null

End of function lmao

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.54 ms | 1395 KiB | 17 Q