3v4l.org

run code in 300+ PHP versions simultaneously
<?php $c5 = 215601; $c1 = 6; $p = str_pad($c1, 3, '0', STR_PAD_LEFT) . str_pad($c5, 10, '0', STR_PAD_LEFT); $ctr = 22; $ctro = '0' . substr($p,2,2) . substr($p,7); echo $p; echo $ctro;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3hGZ5
function name:  (null)
number of ops:  32
compiled vars:  !0 = $c5, !1 = $c1, !2 = $p, !3 = $ctr, !4 = $ctro
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 215601
    3     1        ASSIGN                                                   !1, 6
    4     2        INIT_FCALL                                               'str_pad'
          3        SEND_VAR                                                 !1
          4        SEND_VAL                                                 3
          5        SEND_VAL                                                 '0'
          6        SEND_VAL                                                 0
          7        DO_ICALL                                         $7      
          8        INIT_FCALL                                               'str_pad'
          9        SEND_VAR                                                 !0
         10        SEND_VAL                                                 10
         11        SEND_VAL                                                 '0'
         12        SEND_VAL                                                 0
         13        DO_ICALL                                         $8      
         14        CONCAT                                           ~9      $7, $8
         15        ASSIGN                                                   !2, ~9
    6    16        ASSIGN                                                   !3, 22
    7    17        INIT_FCALL                                               'substr'
         18        SEND_VAR                                                 !2
         19        SEND_VAL                                                 2
         20        SEND_VAL                                                 2
         21        DO_ICALL                                         $12     
         22        CONCAT                                           ~13     '0', $12
         23        INIT_FCALL                                               'substr'
         24        SEND_VAR                                                 !2
         25        SEND_VAL                                                 7
         26        DO_ICALL                                         $14     
         27        CONCAT                                           ~15     ~13, $14
         28        ASSIGN                                                   !4, ~15
    9    29        ECHO                                                     !2
   10    30        ECHO                                                     !4
         31      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.59 ms | 1395 KiB | 17 Q