3v4l.org

run code in 300+ PHP versions simultaneously
<?php $search=array( '/\bfr\b/u', '/\bs\.a\./u', '/\bs\.a\.r\.l\./u'); $replace=array(''); $nom="fr caissefr federale de credit s.A. mutuel 4 rue frédéric-guillaume raiffeisen 67000 frstrasbourg fr "; $nom=strtolower($nom); $nom=preg_replace($search, $replace, $nom); echo $nom;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3FfD9
function name:  (null)
number of ops:  15
compiled vars:  !0 = $search, !1 = $replace, !2 = $nom
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN                                                   !1, <array>
    5     2        ASSIGN                                                   !2, 'fr+caissefr+federale+de+credit+s.A.+mutuel+4+rue+fr%C3%A9d%C3%A9ric-guillaume+raiffeisen+67000+frstrasbourg+fr+'
    6     3        INIT_FCALL                                               'strtolower'
          4        SEND_VAR                                                 !2
          5        DO_ICALL                                         $6      
          6        ASSIGN                                                   !2, $6
    7     7        INIT_FCALL                                               'preg_replace'
          8        SEND_VAR                                                 !0
          9        SEND_VAR                                                 !1
         10        SEND_VAR                                                 !2
         11        DO_ICALL                                         $8      
         12        ASSIGN                                                   !2, $8
    8    13        ECHO                                                     !2
    9    14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.38 ms | 1010 KiB | 15 Q