3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.91 ms | 1393 KiB | 15 Q