3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a="1N2986B M4S011N2986B 000000001100000000000000000000000000001000000000000000000000000000000Y"; $c = intval(substr($a, 76, 10)); //echo $c; $pack = intval(substr($a, 86, 9)); echo $pack; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2pDPE
function name:  (null)
number of ops:  17
compiled vars:  !0 = $a, !1 = $c, !2 = $pack
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '1N2986B++++++++++++++M4S011N2986B+++++++++++++++++++++++000000001100000000000000000000000000001000000000000000000000000000000Y'
    3     1        INIT_FCALL                                               'substr'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 76
          4        SEND_VAL                                                 10
          5        DO_ICALL                                         $4      
          6        CAST                                          4  ~5      $4
          7        ASSIGN                                                   !1, ~5
    5     8        INIT_FCALL                                               'substr'
          9        SEND_VAR                                                 !0
         10        SEND_VAL                                                 86
         11        SEND_VAL                                                 9
         12        DO_ICALL                                         $7      
         13        CAST                                          4  ~8      $7
         14        ASSIGN                                                   !2, ~8
    6    15        ECHO                                                     !2
    7    16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.9 ms | 1394 KiB | 15 Q