3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.62 ms | 1394 KiB | 13 Q