3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ($i=0; $i < 100; $i++) { print uniqid(empty($_SERVER['SERVER_ADDR']) ? '' : $_SERVER['SERVER_ADDR'], true) . PHP_EOL; } for ($i=0; $i < 100; $i++) { print uniqid(empty($_SERVER['SERVER_ADDR']) ? '' : $_SERVER['SERVER_ADDR']) . PHP_EOL; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 17
Branch analysis from position: 17
2 jumps found. (Code = 44) Position 1 = 19, Position 2 = 2
Branch analysis from position: 19
1 jumps found. (Code = 42) Position 1 = 35
Branch analysis from position: 35
2 jumps found. (Code = 44) Position 1 = 37, Position 2 = 21
Branch analysis from position: 37
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 21
2 jumps found. (Code = 43) Position 1 = 25, Position 2 = 27
Branch analysis from position: 25
1 jumps found. (Code = 42) Position 1 = 30
Branch analysis from position: 30
2 jumps found. (Code = 44) Position 1 = 37, Position 2 = 21
Branch analysis from position: 37
Branch analysis from position: 21
Branch analysis from position: 27
2 jumps found. (Code = 44) Position 1 = 37, Position 2 = 21
Branch analysis from position: 37
Branch analysis from position: 21
Branch analysis from position: 2
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 8
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
2 jumps found. (Code = 44) Position 1 = 19, Position 2 = 2
Branch analysis from position: 19
Branch analysis from position: 2
Branch analysis from position: 8
2 jumps found. (Code = 44) Position 1 = 19, Position 2 = 2
Branch analysis from position: 19
Branch analysis from position: 2
filename:       /in/WrW7l
function name:  (null)
number of ops:  38
compiled vars:  !0 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 0
          1      > JMP                                                      ->17
    4     2    >   INIT_FCALL                                               'uniqid'
          3        FETCH_IS                                         ~2      '_SERVER'
          4        ISSET_ISEMPTY_DIM_OBJ                         1          ~2, 'SERVER_ADDR'
          5      > JMPZ                                                     ~3, ->8
          6    >   QM_ASSIGN                                        ~4      ''
          7      > JMP                                                      ->11
          8    >   FETCH_R                      global              ~5      '_SERVER'
          9        FETCH_DIM_R                                      ~6      ~5, 'SERVER_ADDR'
         10        QM_ASSIGN                                        ~4      ~6
         11    >   SEND_VAL                                                 ~4
         12        SEND_VAL                                                 <true>
         13        DO_ICALL                                         $7      
         14        CONCAT                                           ~8      $7, '%0A'
         15        ECHO                                                     ~8
    3    16        PRE_INC                                                  !0
         17    >   IS_SMALLER                                               !0, 100
         18      > JMPNZ                                                    ~10, ->2
    7    19    >   ASSIGN                                                   !0, 0
         20      > JMP                                                      ->35
    8    21    >   INIT_FCALL                                               'uniqid'
         22        FETCH_IS                                         ~12     '_SERVER'
         23        ISSET_ISEMPTY_DIM_OBJ                         1          ~12, 'SERVER_ADDR'
         24      > JMPZ                                                     ~13, ->27
         25    >   QM_ASSIGN                                        ~14     ''
         26      > JMP                                                      ->30
         27    >   FETCH_R                      global              ~15     '_SERVER'
         28        FETCH_DIM_R                                      ~16     ~15, 'SERVER_ADDR'
         29        QM_ASSIGN                                        ~14     ~16
         30    >   SEND_VAL                                                 ~14
         31        DO_ICALL                                         $17     
         32        CONCAT                                           ~18     $17, '%0A'
         33        ECHO                                                     ~18
    7    34        PRE_INC                                                  !0
         35    >   IS_SMALLER                                               !0, 100
         36      > JMPNZ                                                    ~20, ->21
    9    37    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.29 ms | 1400 KiB | 15 Q