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; }

Abusive script

This script was stopped while abusing our resources

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 = 62) Position 1 = -2
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/r6NDv
function name:  (null)
number of ops:  20
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
    5    19    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.71 ms | 1395 KiB | 15 Q