3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sString = ' Bonjour, M.Gombert N°06737401 Récréditation : Demande N°17217851 du 10/12/13 (N° de tel erroné Mail sans réponse) Je vous est prévenu le 15/12/13 M.Gombert '; $sString = str_replace("\n", "", $sString); $sString = str_replace("\t", "", $sString); $sString = str_replace("\v", "", $sString); $sString = str_replace("\r", "", $sString); $sString = preg_replace('/{.*}/', '', $sString); // CSS? $sString = preg_replace('/[^a-zA-ZÀ-ÿ0-9]+/', " ", $sString); $sString = trim($sString); echo "****". $sString . "****"; $string = 'v Bonjour  M GombertN°06737401 Récréditation Demande N°17217851 du 10 12 13  N° de tel erroné  Mail sans réponse Je vous est prévenu le 15 12 13 M Gombert'; $output = preg_replace("/[[:blank:]]+/"," ",$string); echo $output; $aWords = explode(' ', $output); print_r($aWords);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/XHGpP
function name:  (null)
number of ops:  61
compiled vars:  !0 = $sString, !1 = $string, !2 = $output, !3 = $aWords
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%0ABonjour%2C%0A+%0AM.Gombert%0AN%C2%B006737401%0A+%0AR%C3%A9cr%C3%A9ditation+%3A%0ADemande+N%C2%B017217851+du+10%2F12%2F13++%28N%C2%B0+de+tel+erron%C3%A9++Mail+sans+r%C3%A9ponse%29%0AJe+vous+est+pr%C3%A9venu+le+15%2F12%2F13%0A+%0AM.Gombert%0A'
   15     1        INIT_FCALL                                               'str_replace'
          2        SEND_VAL                                                 '%0A'
          3        SEND_VAL                                                 ''
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $5      
          6        ASSIGN                                                   !0, $5
   16     7        INIT_FCALL                                               'str_replace'
          8        SEND_VAL                                                 '%09'
          9        SEND_VAL                                                 ''
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                         $7      
         12        ASSIGN                                                   !0, $7
   17    13        INIT_FCALL                                               'str_replace'
         14        SEND_VAL                                                 '%0B'
         15        SEND_VAL                                                 ''
         16        SEND_VAR                                                 !0
         17        DO_ICALL                                         $9      
         18        ASSIGN                                                   !0, $9
   18    19        INIT_FCALL                                               'str_replace'
         20        SEND_VAL                                                 '%0D'
         21        SEND_VAL                                                 ''
         22        SEND_VAR                                                 !0
         23        DO_ICALL                                         $11     
         24        ASSIGN                                                   !0, $11
   19    25        INIT_FCALL                                               'preg_replace'
         26        SEND_VAL                                                 '%2F%7B.%2A%7D%2F'
         27        SEND_VAL                                                 ''
         28        SEND_VAR                                                 !0
         29        DO_ICALL                                         $13     
         30        ASSIGN                                                   !0, $13
   20    31        INIT_FCALL                                               'preg_replace'
         32        SEND_VAL                                                 '%2F%5B%5Ea-zA-Z%C3%80-%C3%BF0-9%5D%2B%2F'
         33        SEND_VAL                                                 '+'
         34        SEND_VAR                                                 !0
         35        DO_ICALL                                         $15     
         36        ASSIGN                                                   !0, $15
   21    37        INIT_FCALL                                               'trim'
         38        SEND_VAR                                                 !0
         39        DO_ICALL                                         $17     
         40        ASSIGN                                                   !0, $17
   24    41        CONCAT                                           ~19     '%2A%2A%2A%2A', !0
         42        CONCAT                                           ~20     ~19, '%2A%2A%2A%2A'
         43        ECHO                                                     ~20
   25    44        ASSIGN                                                   !1, 'v+Bonjour+%C2%A0M+GombertN%C2%B006737401%C2%A0R%C3%A9cr%C3%A9ditation+Demande+N%C2%B017217851+du+10+12+13%C2%A0+N%C2%B0+de+tel+erron%C3%A9%C2%A0+Mail+sans+r%C3%A9ponse+Je+vous+est+pr%C3%A9venu+le+15+12+13%C2%A0M+Gombert'
   30    45        INIT_FCALL                                               'preg_replace'
         46        SEND_VAL                                                 '%2F%5B%5B%3Ablank%3A%5D%5D%2B%2F'
         47        SEND_VAL                                                 '+'
         48        SEND_VAR                                                 !1
         49        DO_ICALL                                         $22     
         50        ASSIGN                                                   !2, $22
   32    51        ECHO                                                     !2
   36    52        INIT_FCALL                                               'explode'
         53        SEND_VAL                                                 '+'
         54        SEND_VAR                                                 !2
         55        DO_ICALL                                         $24     
         56        ASSIGN                                                   !3, $24
   40    57        INIT_FCALL                                               'print_r'
         58        SEND_VAR                                                 !3
         59        DO_ICALL                                                 
         60      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.48 ms | 1400 KiB | 23 Q