3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo 'Con 3 parole \n'; $row = 'ARTISTA - BRANO - ANNO'; \preg_match_all('/[a-zA-Z]+/', $row, $matches ); var_dump( $matches ); echo '\n'; echo 'Con 1 parola \n'; $row = 'ARTISTA -'; \preg_match_all('/[a-zA-Z]+/', $row, $matches ); var_dump( $matches );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/t4R7j
function name:  (null)
number of ops:  22
compiled vars:  !0 = $row, !1 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ECHO                                                     'Con+3+parole+%5Cn'
    4     1        ASSIGN                                                   !0, 'ARTISTA+-+BRANO+-+ANNO'
    5     2        INIT_FCALL                                               'preg_match_all'
          3        SEND_VAL                                                 '%2F%5Ba-zA-Z%5D%2B%2F'
          4        SEND_VAR                                                 !0
          5        SEND_REF                                                 !1
          6        DO_ICALL                                                 
    6     7        INIT_FCALL                                               'var_dump'
          8        SEND_VAR                                                 !1
          9        DO_ICALL                                                 
    7    10        ECHO                                                     '%5Cn'
    8    11        ECHO                                                     'Con+1+parola+%5Cn'
    9    12        ASSIGN                                                   !0, 'ARTISTA+-'
   10    13        INIT_FCALL                                               'preg_match_all'
         14        SEND_VAL                                                 '%2F%5Ba-zA-Z%5D%2B%2F'
         15        SEND_VAR                                                 !0
         16        SEND_REF                                                 !1
         17        DO_ICALL                                                 
   11    18        INIT_FCALL                                               'var_dump'
         19        SEND_VAR                                                 !1
         20        DO_ICALL                                                 
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.65 ms | 1395 KiB | 17 Q