3v4l.org

run code in 300+ PHP versions simultaneously
<?php $timestamp = "1406937600"; while($timestamp < 1407024000) { $url = 'http://download.stream.vrt.be/apps/services_sac/published/web/2014/07/24/21ztij_140724'.date('His', $timestamp).'_ondemand_128.mp3'; $headers = get_headers($url, 1); if ($headers[0] == 'HTTP/1.1 200 OK') { echo $url; } $timestamp++; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 19
Branch analysis from position: 19
2 jumps found. (Code = 44) Position 1 = 21, Position 2 = 2
Branch analysis from position: 21
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 43) Position 1 = 17, Position 2 = 18
Branch analysis from position: 17
2 jumps found. (Code = 44) Position 1 = 21, Position 2 = 2
Branch analysis from position: 21
Branch analysis from position: 2
Branch analysis from position: 18
filename:       /in/SjLD2
function name:  (null)
number of ops:  22
compiled vars:  !0 = $timestamp, !1 = $url, !2 = $headers
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '1406937600'
    4     1      > JMP                                                      ->19
    5     2    >   INIT_FCALL                                               'date'
          3        SEND_VAL                                                 'His'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $4      
          6        CONCAT                                           ~5      'http%3A%2F%2Fdownload.stream.vrt.be%2Fapps%2Fservices_sac%2Fpublished%2Fweb%2F2014%2F07%2F24%2F21ztij_140724', $4
          7        CONCAT                                           ~6      ~5, '_ondemand_128.mp3'
          8        ASSIGN                                                   !1, ~6
    6     9        INIT_FCALL                                               'get_headers'
         10        SEND_VAR                                                 !1
         11        SEND_VAL                                                 1
         12        DO_ICALL                                         $8      
         13        ASSIGN                                                   !2, $8
    7    14        FETCH_DIM_R                                      ~10     !2, 0
         15        IS_EQUAL                                                 ~10, 'HTTP%2F1.1+200+OK'
         16      > JMPZ                                                     ~11, ->18
    8    17    >   ECHO                                                     !1
   11    18    >   PRE_INC                                                  !0
    4    19    >   IS_SMALLER                                               !0, 1407024000
         20      > JMPNZ                                                    ~13, ->2
   12    21    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.56 ms | 1395 KiB | 17 Q