3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tsid = '-123'; if (!filter_var($tsid, FILTER_VALIDATE_INT, 0) || (intval($tsid) < 0)) { form_set_error('tsid', t('TSID must be positive number.')); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 8, Position 2 = 11
Branch analysis from position: 8
2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 19
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 19
Branch analysis from position: 11
filename:       /in/KlaMD
function name:  (null)
number of ops:  20
compiled vars:  !0 = $tsid
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '-123'
    4     1        INIT_FCALL                                               'filter_var'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 257
          4        SEND_VAL                                                 0
          5        DO_ICALL                                         $2      
          6        BOOL_NOT                                         ~3      $2
          7      > JMPNZ_EX                                         ~3      ~3, ->11
          8    >   CAST                                          4  ~4      !0
          9        IS_SMALLER                                       ~5      ~4, 0
         10        BOOL                                             ~3      ~5
         11    > > JMPZ                                                     ~3, ->19
    5    12    >   INIT_FCALL_BY_NAME                                       'form_set_error'
         13        SEND_VAL_EX                                              'tsid'
         14        INIT_FCALL_BY_NAME                                       't'
         15        SEND_VAL_EX                                              'TSID+must+be+positive+number.'
         16        DO_FCALL                                      0  $6      
         17        SEND_VAR_NO_REF_EX                                       $6
         18        DO_FCALL                                      0          
    6    19    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.86 ms | 1395 KiB | 15 Q