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(substring(substr($str, 3),-3)); print_r($array);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rfQmO
function name:  (null)
number of ops:  15
compiled vars:  !0 = $DEST, !1 = $array, !2 = $str
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_BY_NAME                                       'substring'
          2        INIT_FCALL                                               'substr'
          3        SEND_VAR                                                 !2
          4        SEND_VAL                                                 3
          5        DO_ICALL                                         $4      
          6        SEND_VAR_NO_REF_EX                                       $4
          7        SEND_VAL_EX                                              -3
          8        DO_FCALL                                      0  $5      
          9        INIT_ARRAY                                       ~6      $5
         10        ASSIGN                                                   !1, ~6
    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:
153.87 ms | 1394 KiB | 17 Q