3v4l.org

run code in 300+ PHP versions simultaneously
<?php $street = 'Hans-Wurst-Straße 1'; $streetNo = '1'; var_dump(preg_match('@('.$streetNo.')$@i', $street));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/nmGj2
function name:  (null)
number of ops:  12
compiled vars:  !0 = $street, !1 = $streetNo
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'Hans-Wurst-Stra%C3%9Fe+1'
    4     1        ASSIGN                                                   !1, '1'
    6     2        INIT_FCALL                                               'var_dump'
          3        INIT_FCALL                                               'preg_match'
          4        CONCAT                                           ~4      '%40%28', !1
          5        CONCAT                                           ~5      ~4, '%29%24%40i'
          6        SEND_VAL                                                 ~5
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $6      
          9        SEND_VAR                                                 $6
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.94 ms | 1394 KiB | 17 Q