3v4l.org

run code in 300+ PHP versions simultaneously
<?php $lines = file('https://de.scribd.com/doc/27228612/Art-Tatum-Jazz-Piano-Solos'); // Durchgehen des Arrays und Anzeigen des HTML-Quelltexts inkl. Zeilennummern foreach ($lines as $line_num => $line) { if (strstr($line, "pageParams.contentUrl")) { $explodedString = explode("\"", $line); $url = $explodedString[1]; $url = str_replace("pages", "images", $url); $url = str_replace("jsonp", "jpg", $url); echo $url . "<br>"; // echo "Line #<b>{$line_num}</b> : " . htmlspecialchars($line) . "<br>\n"; } }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 5, Position 2 = 34
Branch analysis from position: 5
2 jumps found. (Code = 78) Position 1 = 6, Position 2 = 34
Branch analysis from position: 6
2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 33
Branch analysis from position: 12
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
Branch analysis from position: 33
Branch analysis from position: 34
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 34
filename:       /in/E4frB
function name:  (null)
number of ops:  36
compiled vars:  !0 = $lines, !1 = $line, !2 = $line_num, !3 = $explodedString, !4 = $url
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'file'
          1        SEND_VAL                                                 'https%3A%2F%2Fde.scribd.com%2Fdoc%2F27228612%2FArt-Tatum-Jazz-Piano-Solos'
          2        DO_ICALL                                         $5      
          3        ASSIGN                                                   !0, $5
    6     4      > FE_RESET_R                                       $7      !0, ->34
          5    > > FE_FETCH_R                                       ~8      $7, !1, ->34
          6    >   ASSIGN                                                   !2, ~8
    7     7        INIT_FCALL                                               'strstr'
          8        SEND_VAR                                                 !1
          9        SEND_VAL                                                 'pageParams.contentUrl'
         10        DO_ICALL                                         $10     
         11      > JMPZ                                                     $10, ->33
    9    12    >   INIT_FCALL                                               'explode'
         13        SEND_VAL                                                 '%22'
         14        SEND_VAR                                                 !1
         15        DO_ICALL                                         $11     
         16        ASSIGN                                                   !3, $11
   10    17        FETCH_DIM_R                                      ~13     !3, 1
         18        ASSIGN                                                   !4, ~13
   12    19        INIT_FCALL                                               'str_replace'
         20        SEND_VAL                                                 'pages'
         21        SEND_VAL                                                 'images'
         22        SEND_VAR                                                 !4
         23        DO_ICALL                                         $15     
         24        ASSIGN                                                   !4, $15
   13    25        INIT_FCALL                                               'str_replace'
         26        SEND_VAL                                                 'jsonp'
         27        SEND_VAL                                                 'jpg'
         28        SEND_VAR                                                 !4
         29        DO_ICALL                                         $17     
         30        ASSIGN                                                   !4, $17
   15    31        CONCAT                                           ~19     !4, '%3Cbr%3E'
         32        ECHO                                                     ~19
    6    33    > > JMP                                                      ->5
         34    >   FE_FREE                                                  $7
   20    35      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.03 ms | 1396 KiB | 21 Q