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($__); echo curl_getinfo($__, CURLINFO_CONTENT_LENGTH_DOWNLOAD); } } } }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 9, Position 2 = 59
Branch analysis from position: 9
2 jumps found. (Code = 78) Position 1 = 10, Position 2 = 59
Branch analysis from position: 10
2 jumps found. (Code = 77) Position 1 = 11, Position 2 = 57
Branch analysis from position: 11
2 jumps found. (Code = 78) Position 1 = 12, Position 2 = 57
Branch analysis from position: 12
2 jumps found. (Code = 77) Position 1 = 13, Position 2 = 55
Branch analysis from position: 13
2 jumps found. (Code = 78) Position 1 = 14, Position 2 = 55
Branch analysis from position: 14
2 jumps found. (Code = 77) Position 1 = 15, Position 2 = 53
Branch analysis from position: 15
2 jumps found. (Code = 78) Position 1 = 16, Position 2 = 53
Branch analysis from position: 16
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
Branch analysis from position: 53
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
Branch analysis from position: 53
Branch analysis from position: 55
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
Branch analysis from position: 55
Branch analysis from position: 57
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
Branch analysis from position: 57
Branch analysis from position: 59
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 59
filename:       /in/DaAok
function name:  (null)
number of ops:  61
compiled vars:  !0 = $url, !1 = $chars, !2 = $a, !3 = $b, !4 = $c, !5 = $d, !6 = $__
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                                       $11     !1, ->59
          9    > > FE_FETCH_R                                               $11, !2, ->59
   10    10    > > FE_RESET_R                                       $12     !1, ->57
         11    > > FE_FETCH_R                                               $12, !3, ->57
   11    12    > > FE_RESET_R                                       $13     !1, ->55
         13    > > FE_FETCH_R                                               $13, !4, ->55
   12    14    > > FE_RESET_R                                       $14     !1, ->53
         15    > > FE_FETCH_R                                               $14, !5, ->53
   13    16    >   INIT_FCALL_BY_NAME                                       'curl_init'
         17        CONCAT                                           ~15     !0, !2
         18        CONCAT                                           ~16     ~15, !3
         19        CONCAT                                           ~17     ~16, !4
         20        CONCAT                                           ~18     ~17, !5
         21        SEND_VAL_EX                                              ~18
         22        DO_FCALL                                      0  $19     
         23        ASSIGN                                                   !6, $19
   14    24        ECHO                                                     !6
   15    25        INIT_FCALL_BY_NAME                                       'curl_setopt'
         26        SEND_VAR_EX                                              !6
         27        FETCH_CONSTANT                                   ~21     'CURLOPT_HEADER'
         28        SEND_VAL_EX                                              ~21
         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                                   ~23     'CURLOPT_NOBODY'
         34        SEND_VAL_EX                                              ~23
         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                                   ~25     'CURLOPT_RETURNTRANSFER'
         40        SEND_VAL_EX                                              ~25
         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_BY_NAME                                       'curl_getinfo'
         47        SEND_VAR_EX                                              !6
         48        FETCH_CONSTANT                                   ~28     'CURLINFO_CONTENT_LENGTH_DOWNLOAD'
         49        SEND_VAL_EX                                              ~28
         50        DO_FCALL                                      0  $29     
         51        ECHO                                                     $29
   12    52      > JMP                                                      ->15
         53    >   FE_FREE                                                  $14
   11    54      > JMP                                                      ->13
         55    >   FE_FREE                                                  $13
   10    56      > JMP                                                      ->11
         57    >   FE_FREE                                                  $12
    9    58      > JMP                                                      ->9
         59    >   FE_FREE                                                  $11
   23    60      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.55 ms | 1400 KiB | 17 Q