3v4l.org

run code in 300+ PHP versions simultaneously
<?php function o($s) {echo $s;} !is_file('/in/') && o('isn\'t file') xor file_exists('/in/') && o('exists');
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 5, Position 2 = 9
Branch analysis from position: 5
2 jumps found. (Code = 46) Position 1 = 13, Position 2 = 17
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
Branch analysis from position: 9
filename:       /in/tjW8U
function name:  (null)
number of ops:  20
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'is_file'
          1        SEND_VAL                                                 '%2Fin%2F'
          2        DO_ICALL                                         $0      
          3        BOOL_NOT                                         ~1      $0
          4      > JMPZ_EX                                          ~1      ~1, ->9
          5    >   INIT_FCALL                                               'o'
          6        SEND_VAL                                                 'isn%27t+file'
          7        DO_FCALL                                      0  $2      
          8        BOOL                                             ~1      $2
          9    >   INIT_FCALL                                               'file_exists'
         10        SEND_VAL                                                 '%2Fin%2F'
         11        DO_ICALL                                         $3      
         12      > JMPZ_EX                                          ~4      $3, ->17
         13    >   INIT_FCALL                                               'o'
         14        SEND_VAL                                                 'exists'
         15        DO_FCALL                                      0  $5      
         16        BOOL                                             ~4      $5
         17    >   BOOL_XOR                                         ~6      ~1, ~4
         18        FREE                                                     ~6
         19      > RETURN                                                   1

Function o:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tjW8U
function name:  o
number of ops:  3
compiled vars:  !0 = $s
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
          1        ECHO                                                     !0
          2      > RETURN                                                   null

End of function o

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
293.22 ms | 1397 KiB | 20 Q