3v4l.org

run code in 300+ PHP versions simultaneously
<?php $urzadzenia_ilosc = 10; $zakres = '123-999'; $zakres = str_replace("-","",$zakres); echo "poczatek: ".$zakres."<br />"; $zakres_tmp = array(); for($i=0;$i<$urzadzenia_ilosc;$i++){ $zakres_tmp[] = "H-".substr($zakres, 0, 3)."-".substr($zakres, 3, 6); $zakres++; } print_r($zakres_tmp); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 31
Branch analysis from position: 31
2 jumps found. (Code = 44) Position 1 = 33, Position 2 = 14
Branch analysis from position: 33
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
2 jumps found. (Code = 44) Position 1 = 33, Position 2 = 14
Branch analysis from position: 33
Branch analysis from position: 14
filename:       /in/uRALo
function name:  (null)
number of ops:  37
compiled vars:  !0 = $urzadzenia_ilosc, !1 = $zakres, !2 = $zakres_tmp, !3 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 10
    4     1        ASSIGN                                                   !1, '123-999'
    5     2        INIT_FCALL                                               'str_replace'
          3        SEND_VAL                                                 '-'
          4        SEND_VAL                                                 ''
          5        SEND_VAR                                                 !1
          6        DO_ICALL                                         $6      
          7        ASSIGN                                                   !1, $6
    6     8        CONCAT                                           ~8      'poczatek%3A+', !1
          9        CONCAT                                           ~9      ~8, '%3Cbr+%2F%3E'
         10        ECHO                                                     ~9
    7    11        ASSIGN                                                   !2, <array>
    9    12        ASSIGN                                                   !3, 0
         13      > JMP                                                      ->31
   10    14    >   INIT_FCALL                                               'substr'
         15        SEND_VAR                                                 !1
         16        SEND_VAL                                                 0
         17        SEND_VAL                                                 3
         18        DO_ICALL                                         $13     
         19        CONCAT                                           ~14     'H-', $13
         20        CONCAT                                           ~15     ~14, '-'
         21        INIT_FCALL                                               'substr'
         22        SEND_VAR                                                 !1
         23        SEND_VAL                                                 3
         24        SEND_VAL                                                 6
         25        DO_ICALL                                         $16     
         26        CONCAT                                           ~17     ~15, $16
         27        ASSIGN_DIM                                               !2
         28        OP_DATA                                                  ~17
   11    29        PRE_INC                                                  !1
    9    30        PRE_INC                                                  !3
         31    >   IS_SMALLER                                               !3, !0
         32      > JMPNZ                                                    ~20, ->14
   13    33    >   INIT_FCALL                                               'print_r'
         34        SEND_VAR                                                 !2
         35        DO_ICALL                                                 
   17    36      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.72 ms | 1396 KiB | 19 Q