3v4l.org

run code in 300+ PHP versions simultaneously
<?php $element->title->setAttrib('placeholder', $this->translator($element->title->getAttribs()['placeholder']));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/P9h35
function name:  (null)
number of ops:  16
compiled vars:  !0 = $element
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   FETCH_OBJ_R                                      ~1      !0, 'title'
          1        INIT_METHOD_CALL                                         ~1, 'setAttrib'
          2        SEND_VAL_EX                                              'placeholder'
          3        FETCH_THIS                                       $2      
          4        INIT_METHOD_CALL                                         $2, 'translator'
          5        CHECK_FUNC_ARG                                           
          6        FETCH_OBJ_R                                      ~3      !0, 'title'
          7        INIT_METHOD_CALL                                         ~3, 'getAttribs'
          8        DO_FCALL                                      0  $4      
          9        SEPARATE                                         $4      $4
         10        FETCH_DIM_FUNC_ARG                               $5      $4, 'placeholder'
         11        SEND_FUNC_ARG                                            $5
         12        DO_FCALL                                      0  $6      
         13        SEND_VAR_NO_REF_EX                                       $6
         14        DO_FCALL                                      0          
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.58 ms | 1393 KiB | 13 Q