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[] = $zakres; $zakres++; } print_r($zakres_tmp); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 18
Branch analysis from position: 18
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 14
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 14
Branch analysis from position: 20
Branch analysis from position: 14
filename:       /in/C61Iu
function name:  (null)
number of ops:  24
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                                                      ->18
   10    14    >   ASSIGN_DIM                                               !2
         15        OP_DATA                                                  !1
   11    16        PRE_INC                                                  !1
    9    17        PRE_INC                                                  !3
         18    >   IS_SMALLER                                               !3, !0
         19      > JMPNZ                                                    ~15, ->14
   13    20    >   INIT_FCALL                                               'print_r'
         21        SEND_VAR                                                 !2
         22        DO_ICALL                                                 
   17    23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.93 ms | 1387 KiB | 17 Q