3v4l.org

run code in 300+ PHP versions simultaneously
<?php $DEST = '["ADT - HomeSecurityRatings","http://www.protectyourhome.com/partner/dl-01t-wl","100","ADT - HomeSecurityRatings","http://quickpixel.net/?a=653&amp;c=21503&amp;s1 ","0"]'; $array = array(substr(substr($DEST, 3),-3)); print_r($array);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/B2dSQ
function name:  (null)
number of ops:  15
compiled vars:  !0 = $DEST, !1 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%5B%22ADT+-+HomeSecurityRatings%22%2C%22http%3A%2F%2Fwww.protectyourhome.com%2Fpartner%2Fdl-01t-wl%22%2C%22100%22%2C%22ADT+-+HomeSecurityRatings%22%2C%22http%3A%2F%2Fquickpixel.net%2F%3Fa%3D653%26amp%3Bc%3D21503%26amp%3Bs1+%22%2C%220%22%5D'
    4     1        INIT_FCALL                                               'substr'
          2        INIT_FCALL                                               'substr'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 3
          5        DO_ICALL                                         $3      
          6        SEND_VAR                                                 $3
          7        SEND_VAL                                                 -3
          8        DO_ICALL                                         $4      
          9        INIT_ARRAY                                       ~5      $4
         10        ASSIGN                                                   !1, ~5
    5    11        INIT_FCALL                                               'print_r'
         12        SEND_VAR                                                 !1
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.86 ms | 1394 KiB | 17 Q