3v4l.org

run code in 300+ PHP versions simultaneously
<?php $start = inet_pton('2605:eb00:1000:0123:0100:0100:0000:0000'); $end = inet_pton('2605:eb00:1000:0123:0100:0100:0000:0002'); $myIp = inet_pton('2605:eb00:1000:0123:0100:0100:0000:0001'); echo ($start <= $myIp && $end <= $myIp)?('true'):('false');
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 14, Position 2 = 16
Branch analysis from position: 14
2 jumps found. (Code = 43) Position 1 = 17, Position 2 = 19
Branch analysis from position: 17
1 jumps found. (Code = 42) Position 1 = 20
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
filename:       /in/8Ze2B
function name:  (null)
number of ops:  22
compiled vars:  !0 = $start, !1 = $end, !2 = $myIp
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'inet_pton'
          1        SEND_VAL                                                 '2605%3Aeb00%3A1000%3A0123%3A0100%3A0100%3A0000%3A0000'
          2        DO_ICALL                                         $3      
          3        ASSIGN                                                   !0, $3
    4     4        INIT_FCALL                                               'inet_pton'
          5        SEND_VAL                                                 '2605%3Aeb00%3A1000%3A0123%3A0100%3A0100%3A0000%3A0002'
          6        DO_ICALL                                         $5      
          7        ASSIGN                                                   !1, $5
    6     8        INIT_FCALL                                               'inet_pton'
          9        SEND_VAL                                                 '2605%3Aeb00%3A1000%3A0123%3A0100%3A0100%3A0000%3A0001'
         10        DO_ICALL                                         $7      
         11        ASSIGN                                                   !2, $7
    8    12        IS_SMALLER_OR_EQUAL                              ~9      !0, !2
         13      > JMPZ_EX                                          ~9      ~9, ->16
         14    >   IS_SMALLER_OR_EQUAL                              ~10     !1, !2
         15        BOOL                                             ~9      ~10
         16    > > JMPZ                                                     ~9, ->19
         17    >   QM_ASSIGN                                        ~11     'true'
         18      > JMP                                                      ->20
         19    >   QM_ASSIGN                                        ~11     'false'
         20    >   ECHO                                                     ~11
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.48 ms | 1395 KiB | 15 Q