3v4l.org

run code in 300+ PHP versions simultaneously
<?php set_time_limit(0); error_reporting (E_ALL ^ E_NOTICE); $url = "http://www.google.com"; $chars = array(0); foreach ($chars as $a) { foreach ($chars as $b) { foreach ($chars as $c) { foreach ($chars as $d) { $__ = curl_init($url.$a.$b.$c.$d); echo $__; curl_setopt($__, CURLOPT_HEADER, 1); curl_setopt($__, CURLOPT_NOBODY, 1); curl_setopt($__, CURLOPT_RETURNTRANSFER, 1); curl_exec($__); fwrite($_, " ".curl_getinfo($__, CURLINFO_CONTENT_LENGTH_DOWNLOAD)); echo curl_getinfo($__, CURLINFO_CONTENT_LENGTH_DOWNLOAD); } } } } fclose($_);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 9, Position 2 = 69
Branch analysis from position: 9
2 jumps found. (Code = 78) Position 1 = 10, Position 2 = 69
Branch analysis from position: 10
2 jumps found. (Code = 77) Position 1 = 11, Position 2 = 67
Branch analysis from position: 11
2 jumps found. (Code = 78) Position 1 = 12, Position 2 = 67
Branch analysis from position: 12
2 jumps found. (Code = 77) Position 1 = 13, Position 2 = 65
Branch analysis from position: 13
2 jumps found. (Code = 78) Position 1 = 14, Position 2 = 65
Branch analysis from position: 14
2 jumps found. (Code = 77) Position 1 = 15, Position 2 = 63
Branch analysis from position: 15
2 jumps found. (Code = 78) Position 1 = 16, Position 2 = 63
Branch analysis from position: 16
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
Branch analysis from position: 63
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
Branch analysis from position: 63
Branch analysis from position: 65
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
Branch analysis from position: 65
Branch analysis from position: 67
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
Branch analysis from position: 67
Branch analysis from position: 69
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 69
filename:       /in/WMKHM
function name:  (null)
number of ops:  74
compiled vars:  !0 = $url, !1 = $chars, !2 = $a, !3 = $b, !4 = $c, !5 = $d, !6 = $__, !7 = $_
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'set_time_limit'
          1        SEND_VAL                                                 0
          2        DO_ICALL                                                 
    4     3        INIT_FCALL                                               'error_reporting'
          4        SEND_VAL                                                 32759
          5        DO_ICALL                                                 
    6     6        ASSIGN                                                   !0, 'http%3A%2F%2Fwww.google.com'
    7     7        ASSIGN                                                   !1, <array>
    9     8      > FE_RESET_R                                       $12     !1, ->69
          9    > > FE_FETCH_R                                               $12, !2, ->69
   10    10    > > FE_RESET_R                                       $13     !1, ->67
         11    > > FE_FETCH_R                                               $13, !3, ->67
   11    12    > > FE_RESET_R                                       $14     !1, ->65
         13    > > FE_FETCH_R                                               $14, !4, ->65
   12    14    > > FE_RESET_R                                       $15     !1, ->63
         15    > > FE_FETCH_R                                               $15, !5, ->63
   13    16    >   INIT_FCALL_BY_NAME                                       'curl_init'
         17        CONCAT                                           ~16     !0, !2
         18        CONCAT                                           ~17     ~16, !3
         19        CONCAT                                           ~18     ~17, !4
         20        CONCAT                                           ~19     ~18, !5
         21        SEND_VAL_EX                                              ~19
         22        DO_FCALL                                      0  $20     
         23        ASSIGN                                                   !6, $20
   14    24        ECHO                                                     !6
   15    25        INIT_FCALL_BY_NAME                                       'curl_setopt'
         26        SEND_VAR_EX                                              !6
         27        FETCH_CONSTANT                                   ~22     'CURLOPT_HEADER'
         28        SEND_VAL_EX                                              ~22
         29        SEND_VAL_EX                                              1
         30        DO_FCALL                                      0          
   16    31        INIT_FCALL_BY_NAME                                       'curl_setopt'
         32        SEND_VAR_EX                                              !6
         33        FETCH_CONSTANT                                   ~24     'CURLOPT_NOBODY'
         34        SEND_VAL_EX                                              ~24
         35        SEND_VAL_EX                                              1
         36        DO_FCALL                                      0          
   17    37        INIT_FCALL_BY_NAME                                       'curl_setopt'
         38        SEND_VAR_EX                                              !6
         39        FETCH_CONSTANT                                   ~26     'CURLOPT_RETURNTRANSFER'
         40        SEND_VAL_EX                                              ~26
         41        SEND_VAL_EX                                              1
         42        DO_FCALL                                      0          
   18    43        INIT_FCALL_BY_NAME                                       'curl_exec'
         44        SEND_VAR_EX                                              !6
         45        DO_FCALL                                      0          
   19    46        INIT_FCALL                                               'fwrite'
         47        SEND_VAR                                                 !7
         48        INIT_FCALL_BY_NAME                                       'curl_getinfo'
         49        SEND_VAR_EX                                              !6
         50        FETCH_CONSTANT                                   ~29     'CURLINFO_CONTENT_LENGTH_DOWNLOAD'
         51        SEND_VAL_EX                                              ~29
         52        DO_FCALL                                      0  $30     
         53        CONCAT                                           ~31     '+', $30
         54        SEND_VAL                                                 ~31
         55        DO_ICALL                                                 
   20    56        INIT_FCALL_BY_NAME                                       'curl_getinfo'
         57        SEND_VAR_EX                                              !6
         58        FETCH_CONSTANT                                   ~33     'CURLINFO_CONTENT_LENGTH_DOWNLOAD'
         59        SEND_VAL_EX                                              ~33
         60        DO_FCALL                                      0  $34     
         61        ECHO                                                     $34
   12    62      > JMP                                                      ->15
         63    >   FE_FREE                                                  $15
   11    64      > JMP                                                      ->13
         65    >   FE_FREE                                                  $14
   10    66      > JMP                                                      ->11
         67    >   FE_FREE                                                  $13
    9    68      > JMP                                                      ->9
         69    >   FE_FREE                                                  $12
   25    70        INIT_FCALL                                               'fclose'
         71        SEND_VAR                                                 !7
         72        DO_ICALL                                                 
         73      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.91 ms | 1392 KiB | 21 Q