3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (strtotime(null) > 0 or 'incomplete' == 'completed' or '0' == 100) { echo 'test'; } else { echo 'null'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 5, Position 2 = 6
Branch analysis from position: 5
2 jumps found. (Code = 47) Position 1 = 7, Position 2 = 8
Branch analysis from position: 7
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 11
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
Branch analysis from position: 6
filename:       /in/WfFPA
function name:  (null)
number of ops:  13
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'strtotime'
          1        SEND_VAL                                                 null
          2        DO_ICALL                                         $0      
          3        IS_SMALLER                                       ~1      0, $0
          4      > JMPNZ_EX                                         ~1      ~1, ->6
          5    >   BOOL                                             ~1      <false>
          6    > > JMPNZ_EX                                         ~1      ~1, ->8
          7    >   BOOL                                             ~1      <false>
          8    > > JMPZ                                                     ~1, ->11
    4     9    >   ECHO                                                     'test'
         10      > JMP                                                      ->12
    6    11    >   ECHO                                                     'null'
    7    12    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
176.82 ms | 1394 KiB | 15 Q