3v4l.org

run code in 300+ PHP versions simultaneously
<?php $listing = new stdClass; $listing->name = 'Test Location'; $results = [ 0 => [ 'address' => '123 Testing', 'name' => 'Test Location' ] ]; foreach($results AS $result) { if( strtolower($listing->name) === strtolower($result['name']) ) { } }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 7, Position 2 = 19
Branch analysis from position: 7
2 jumps found. (Code = 78) Position 1 = 8, Position 2 = 19
Branch analysis from position: 8
2 jumps found. (Code = 43) Position 1 = 18, Position 2 = 18
Branch analysis from position: 18
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
Branch analysis from position: 18
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 19
filename:       /in/QPZgT
function name:  (null)
number of ops:  21
compiled vars:  !0 = $listing, !1 = $results, !2 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $3      'stdClass'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $3
    4     3        ASSIGN_OBJ                                               !0, 'name'
          4        OP_DATA                                                  'Test+Location'
    6     5        ASSIGN                                                   !1, <array>
    8     6      > FE_RESET_R                                       $8      !1, ->19
          7    > > FE_FETCH_R                                               $8, !2, ->19
   10     8    >   INIT_FCALL                                               'strtolower'
          9        FETCH_OBJ_R                                      ~9      !0, 'name'
         10        SEND_VAL                                                 ~9
         11        DO_ICALL                                         $10     
         12        INIT_FCALL                                               'strtolower'
         13        FETCH_DIM_R                                      ~11     !2, 'name'
         14        SEND_VAL                                                 ~11
         15        DO_ICALL                                         $12     
         16        IS_IDENTICAL                                             $10, $12
         17      > JMPZ                                                     ~13, ->18
    8    18    > > JMP                                                      ->7
         19    >   FE_FREE                                                  $8
   15    20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.73 ms | 1395 KiB | 15 Q