3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump((bool)preg_match("/^\d{2}-\d{3}$/u", '81-723'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/UCCDF
function name:  (null)
number of ops:  9
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'preg_match'
          2        SEND_VAL                                                 '%2F%5E%5Cd%7B2%7D-%5Cd%7B3%7D%24%2Fu'
          3        SEND_VAL                                                 '81-723'
          4        DO_ICALL                                         $0      
          5        BOOL                                             ~1      $0
          6        SEND_VAL                                                 ~1
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.47 ms | 1393 KiB | 17 Q