3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "ann@ibbeck.de,Petermann@ibbeck.de"; echo $str = preg_replace('/ann@ibbeck.de,\b/i', '"kan"', $str); echo $str = preg_replace('/Petermann@ibbeck.de\b/i', '"AP"', $str); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lMsr5
function name:  (null)
number of ops:  16
compiled vars:  !0 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'ann%40ibbeck.de%2CPetermann%40ibbeck.de'
    4     1        INIT_FCALL                                               'preg_replace'
          2        SEND_VAL                                                 '%2Fann%40ibbeck.de%2C%5Cb%2Fi'
          3        SEND_VAL                                                 '%22kan%22'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $2      
          6        ASSIGN                                           ~3      !0, $2
          7        ECHO                                                     ~3
    5     8        INIT_FCALL                                               'preg_replace'
          9        SEND_VAL                                                 '%2FPetermann%40ibbeck.de%5Cb%2Fi'
         10        SEND_VAL                                                 '%22AP%22'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                         $4      
         13        ASSIGN                                           ~5      !0, $4
         14        ECHO                                                     ~5
    7    15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.73 ms | 1394 KiB | 15 Q