3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( preg_match('/^(\d{1,2})\D(\d{1,2})\D(\d{4})$/', '23/04/2015', $matches) ); var_dump( $matches );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/CXQYL
function name:  (null)
number of ops:  12
compiled vars:  !0 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'preg_match'
          2        SEND_VAL                                                 '%2F%5E%28%5Cd%7B1%2C2%7D%29%5CD%28%5Cd%7B1%2C2%7D%29%5CD%28%5Cd%7B4%7D%29%24%2F'
          3        SEND_VAL                                                 '23%2F04%2F2015'
          4        SEND_REF                                                 !0
          5        DO_ICALL                                         $1      
          6        SEND_VAR                                                 $1
          7        DO_ICALL                                                 
    4     8        INIT_FCALL                                               'var_dump'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.89 ms | 1394 KiB | 17 Q