3v4l.org

run code in 300+ PHP versions simultaneously
<?php $result = (preg_match("/^\/[A-Za-z]*$/", '/cerritosfordlincoln')); var_dump($result);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/A7qUV
function name:  (null)
number of ops:  9
compiled vars:  !0 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'preg_match'
          1        SEND_VAL                                                 '%2F%5E%5C%2F%5BA-Za-z%5D%2A%24%2F'
          2        SEND_VAL                                                 '%2Fcerritosfordlincoln'
          3        DO_ICALL                                         $1      
          4        ASSIGN                                                   !0, $1
    3     5        INIT_FCALL                                               'var_dump'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.91 ms | 1393 KiB | 17 Q