3v4l.org

run code in 300+ PHP versions simultaneously
<?php function o($s) {echo $s;} !is_file('/in/') && o('isn\'t file') || 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 = 47) Position 1 = 10, Position 2 = 19
Branch analysis from position: 10
2 jumps found. (Code = 46) Position 1 = 14, Position 2 = 18
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 18
Branch analysis from position: 19
Branch analysis from position: 9
filename:       /in/KNlfO
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    > > JMPNZ_EX                                         ~1      ~1, ->19
         10    >   INIT_FCALL                                               'file_exists'
         11        SEND_VAL                                                 '%2Fin%2F'
         12        DO_ICALL                                         $3      
         13      > JMPZ_EX                                          ~4      $3, ->18
         14    >   INIT_FCALL                                               'o'
         15        SEND_VAL                                                 'exists'
         16        DO_FCALL                                      0  $5      
         17        BOOL                                             ~4      $5
         18    >   BOOL                                             ~1      ~4
         19    > > RETURN                                                   1

Function o:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KNlfO
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:
155.04 ms | 1389 KiB | 19 Q