3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); $string = 'Niranjan'; $arr = array('id' => strlen); echo $arr['id']($string);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/eZ05E
function name:  (null)
number of ops:  13
compiled vars:  !0 = $string, !1 = $arr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'error_reporting'
          1        SEND_VAL                                                 32767
          2        DO_ICALL                                                 
    4     3        ASSIGN                                                   !0, 'Niranjan'
    6     4        FETCH_CONSTANT                                   ~4      'strlen'
          5        INIT_ARRAY                                       ~5      ~4, 'id'
          6        ASSIGN                                                   !1, ~5
    8     7        FETCH_DIM_R                                      ~7      !1, 'id'
          8        INIT_DYNAMIC_CALL                                        ~7
          9        SEND_VAR_EX                                              !0
         10        DO_FCALL                                      0  $8      
         11        ECHO                                                     $8
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.65 ms | 1394 KiB | 15 Q