3v4l.org

run code in 300+ PHP versions simultaneously
<?php $my_info['zipcode'] = 01234; echo substr($my_info['zipcode'], 0, 5);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HcArt
function name:  (null)
number of ops:  10
compiled vars:  !0 = $my_info
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN_DIM                                               !0, 'zipcode'
          1        OP_DATA                                                  668
    3     2        INIT_FCALL                                               'substr'
          3        FETCH_DIM_R                                      ~2      !0, 'zipcode'
          4        SEND_VAL                                                 ~2
          5        SEND_VAL                                                 0
          6        SEND_VAL                                                 5
          7        DO_ICALL                                         $3      
          8        ECHO                                                     $3
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.76 ms | 1398 KiB | 15 Q