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) { print_r($result); /* if( strtolower($listing->name) === strtolower($result['name']) ) { die($result); } */ }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 7, Position 2 = 12
Branch analysis from position: 7
2 jumps found. (Code = 78) Position 1 = 8, Position 2 = 12
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
filename:       /in/7o0Us
function name:  (null)
number of ops:  14
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, ->12
          7    > > FE_FETCH_R                                               $8, !2, ->12
   10     8    >   INIT_FCALL                                               'print_r'
          9        SEND_VAR                                                 !2
         10        DO_ICALL                                                 
    8    11      > JMP                                                      ->7
         12    >   FE_FREE                                                  $8
   17    13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.83 ms | 1394 KiB | 15 Q