3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ($i=0; $i<=255; $i++) { echo $i.":".ip2long("1.1.1.1".chr($i)."'or'a'='a'/*")."\r\n"; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
2 jumps found. (Code = 44) Position 1 = 17, Position 2 = 2
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 17, Position 2 = 2
Branch analysis from position: 17
Branch analysis from position: 2
filename:       /in/hjIbH
function name:  (null)
number of ops:  18
compiled vars:  !0 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 0
          1      > JMP                                                      ->15
    4     2    >   CONCAT                                           ~2      !0, '%3A'
          3        INIT_FCALL                                               'ip2long'
          4        INIT_FCALL                                               'chr'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $3      
          7        CONCAT                                           ~4      '1.1.1.1', $3
          8        CONCAT                                           ~5      ~4, '%27or%27a%27%3D%27a%27%2F%2A'
          9        SEND_VAL                                                 ~5
         10        DO_ICALL                                         $6      
         11        CONCAT                                           ~7      ~2, $6
         12        CONCAT                                           ~8      ~7, '%0D%0A'
         13        ECHO                                                     ~8
    2    14        PRE_INC                                                  !0
         15    >   IS_SMALLER_OR_EQUAL                                      !0, 255
         16      > JMPNZ                                                    ~10, ->2
    5    17    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.9 ms | 1395 KiB | 17 Q