3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_customAttrHelper = $this->helper('clarion_customerattribute/customerattribute'); $_attributeCollection = $_customAttrHelper->getUserDefinedAttribures(); $_showCustomAttr = false; foreach ($_attributeCollection as $_attribute): $_showCustomAttr = $_showCustomAttr || $_customAttrHelper->isAttribureForCustomerAccountEdit($_attribute->getAttributeCode()); endforeach; if ($_showCustomAttr): endif;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 10, Position 2 = 20
Branch analysis from position: 10
2 jumps found. (Code = 78) Position 1 = 11, Position 2 = 20
Branch analysis from position: 11
2 jumps found. (Code = 47) Position 1 = 12, Position 2 = 18
Branch analysis from position: 12
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
Branch analysis from position: 18
Branch analysis from position: 20
2 jumps found. (Code = 43) Position 1 = 22, Position 2 = 22
Branch analysis from position: 22
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 22
Branch analysis from position: 20
filename:       /in/mHcoC
function name:  (null)
number of ops:  23
compiled vars:  !0 = $_customAttrHelper, !1 = $_attributeCollection, !2 = $_showCustomAttr, !3 = $_attribute
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   FETCH_THIS                                       $4      
          1        INIT_METHOD_CALL                                         $4, 'helper'
          2        SEND_VAL_EX                                              'clarion_customerattribute%2Fcustomerattribute'
          3        DO_FCALL                                      0  $5      
          4        ASSIGN                                                   !0, $5
    3     5        INIT_METHOD_CALL                                         !0, 'getUserDefinedAttribures'
          6        DO_FCALL                                      0  $7      
          7        ASSIGN                                                   !1, $7
    5     8        ASSIGN                                                   !2, <false>
    6     9      > FE_RESET_R                                       $10     !1, ->20
         10    > > FE_FETCH_R                                               $10, !3, ->20
    7    11    > > JMPNZ_EX                                         ~11     !2, ->18
         12    >   INIT_METHOD_CALL                                         !0, 'isAttribureForCustomerAccountEdit'
         13        INIT_METHOD_CALL                                         !3, 'getAttributeCode'
         14        DO_FCALL                                      0  $12     
         15        SEND_VAR_NO_REF_EX                                       $12
         16        DO_FCALL                                      0  $13     
         17        BOOL                                             ~11     $13
         18    >   ASSIGN                                                   !2, ~11
    6    19      > JMP                                                      ->10
         20    >   FE_FREE                                                  $10
   10    21      > JMPZ                                                     !2, ->22
   11    22    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.51 ms | 1394 KiB | 13 Q