3v4l.org

run code in 300+ PHP versions simultaneously
<?php $row['addressLine1'] = 'Warsaw'; if (preg_match('/^[A-Za-z0-9]+$/', $row['addressLine1']) == 1) { echo $row['addressLine1'].'<br/>'; } else { echo 'no match'.'<br/>'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 13
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/bXQlM
function name:  (null)
number of ops:  15
compiled vars:  !0 = $row
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN_DIM                                               !0, 'addressLine1'
          1        OP_DATA                                                  'Warsaw'
    3     2        INIT_FCALL                                               'preg_match'
          3        SEND_VAL                                                 '%2F%5E%5BA-Za-z0-9%5D%2B%24%2F'
          4        FETCH_DIM_R                                      ~2      !0, 'addressLine1'
          5        SEND_VAL                                                 ~2
          6        DO_ICALL                                         $3      
          7        IS_EQUAL                                                 $3, 1
          8      > JMPZ                                                     ~4, ->13
    4     9    >   FETCH_DIM_R                                      ~5      !0, 'addressLine1'
         10        CONCAT                                           ~6      ~5, '%3Cbr%2F%3E'
         11        ECHO                                                     ~6
    3    12      > JMP                                                      ->14
    7    13    >   ECHO                                                     'no+match%3Cbr%2F%3E'
    8    14    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.11 ms | 1425 KiB | 14 Q