3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tests = [ 'Stack-Overflow Questions Tags Users', 'Stack Overflow Close Vote Reviewers', 'Jean-Claude Vandàmme' ]; var_export( preg_replace('/\w\K\w*\W*/u', '', $tests) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0QMEF
function name:  (null)
number of ops:  10
compiled vars:  !0 = $tests
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    8     1        INIT_FCALL                                               'var_export'
    9     2        INIT_FCALL                                               'preg_replace'
          3        SEND_VAL                                                 '%2F%5Cw%5CK%5Cw%2A%5CW%2A%2Fu'
          4        SEND_VAL                                                 ''
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $2      
          7        SEND_VAR                                                 $2
    8     8        DO_ICALL                                                 
   10     9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.98 ms | 1004 KiB | 15 Q