3v4l.org

run code in 300+ PHP versions simultaneously
<?php $batchIn = "1111111111111122222222222222"; $batchSplit = str_split($batchIn, 14); $count = 0; foreach($batchSplit as $value) { $count++; $urls="https://circ.sd00.worldcat.org/LHR?q=barcode%3A" . $value; } echo $urls;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 8, Position 2 = 13
Branch analysis from position: 8
2 jumps found. (Code = 78) Position 1 = 9, Position 2 = 13
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
filename:       /in/f90cM
function name:  (null)
number of ops:  16
compiled vars:  !0 = $batchIn, !1 = $batchSplit, !2 = $count, !3 = $value, !4 = $urls
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '1111111111111122222222222222'
    3     1        INIT_FCALL                                               'str_split'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 14
          4        DO_ICALL                                         $6      
          5        ASSIGN                                                   !1, $6
    4     6        ASSIGN                                                   !2, 0
    5     7      > FE_RESET_R                                       $9      !1, ->13
          8    > > FE_FETCH_R                                               $9, !3, ->13
    6     9    >   PRE_INC                                                  !2
    7    10        CONCAT                                           ~11     'https%3A%2F%2Fcirc.sd00.worldcat.org%2FLHR%3Fq%3Dbarcode%253A', !3
         11        ASSIGN                                                   !4, ~11
    5    12      > JMP                                                      ->8
         13    >   FE_FREE                                                  $9
   10    14        ECHO                                                     !4
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.8 ms | 1395 KiB | 15 Q