3v4l.org

run code in 300+ PHP versions simultaneously
<?php $page=array(); $matches = array(1=>'ololo'); preg_match('#([A-Za-z0-9\-\_]*)#', $page, $matches); $file = '../views/' . $matches[1] . '.html'; var_dump($file);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5LZpH
function name:  (null)
number of ops:  15
compiled vars:  !0 = $page, !1 = $matches, !2 = $file
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, <array>
    4     2        INIT_FCALL                                               'preg_match'
          3        SEND_VAL                                                 '%23%28%5BA-Za-z0-9%5C-%5C_%5D%2A%29%23'
          4        SEND_VAR                                                 !0
          5        SEND_REF                                                 !1
          6        DO_ICALL                                                 
    5     7        FETCH_DIM_R                                      ~6      !1, 1
          8        CONCAT                                           ~7      '..%2Fviews%2F', ~6
          9        CONCAT                                           ~8      ~7, '.html'
         10        ASSIGN                                                   !2, ~8
    6    11        INIT_FCALL                                               'var_dump'
         12        SEND_VAR                                                 !2
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.38 ms | 1398 KiB | 17 Q