3v4l.org

run code in 300+ PHP versions simultaneously
<?php print is_int(-9223372036854775808)? "true\n" : "false\n"; $code = '<?php is_int(-1.1e300)'; foreach(token_get_all($code) as $c){ if(is_array($c)){ print(token_name($c[0]).": '".htmlentities($c[1])."'\n"); } else { print("$c\n"); } }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 2, Position 2 = 4
Branch analysis from position: 2
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
2 jumps found. (Code = 77) Position 1 = 11, Position 2 = 31
Branch analysis from position: 11
2 jumps found. (Code = 78) Position 1 = 12, Position 2 = 31
Branch analysis from position: 12
2 jumps found. (Code = 43) Position 1 = 14, Position 2 = 27
Branch analysis from position: 14
1 jumps found. (Code = 42) Position 1 = 30
Branch analysis from position: 30
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
Branch analysis from position: 27
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
Branch analysis from position: 31
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 31
Branch analysis from position: 4
2 jumps found. (Code = 77) Position 1 = 11, Position 2 = 31
Branch analysis from position: 11
Branch analysis from position: 31
filename:       /in/Lmqj8
function name:  (null)
number of ops:  33
compiled vars:  !0 = $code, !1 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   TYPE_CHECK                                   16          -9.22337e+18
          1      > JMPZ                                                     ~2, ->4
          2    >   QM_ASSIGN                                        ~3      'true%0A'
          3      > JMP                                                      ->5
          4    >   QM_ASSIGN                                        ~3      'false%0A'
          5    >   ECHO                                                     ~3
    5     6        ASSIGN                                                   !0, '%3C%3Fphp+is_int%28-1.1e300%29'
    7     7        INIT_FCALL                                               'token_get_all'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                         $5      
         10      > FE_RESET_R                                       $6      $5, ->31
         11    > > FE_FETCH_R                                               $6, !1, ->31
    9    12    >   TYPE_CHECK                                  128          !1
         13      > JMPZ                                                     ~7, ->27
   11    14    >   INIT_FCALL                                               'token_name'
         15        FETCH_DIM_R                                      ~8      !1, 0
         16        SEND_VAL                                                 ~8
         17        DO_ICALL                                         $9      
         18        CONCAT                                           ~10     $9, '%3A+%27'
         19        INIT_FCALL                                               'htmlentities'
         20        FETCH_DIM_R                                      ~11     !1, 1
         21        SEND_VAL                                                 ~11
         22        DO_ICALL                                         $12     
         23        CONCAT                                           ~13     ~10, $12
         24        CONCAT                                           ~14     ~13, '%27%0A'
         25        ECHO                                                     ~14
         26      > JMP                                                      ->30
   17    27    >   NOP                                                      
         28        FAST_CONCAT                                      ~15     !1, '%0A'
         29        ECHO                                                     ~15
    7    30    > > JMP                                                      ->11
         31    >   FE_FREE                                                  $6
   20    32      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.57 ms | 1392 KiB | 19 Q