3v4l.org

run code in 500+ PHP versions simultaneously
<?php $string = 'SEQ-900000'; var_export( (bool)preg_match( '~^(?:SEQ|ABC|MHT)-[69]\d*$~', $string ) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6QJaq
function name:  (null)
number of ops:  7
compiled vars:  !0 = $string
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, 'SEQ-900000'
    5     1        INIT_FCALL                                                   'var_export'
    6     2        FRAMELESS_ICALL_2                preg_match          ~2      '%7E%5E%28%3F%3ASEQ%7CABC%7CMHT%29-%5B69%5D%5Cd%2A%24%7E', !0
    8     3        BOOL                                                 ~3      ~2
          4        SEND_VAL                                                     ~3
    5     5        DO_ICALL                                                     
   10     6      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
165.34 ms | 1877 KiB | 14 Q