3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo preg_match('/[a-z]*/', '.'); echo preg_match('/^[a-z]*$/', '.');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/90ZAV
function name:  (null)
number of ops:  11
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'preg_match'
          1        SEND_VAL                                                 '%2F%5Ba-z%5D%2A%2F'
          2        SEND_VAL                                                 '.'
          3        DO_ICALL                                         $0      
          4        ECHO                                                     $0
    4     5        INIT_FCALL                                               'preg_match'
          6        SEND_VAL                                                 '%2F%5E%5Ba-z%5D%2A%24%2F'
          7        SEND_VAL                                                 '.'
          8        DO_ICALL                                         $1      
          9        ECHO                                                     $1
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.92 ms | 1394 KiB | 15 Q