3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.25 ms | 1394 KiB | 17 Q