3v4l.org

run code in 500+ PHP versions simultaneously
<?php $chocolateqty = 1; $glazeqty = 1; $mapleqty = 1; $sprinkleqty = 1; $jellyqty = 1; 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) && filter_var($glazeqty, FILTER_VALIDATE_INT) && filter_var($mapleqty, FILTER_VALIDATE_INT) && filter_var($sprinkleqty, FILTER_VALIDATE_INT) && filter_var($jellyqty, FILTER_VALIDATE_INT)) { echo 'IF'; } else { echo "Please Enter Valid Number"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 45, Position 2 = 50
Branch analysis from position: 45
2 jumps found. (Code = 46) Position 1 = 51, Position 2 = 56
Branch analysis from position: 51
2 jumps found. (Code = 46) Position 1 = 57, Position 2 = 62
Branch analysis from position: 57
2 jumps found. (Code = 46) Position 1 = 63, Position 2 = 68
Branch analysis from position: 63
2 jumps found. (Code = 43) Position 1 = 69, Position 2 = 71
Branch analysis from position: 69
1 jumps found. (Code = 42) Position 1 = 72
Branch analysis from position: 72
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 71
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 68
Branch analysis from position: 62
Branch analysis from position: 56
Branch analysis from position: 50
filename:       /in/tBljZ
function name:  (null)
number of ops:  73
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, 1
    7     4        ASSIGN                                                       !4, 1
    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      > JMPZ_EX                                              ~21     $20, ->50
   17    45    >   INIT_FCALL                                                   'filter_var'
         46        SEND_VAR                                                     !1
         47        SEND_VAL                                                     257
         48        DO_ICALL                                             $22     
         49        BOOL                                                 ~21     $22
         50    > > JMPZ_EX                                              ~21     ~21, ->56
   18    51    >   INIT_FCALL                                                   'filter_var'
         52        SEND_VAR                                                     !2
         53        SEND_VAL                                                     257
         54        DO_ICALL                                             $23     
         55        BOOL                                                 ~21     $23
         56    > > JMPZ_EX                                              ~21     ~21, ->62
   19    57    >   INIT_FCALL                                                   'filter_var'
         58        SEND_VAR                                                     !3
         59        SEND_VAL                                                     257
         60        DO_ICALL                                             $24     
         61        BOOL                                                 ~21     $24
         62    > > JMPZ_EX                                              ~21     ~21, ->68
   20    63    >   INIT_FCALL                                                   'filter_var'
         64        SEND_VAR                                                     !4
         65        SEND_VAL                                                     257
         66        DO_ICALL                                             $25     
         67        BOOL                                                 ~21     $25
         68    > > JMPZ                                                         ~21, ->71
   22    69    >   ECHO                                                         'IF'
   16    70      > JMP                                                          ->72
   27    71    >   ECHO                                                         'Please+Enter+Valid+Number'
   29    72    > > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
171.44 ms | 1465 KiB | 15 Q