3v4l.org

run code in 300+ PHP versions simultaneously
<?php $controllerName = 'a:'; var_dump(preg_match('/^[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*$/D', $controllerName)); eval('class '.$controllerName.' {}'); exit;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 79) Position 1 = -2
filename:       /in/uRYqm
function name:  (null)
number of ops:  13
compiled vars:  !0 = $controllerName
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'a%3A'
    4     1        INIT_FCALL                                               'var_dump'
          2        INIT_FCALL                                               'preg_match'
          3        SEND_VAL                                                 '%2F%5E%5Ba-zA-Z_%5Cx7f-%5Cxff%5D%5Ba-zA-Z0-9_%5Cx7f-%5Cxff%5D%2A%24%2FD'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $2      
          6        SEND_VAR                                                 $2
          7        DO_ICALL                                                 
    5     8        CONCAT                                           ~4      'class+', !0
          9        CONCAT                                           ~5      ~4, '+%7B%7D'
         10        INCLUDE_OR_EVAL                                          ~5, EVAL
    6    11      > EXIT                                                     
         12*     > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.08 ms | 1394 KiB | 17 Q