3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "hello this is a string with a v right behind me"; echo $string . "\n"; echo preg_replace('/\v/', '', $string);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/boMN6
function name:  (null)
number of ops:  10
compiled vars:  !0 = $string
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'hello+this+is+a+string+with+a+v+right+behind+me'
    5     1        CONCAT                                           ~2      !0, '%0A'
          2        ECHO                                                     ~2
    7     3        INIT_FCALL                                               'preg_replace'
          4        SEND_VAL                                                 '%2F%5Cv%2F'
          5        SEND_VAL                                                 ''
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $3      
          8        ECHO                                                     $3
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.42 ms | 1394 KiB | 15 Q