3v4l.org

run code in 300+ PHP versions simultaneously
<?php $property_service_labels = $customer['Location']['MasterLocation']['PropertyService']; foreach($property_service_labels as $psl) { $psl_label = $psl['service_type_label']; } $this->set( 'PropertyServiceLabel', $psl_label[0]['service_type_label']);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 5, Position 2 = 9
Branch analysis from position: 5
2 jumps found. (Code = 78) Position 1 = 6, Position 2 = 9
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
filename:       /in/7OEsb
function name:  (null)
number of ops:  19
compiled vars:  !0 = $property_service_labels, !1 = $customer, !2 = $psl, !3 = $psl_label
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   FETCH_DIM_R                                      ~4      !1, 'Location'
          1        FETCH_DIM_R                                      ~5      ~4, 'MasterLocation'
          2        FETCH_DIM_R                                      ~6      ~5, 'PropertyService'
          3        ASSIGN                                                   !0, ~6
    3     4      > FE_RESET_R                                       $8      !0, ->9
          5    > > FE_FETCH_R                                               $8, !2, ->9
    4     6    >   FETCH_DIM_R                                      ~9      !2, 'service_type_label'
          7        ASSIGN                                                   !3, ~9
    3     8      > JMP                                                      ->5
          9    >   FE_FREE                                                  $8
    6    10        FETCH_THIS                                       $11     
         11        INIT_METHOD_CALL                                         $11, 'set'
         12        SEND_VAL_EX                                              'PropertyServiceLabel'
         13        CHECK_FUNC_ARG                                           
         14        FETCH_DIM_FUNC_ARG                               $12     !3, 0
         15        FETCH_DIM_FUNC_ARG                               $13     $12, 'service_type_label'
         16        SEND_FUNC_ARG                                            $13
         17        DO_FCALL                                      0          
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.92 ms | 1393 KiB | 13 Q