3v4l.org

run code in 300+ PHP versions simultaneously
<?php function test() { static $bburl = false; if ($bburl===false) $bburl = preg_quote(preg_replace('#(https?:)?//#', '', vBP_Engine::$vb->options['bburl']), '#'); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9bTvf
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E > > RETURN                                                   1

Function test:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 16
Branch analysis from position: 3
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
filename:       /in/9bTvf
function name:  test
number of ops:  17
compiled vars:  !0 = $bburl
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   BIND_STATIC                                              !0
    5     1        TYPE_CHECK                                    4          !0
          2      > JMPZ                                                     ~1, ->16
          3    >   INIT_FCALL                                               'preg_quote'
          4        INIT_FCALL                                               'preg_replace'
          5        SEND_VAL                                                 '%23%28https%3F%3A%29%3F%2F%2F%23'
          6        SEND_VAL                                                 ''
          7        FETCH_STATIC_PROP_R          unknown             ~2      'vb'
          8        FETCH_OBJ_R                                      ~3      ~2, 'options'
          9        FETCH_DIM_R                                      ~4      ~3, 'bburl'
         10        SEND_VAL                                                 ~4
         11        DO_ICALL                                         $5      
         12        SEND_VAR                                                 $5
         13        SEND_VAL                                                 '%23'
         14        DO_ICALL                                         $6      
         15        ASSIGN                                                   !0, $6
    6    16    > > RETURN                                                   null

End of function test

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.99 ms | 1395 KiB | 17 Q