3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "Hello, World!"; $filename = "http://pureayre.com/images"; chmod($filename, 0777); if (is_writable($filename)) { echo 'The file is writable'; } else { echo 'The file is not writable'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 12
Branch analysis from position: 10
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/k888H
function name:  (null)
number of ops:  14
compiled vars:  !0 = $filename
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ECHO                                                     'Hello%2C+World%21'
    3     1        ASSIGN                                                   !0, 'http%3A%2F%2Fpureayre.com%2Fimages'
    4     2        INIT_FCALL                                               'chmod'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 511
          5        DO_ICALL                                                 
    5     6        INIT_FCALL                                               'is_writable'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $3      
          9      > JMPZ                                                     $3, ->12
    6    10    >   ECHO                                                     'The+file+is+writable'
         11      > JMP                                                      ->13
    8    12    >   ECHO                                                     'The+file+is+not+writable'
    9    13    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.08 ms | 1399 KiB | 17 Q