3v4l.org

run code in 300+ PHP versions simultaneously
<?php $name = "阿什顿发生2031"; $master = "asfas"; var_dump(preg_match('/^' . $master . '\d{4}$/', $name));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/DPPQY
function name:  (null)
number of ops:  12
compiled vars:  !0 = $name, !1 = $master
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%E9%98%BF%E4%BB%80%E9%A1%BF%E5%8F%91%E7%94%9F2031'
    4     1        ASSIGN                                                   !1, 'asfas'
    5     2        INIT_FCALL                                               'var_dump'
          3        INIT_FCALL                                               'preg_match'
          4        CONCAT                                           ~4      '%2F%5E', !1
          5        CONCAT                                           ~5      ~4, '%5Cd%7B4%7D%24%2F'
          6        SEND_VAL                                                 ~5
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $6      
          9        SEND_VAR                                                 $6
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.26 ms | 1394 KiB | 17 Q