3v4l.org

run code in 300+ PHP versions simultaneously
<? $x = "jasldfns"; $i = strlen($x); echo preg_match('~[0-9a-zA-Z]{$i}~', $x); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Evmgc
function name:  (null)
number of ops:  9
compiled vars:  !0 = $x, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'jasldfns'
    3     1        STRLEN                                           ~3      !0
          2        ASSIGN                                                   !1, ~3
    4     3        INIT_FCALL                                               'preg_match'
          4        SEND_VAL                                                 '%7E%5B0-9a-zA-Z%5D%7B%24i%7D%7E'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $5      
          7        ECHO                                                     $5
    5     8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.92 ms | 941 KiB | 17 Q