3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo substr(date('Y'), -2); echo substr('5213037103', 2, 2); echo substr($registro, -6);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZTNc3
function name:  (null)
number of ops:  20
compiled vars:  !0 = $registro
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'substr'
          1        INIT_FCALL                                               'date'
          2        SEND_VAL                                                 'Y'
          3        DO_ICALL                                         $1      
          4        SEND_VAR                                                 $1
          5        SEND_VAL                                                 -2
          6        DO_ICALL                                         $2      
          7        ECHO                                                     $2
    4     8        INIT_FCALL                                               'substr'
          9        SEND_VAL                                                 '5213037103'
         10        SEND_VAL                                                 2
         11        SEND_VAL                                                 2
         12        DO_ICALL                                         $3      
         13        ECHO                                                     $3
    5    14        INIT_FCALL                                               'substr'
         15        SEND_VAR                                                 !0
         16        SEND_VAL                                                 -6
         17        DO_ICALL                                         $4      
         18        ECHO                                                     $4
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.62 ms | 1394 KiB | 17 Q