3v4l.org

run code in 300+ PHP versions simultaneously
<?php $comentario = 'message = "El nombre no puede estar vacĂ­o"'; preg_match_all( '/(?P<nombre>\w+)\s*=\s*\"(.+)\"\s*/m', $comentario, $assert ); //preg_match_all( '/(?P<nombre>\w+)/m', $comentario, $assert ); //preg_match_all( '/Assert\\\(?P<nombre>\w+)\((?P<parametros>\w+)\)\s*/m', $comentario, $assert ); //var_dump($assert); var_dump($assert); var_dump($comentario);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JZB6g
function name:  (null)
number of ops:  13
compiled vars:  !0 = $comentario, !1 = $assert
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'message+%3D+%22El+nombre+no+puede+estar+vac%C3%ADo%22'
    4     1        INIT_FCALL                                               'preg_match_all'
          2        SEND_VAL                                                 '%2F%28%3FP%3Cnombre%3E%5Cw%2B%29%5Cs%2A%3D%5Cs%2A%5C%22%28.%2B%29%5C%22%5Cs%2A%2Fm'
          3        SEND_VAR                                                 !0
          4        SEND_REF                                                 !1
          5        DO_ICALL                                                 
    8     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                                 
    9     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.29 ms | 1385 KiB | 17 Q