3v4l.org

run code in 300+ PHP versions simultaneously
<?php $keyword_reports_data['interne'] = [ 'Google.ca - Canada' => [], 'Google.com - USA' => [] ]; foreach ($keyword_reports_data['interne'] as $key => $value) { if (preg_match('/Google.ca/', $key)) { echo "hi " ;exit; } else { echo "not exist ";exit; } }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 4, Position 2 = 17
Branch analysis from position: 4
2 jumps found. (Code = 78) Position 1 = 5, Position 2 = 17
Branch analysis from position: 5
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 14
Branch analysis from position: 11
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 14
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
filename:       /in/CcMt7
function name:  (null)
number of ops:  19
compiled vars:  !0 = $keyword_reports_data, !1 = $value, !2 = $key
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN_DIM                                               !0, 'interne'
    4     1        OP_DATA                                                  <array>
    8     2        FETCH_DIM_R                                      ~4      !0, 'interne'
          3      > FE_RESET_R                                       $5      ~4, ->17
          4    > > FE_FETCH_R                                       ~6      $5, !1, ->17
          5    >   ASSIGN                                                   !2, ~6
    9     6        INIT_FCALL                                               'preg_match'
          7        SEND_VAL                                                 '%2FGoogle.ca%2F'
          8        SEND_VAR                                                 !2
          9        DO_ICALL                                         $8      
         10      > JMPZ                                                     $8, ->14
   10    11    >   ECHO                                                     'hi+'
         12      > EXIT                                                     
    9    13*       JMP                                                      ->16
   13    14    >   ECHO                                                     'not+exist+'
         15      > EXIT                                                     
    8    16*       JMP                                                      ->4
         17    >   FE_FREE                                                  $5
   15    18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.13 ms | 1010 KiB | 14 Q