3v4l.org

run code in 300+ PHP versions simultaneously
<?php $row=array('_id' => 'ORD=298/HP/13^LN=3^RL=1^DM_ORD=G31308^DM_LN=2^DM_RL=1^DM_LN_IT=^'); $DM_LN_IT= rtrim(substr($row['_id'], strrpos($row['_id']+1, '=')),'^'); var_dump( $DM_LN_IT);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3Z1Tm
function name:  (null)
number of ops:  21
compiled vars:  !0 = $row, !1 = $DM_LN_IT
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    5     1        INIT_FCALL                                               'rtrim'
          2        INIT_FCALL                                               'substr'
          3        FETCH_DIM_R                                      ~3      !0, '_id'
          4        SEND_VAL                                                 ~3
          5        INIT_FCALL                                               'strrpos'
          6        FETCH_DIM_R                                      ~4      !0, '_id'
          7        ADD                                              ~5      ~4, 1
          8        SEND_VAL                                                 ~5
          9        SEND_VAL                                                 '%3D'
         10        DO_ICALL                                         $6      
         11        SEND_VAR                                                 $6
         12        DO_ICALL                                         $7      
         13        SEND_VAR                                                 $7
         14        SEND_VAL                                                 '%5E'
         15        DO_ICALL                                         $8      
         16        ASSIGN                                                   !1, $8
    6    17        INIT_FCALL                                               'var_dump'
         18        SEND_VAR                                                 !1
         19        DO_ICALL                                                 
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.65 ms | 1395 KiB | 21 Q