3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sString = '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'; /*$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);*/ $string = preg_replace('/\s+/', ' ', $sString); echo $string; $aWords = explode(' ', $string); print_r($aWords);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JuKfP
function name:  (null)
number of ops:  17
compiled vars:  !0 = $sString, !1 = $string, !2 = $aWords
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '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'
   10     1        INIT_FCALL                                               'preg_replace'
          2        SEND_VAL                                                 '%2F%5Cs%2B%2F'
          3        SEND_VAL                                                 '+'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $4      
          6        ASSIGN                                                   !1, $4
   12     7        ECHO                                                     !1
   16     8        INIT_FCALL                                               'explode'
          9        SEND_VAL                                                 '+'
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                         $6      
         12        ASSIGN                                                   !2, $6
   20    13        INIT_FCALL                                               'print_r'
         14        SEND_VAR                                                 !2
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.23 ms | 1394 KiB | 19 Q