3v4l.org

run code in 500+ PHP versions simultaneously
<?php $chocolateqty = 1; $glazeqty = 1; $mapleqty = 1; $sprinkleqty = 0; $jellyqty = 0; var_dump(filter_var($chocolateqty, FILTER_VALIDATE_INT)); var_dump(filter_var($glazeqty, FILTER_VALIDATE_INT)); var_dump(filter_var($mapleqty, FILTER_VALIDATE_INT)); var_dump(filter_var($sprinkleqty, FILTER_VALIDATE_INT)); var_dump(filter_var($jellyqty, FILTER_VALIDATE_INT)); if (filter_var($chocolateqty, FILTER_VALIDATE_INT) !== false && filter_var($glazeqty, FILTER_VALIDATE_INT) !== false && filter_var($mapleqty, FILTER_VALIDATE_INT) !== false && filter_var($sprinkleqty, FILTER_VALIDATE_INT) !== false && filter_var($jellyqty, FILTER_VALIDATE_INT) !== false ) { echo 'IF'; } else { echo "Please Enter Valid Number"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 46, Position 2 = 52
Branch analysis from position: 46
2 jumps found. (Code = 46) Position 1 = 53, Position 2 = 59
Branch analysis from position: 53
2 jumps found. (Code = 46) Position 1 = 60, Position 2 = 66
Branch analysis from position: 60
2 jumps found. (Code = 46) Position 1 = 67, Position 2 = 73
Branch analysis from position: 67
2 jumps found. (Code = 43) Position 1 = 74, Position 2 = 76
Branch analysis from position: 74
1 jumps found. (Code = 42) Position 1 = 77
Branch analysis from position: 77
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 76
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 73
Branch analysis from position: 66
Branch analysis from position: 59
Branch analysis from position: 52
filename:       /in/Aj2DW
function name:  (null)
number of ops:  78
compiled vars:  !0 = $chocolateqty, !1 = $glazeqty, !2 = $mapleqty, !3 = $sprinkleqty, !4 = $jellyqty
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, 1
    4     1        ASSIGN                                                       !1, 1
    5     2        ASSIGN                                                       !2, 1
    6     3        ASSIGN                                                       !3, 0
    7     4        ASSIGN                                                       !4, 0
    9     5        INIT_FCALL                                                   'var_dump'
          6        INIT_FCALL                                                   'filter_var'
          7        SEND_VAR                                                     !0
          8        SEND_VAL                                                     257
          9        DO_ICALL                                             $10     
         10        SEND_VAR                                                     $10
         11        DO_ICALL                                                     
   10    12        INIT_FCALL                                                   'var_dump'
         13        INIT_FCALL                                                   'filter_var'
         14        SEND_VAR                                                     !1
         15        SEND_VAL                                                     257
         16        DO_ICALL                                             $12     
         17        SEND_VAR                                                     $12
         18        DO_ICALL                                                     
   11    19        INIT_FCALL                                                   'var_dump'
         20        INIT_FCALL                                                   'filter_var'
         21        SEND_VAR                                                     !2
         22        SEND_VAL                                                     257
         23        DO_ICALL                                             $14     
         24        SEND_VAR                                                     $14
         25        DO_ICALL                                                     
   12    26        INIT_FCALL                                                   'var_dump'
         27        INIT_FCALL                                                   'filter_var'
         28        SEND_VAR                                                     !3
         29        SEND_VAL                                                     257
         30        DO_ICALL                                             $16     
         31        SEND_VAR                                                     $16
         32        DO_ICALL                                                     
   13    33        INIT_FCALL                                                   'var_dump'
         34        INIT_FCALL                                                   'filter_var'
         35        SEND_VAR                                                     !4
         36        SEND_VAL                                                     257
         37        DO_ICALL                                             $18     
         38        SEND_VAR                                                     $18
         39        DO_ICALL                                                     
   16    40        INIT_FCALL                                                   'filter_var'
         41        SEND_VAR                                                     !0
         42        SEND_VAL                                                     257
         43        DO_ICALL                                             $20     
         44        TYPE_CHECK                                      1018  ~21     $20
         45      > JMPZ_EX                                              ~21     ~21, ->52
   17    46    >   INIT_FCALL                                                   'filter_var'
         47        SEND_VAR                                                     !1
         48        SEND_VAL                                                     257
         49        DO_ICALL                                             $22     
         50        TYPE_CHECK                                      1018  ~23     $22
         51        BOOL                                                 ~21     ~23
         52    > > JMPZ_EX                                              ~21     ~21, ->59
   18    53    >   INIT_FCALL                                                   'filter_var'
         54        SEND_VAR                                                     !2
         55        SEND_VAL                                                     257
         56        DO_ICALL                                             $24     
         57        TYPE_CHECK                                      1018  ~25     $24
         58        BOOL                                                 ~21     ~25
         59    > > JMPZ_EX                                              ~21     ~21, ->66
   19    60    >   INIT_FCALL                                                   'filter_var'
         61        SEND_VAR                                                     !3
         62        SEND_VAL                                                     257
         63        DO_ICALL                                             $26     
         64        TYPE_CHECK                                      1018  ~27     $26
         65        BOOL                                                 ~21     ~27
         66    > > JMPZ_EX                                              ~21     ~21, ->73
   20    67    >   INIT_FCALL                                                   'filter_var'
         68        SEND_VAR                                                     !4
         69        SEND_VAL                                                     257
         70        DO_ICALL                                             $28     
         71        TYPE_CHECK                                      1018  ~29     $28
         72        BOOL                                                 ~21     ~29
         73    > > JMPZ                                                         ~21, ->76
   23    74    >   ECHO                                                         'IF'
   16    75      > JMP                                                          ->77
   28    76    >   ECHO                                                         'Please+Enter+Valid+Number'
   30    77    > > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
165.98 ms | 1465 KiB | 15 Q