3v4l.org

run code in 500+ PHP versions simultaneously
<?php if (!preg_match('#^[a-zA-Z]+[a-zA-Z0-9_]*$#', 'jkahsdk')) { echo 'error'; } else { echo 'ok'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 5
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/SD0XE
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   FRAMELESS_ICALL_2                preg_match          ~0      '%23%5E%5Ba-zA-Z%5D%2B%5Ba-zA-Z0-9_%5D%2A%24%23', 'jkahsdk'
          1        BOOL_NOT                                             ~1      ~0
          2      > JMPZ                                                         ~1, ->5
    5     3    >   ECHO                                                         'error'
    3     4      > JMP                                                          ->6
    9     5    >   ECHO                                                         'ok'
   10     6    > > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
159.48 ms | 2059 KiB | 14 Q