3v4l.org

run code in 300+ PHP versions simultaneously
<?php function is_between($int,$min,$max){ return ($min<$int && $int<$max); } echo is_between(9,10,14);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9FUsL
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   INIT_FCALL                                               'is_between'
          1        SEND_VAL                                                 9
          2        SEND_VAL                                                 10
          3        SEND_VAL                                                 14
          4        DO_FCALL                                      0  $0      
          5        ECHO                                                     $0
          6      > RETURN                                                   1

Function is_between:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 5, Position 2 = 7
Branch analysis from position: 5
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
filename:       /in/9FUsL
function name:  is_between
number of ops:  9
compiled vars:  !0 = $int, !1 = $min, !2 = $max
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV                                             !2      
    3     3        IS_SMALLER                                       ~3      !1, !0
          4      > JMPZ_EX                                          ~3      ~3, ->7
          5    >   IS_SMALLER                                       ~4      !0, !2
          6        BOOL                                             ~3      ~4
          7    > > RETURN                                                   ~3
    4     8*     > RETURN                                                   null

End of function is_between

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.81 ms | 1397 KiB | 14 Q