3v4l.org

run code in 300+ PHP versions simultaneously
<?php $header = "asd.ads./ads.test+dsa"; // $exploded = ; $end = explode( '+', array_pop( explode( '.', $header ) ) ); $object = array_shift( $end ); echo $object;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/E8TU4
function name:  (null)
number of ops:  19
compiled vars:  !0 = $header, !1 = $end, !2 = $object
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'asd.ads.%2Fads.test%2Bdsa'
    5     1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 '%2B'
          3        INIT_FCALL                                               'array_pop'
          4        INIT_FCALL                                               'explode'
          5        SEND_VAL                                                 '.'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $4      
          8        SEND_VAR_NO_REF                               0          $4
          9        DO_ICALL                                         $5      
         10        SEND_VAR                                                 $5
         11        DO_ICALL                                         $6      
         12        ASSIGN                                                   !1, $6
    7    13        INIT_FCALL                                               'array_shift'
         14        SEND_REF                                                 !1
         15        DO_ICALL                                         $8      
         16        ASSIGN                                                   !2, $8
    9    17        ECHO                                                     !2
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.37 ms | 1386 KiB | 19 Q