3v4l.org

run code in 300+ PHP versions simultaneously
<?php $un = "jarrod"; $uid = "1"; $key = uniqid($uid."_"); $ip = "124.168.106.184"; $time = time(); $seed = "some-random-string"; $hash = md5("$seed$uid$ip$time"); print "$key\n"; print "$hash";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/MqF8v
function name:  (null)
number of ops:  26
compiled vars:  !0 = $un, !1 = $uid, !2 = $key, !3 = $ip, !4 = $time, !5 = $seed, !6 = $hash
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'jarrod'
    3     1        ASSIGN                                                   !1, '1'
    4     2        INIT_FCALL                                               'uniqid'
          3        CONCAT                                           ~9      !1, '_'
          4        SEND_VAL                                                 ~9
          5        DO_ICALL                                         $10     
          6        ASSIGN                                                   !2, $10
    6     7        ASSIGN                                                   !3, '124.168.106.184'
    7     8        INIT_FCALL                                               'time'
          9        DO_ICALL                                         $13     
         10        ASSIGN                                                   !4, $13
    9    11        ASSIGN                                                   !5, 'some-random-string'
   11    12        INIT_FCALL                                               'md5'
         13        ROPE_INIT                                     4  ~17     !5
         14        ROPE_ADD                                      1  ~17     ~17, !1
         15        ROPE_ADD                                      2  ~17     ~17, !3
         16        ROPE_END                                      3  ~16     ~17, !4
         17        SEND_VAL                                                 ~16
         18        DO_ICALL                                         $19     
         19        ASSIGN                                                   !6, $19
   13    20        NOP                                                      
         21        FAST_CONCAT                                      ~21     !2, '%0A'
         22        ECHO                                                     ~21
   14    23        CAST                                          6  ~22     !6
         24        ECHO                                                     ~22
         25      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.8 ms | 1395 KiB | 19 Q