3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date='iiii'; if(!is_numeric($date) || $date<=00 || $date>31){ echo 1; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 6, Position 2 = 8
Branch analysis from position: 6
2 jumps found. (Code = 47) Position 1 = 9, Position 2 = 11
Branch analysis from position: 9
2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 13
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
Branch analysis from position: 11
Branch analysis from position: 8
filename:       /in/ho5va
function name:  (null)
number of ops:  14
compiled vars:  !0 = $date
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'iiii'
    3     1        INIT_FCALL                                               'is_numeric'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $2      
          4        BOOL_NOT                                         ~3      $2
          5      > JMPNZ_EX                                         ~3      ~3, ->8
          6    >   IS_SMALLER_OR_EQUAL                              ~4      !0, 0
          7        BOOL                                             ~3      ~4
          8    > > JMPNZ_EX                                         ~3      ~3, ->11
          9    >   IS_SMALLER                                       ~5      31, !0
         10        BOOL                                             ~3      ~5
         11    > > JMPZ                                                     ~3, ->13
    4    12    >   ECHO                                                     1
    5    13    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.15 ms | 1394 KiB | 15 Q