3v4l.org

run code in 300+ PHP versions simultaneously
<?php $code = "CFnoso2015DENS"; $regex = "^(CFnoso2015)[A-Z]{2}(NS)$"; echo preg_match($regex, $code) === 1;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ENj88
function name:  (null)
number of ops:  9
compiled vars:  !0 = $code, !1 = $regex
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'CFnoso2015DENS'
    3     1        ASSIGN                                                   !1, '%5E%28CFnoso2015%29%5BA-Z%5D%7B2%7D%28NS%29%24'
    4     2        INIT_FCALL                                               'preg_match'
          3        SEND_VAR                                                 !1
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $4      
          6        IS_IDENTICAL                                     ~5      $4, 1
          7        ECHO                                                     ~5
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.55 ms | 1393 KiB | 15 Q