3v4l.org

run code in 300+ PHP versions simultaneously
<?php $user['name'] = 'Степина Вера Михайловна'; $user['name'] = substr($user['name'], 0, strrpos($user['name'], ' '));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/eNQ1h
function name:  (null)
number of ops:  16
compiled vars:  !0 = $user
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN_DIM                                               !0, 'name'
          1        OP_DATA                                                  '%D0%A1%D1%82%D0%B5%D0%BF%D0%B8%D0%BD%D0%B0+%D0%92%D0%B5%D1%80%D0%B0+%D0%9C%D0%B8%D1%85%D0%B0%D0%B9%D0%BB%D0%BE%D0%B2%D0%BD%D0%B0'
    3     2        INIT_FCALL                                               'substr'
          3        FETCH_DIM_R                                      ~3      !0, 'name'
          4        SEND_VAL                                                 ~3
          5        SEND_VAL                                                 0
          6        INIT_FCALL                                               'strrpos'
          7        FETCH_DIM_R                                      ~4      !0, 'name'
          8        SEND_VAL                                                 ~4
          9        SEND_VAL                                                 '+'
         10        DO_ICALL                                         $5      
         11        SEND_VAR                                                 $5
         12        DO_ICALL                                         $6      
         13        ASSIGN_DIM                                               !0, 'name'
         14        OP_DATA                                                  $6
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.45 ms | 1394 KiB | 17 Q