3v4l.org

run code in 300+ PHP versions simultaneously
<html> <head> <title>Online PHP Script Execution</title> </head> <body> <?php $utf8=false; $solution_file = file_get_contents("http://www.yoire.com/img/v/nice_yoire_xxed_by_Mawekl.jpg"); $solution_bytes = substr($solution_file,0,4); $solution_b64 = Encoder::data2base64($solution_bytes,$utf8); print "La solución es: [GUESS ME!]"; // sorry, I mean $solution_b64 X"DDD print "<br><br>"; print Challenges::solutionBox(); print Challenges::checkSolution($solution_b64); ?> <a href="<?=$_SERVER["PHP_SELF"]?>?showSource">Ver código fuente</a> <?php if(Common::getString("showSource")!==false) { print "<hr>"; highlight_file(__FILE__); } print Website::footer(); ?> </body> </html>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 36, Position 2 = 40
Branch analysis from position: 36
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 40
filename:       /in/mVbuO
function name:  (null)
number of ops:  45
compiled vars:  !0 = $utf8, !1 = $solution_file, !2 = $solution_bytes, !3 = $solution_b64
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ECHO                                                     '%3Chtml%3E%0A%3Chead%3E%0A%3Ctitle%3EOnline+PHP+Script+Execution%3C%2Ftitle%3E%0A%3C%2Fhead%3E%0A%3Cbody%3E%0A'
    7     1        ASSIGN                                                   !0, <false>
    8     2        INIT_FCALL                                               'file_get_contents'
          3        SEND_VAL                                                 'http%3A%2F%2Fwww.yoire.com%2Fimg%2Fv%2Fnice_yoire_xxed_by_Mawekl.jpg'
          4        DO_ICALL                                         $5      
          5        ASSIGN                                                   !1, $5
    9     6        INIT_FCALL                                               'substr'
          7        SEND_VAR                                                 !1
          8        SEND_VAL                                                 0
          9        SEND_VAL                                                 4
         10        DO_ICALL                                         $7      
         11        ASSIGN                                                   !2, $7
   10    12        INIT_STATIC_METHOD_CALL                                  'Encoder', 'data2base64'
         13        SEND_VAR_EX                                              !2
         14        SEND_VAR_EX                                              !0
         15        DO_FCALL                                      0  $9      
         16        ASSIGN                                                   !3, $9
   12    17        ECHO                                                     'La+soluci%C3%B3n+es%3A+%5BGUESS+ME%21%5D'
   14    18        ECHO                                                     '%3Cbr%3E%3Cbr%3E'
   15    19        INIT_STATIC_METHOD_CALL                                  'Challenges', 'solutionBox'
         20        DO_FCALL                                      0  $11     
         21        ECHO                                                     $11
   16    22        INIT_STATIC_METHOD_CALL                                  'Challenges', 'checkSolution'
         23        SEND_VAR_EX                                              !3
         24        DO_FCALL                                      0  $12     
         25        ECHO                                                     $12
   18    26        ECHO                                                     '%3Ca+href%3D%22'
         27        FETCH_R                      global              ~13     '_SERVER'
         28        FETCH_DIM_R                                      ~14     ~13, 'PHP_SELF'
         29        ECHO                                                     ~14
         30        ECHO                                                     '%3FshowSource%22%3EVer+c%C3%B3digo+fuente%3C%2Fa%3E%0A%0A'
   21    31        INIT_STATIC_METHOD_CALL                                  'Common', 'getString'
         32        SEND_VAL_EX                                              'showSource'
         33        DO_FCALL                                      0  $15     
         34        TYPE_CHECK                                  1018          $15
         35      > JMPZ                                                     ~16, ->40
   22    36    >   ECHO                                                     '%3Chr%3E'
   23    37        INIT_FCALL                                               'highlight_file'
         38        SEND_VAL                                                 '%2Fin%2FmVbuO'
         39        DO_ICALL                                                 
   25    40    >   INIT_STATIC_METHOD_CALL                                  'Website', 'footer'
         41        DO_FCALL                                      0  $18     
         42        ECHO                                                     $18
   26    43        ECHO                                                     '+%0A%3C%2Fbody%3E%0A%3C%2Fhtml%3E'
   28    44      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.17 ms | 1400 KiB | 19 Q