3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_match( '/(\d) de (enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre) de \d{4}/', 'hola hoy es 4 de enero de 1988', $matches); echo $matches; // 1234
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZspbA
function name:  (null)
number of ops:  7
compiled vars:  !0 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'preg_match'
          1        SEND_VAL                                                 '%2F%28%5Cd%29+de+%28enero%7Cfebrero%7Cmarzo%7Cabril%7Cmayo%7Cjunio%7Cjulio%7Cagosto%7Cseptiembre%7Coctubre%7Cnoviembre%7Cdiciembre%29+de+%5Cd%7B4%7D%2F'
          2        SEND_VAL                                                 'hola+hoy+es+4+de+enero+de+1988'
          3        SEND_REF                                                 !0
          4        DO_ICALL                                                 
    3     5        ECHO                                                     !0
          6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.94 ms | 1394 KiB | 15 Q