3v4l.org

run code in 300+ PHP versions simultaneously
<?php $Offer["Subject"] = "a::b::c"; $Subj = substr($Offer["Subject"], strrpos($Offer["Subject"], "::")+2); echo $Subj;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/bJUV8
function name:  (null)
number of ops:  16
compiled vars:  !0 = $Offer, !1 = $Subj
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN_DIM                                               !0, 'Subject'
          1        OP_DATA                                                  'a%3A%3Ab%3A%3Ac'
    3     2        INIT_FCALL                                               'substr'
          3        FETCH_DIM_R                                      ~3      !0, 'Subject'
          4        SEND_VAL                                                 ~3
          5        INIT_FCALL                                               'strrpos'
          6        FETCH_DIM_R                                      ~4      !0, 'Subject'
          7        SEND_VAL                                                 ~4
          8        SEND_VAL                                                 '%3A%3A'
          9        DO_ICALL                                         $5      
         10        ADD                                              ~6      $5, 2
         11        SEND_VAL                                                 ~6
         12        DO_ICALL                                         $7      
         13        ASSIGN                                                   !1, $7
    4    14        ECHO                                                     !1
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.53 ms | 1394 KiB | 17 Q