3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo gmdate('Y-m-d\TH:i:s\Z'); $created = "2015-08-25T10:45:55Z"; $bytes = array(219,237,93,18,84,210,254,168,120,82,56,138,97,64,219,199,173,111,217,208,167,150,79,50,114,227,40,191,210,188,233,34); $randomString = vsprintf(str_repeat('%c', count($bytes)), $bytes); $private_key = 'aDknWCcwJEsuNjRpJS52ZnN4Ti1MRDk1M2cyNU5N'; $nonce = hash('sha512', $randomString); echo $nonce;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vDUDP
function name:  (null)
number of ops:  24
compiled vars:  !0 = $created, !1 = $bytes, !2 = $randomString, !3 = $private_key, !4 = $nonce
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'gmdate'
          1        SEND_VAL                                                 'Y-m-d%5CTH%3Ai%3As%5CZ'
          2        DO_ICALL                                         $5      
          3        ECHO                                                     $5
    5     4        ASSIGN                                                   !0, '2015-08-25T10%3A45%3A55Z'
    6     5        ASSIGN                                                   !1, <array>
    7     6        INIT_FCALL                                               'vsprintf'
          7        INIT_FCALL                                               'str_repeat'
          8        SEND_VAL                                                 '%25c'
          9        COUNT                                            ~8      !1
         10        SEND_VAL                                                 ~8
         11        DO_ICALL                                         $9      
         12        SEND_VAR                                                 $9
         13        SEND_VAR                                                 !1
         14        DO_ICALL                                         $10     
         15        ASSIGN                                                   !2, $10
    8    16        ASSIGN                                                   !3, 'aDknWCcwJEsuNjRpJS52ZnN4Ti1MRDk1M2cyNU5N'
    9    17        INIT_FCALL                                               'hash'
         18        SEND_VAL                                                 'sha512'
         19        SEND_VAR                                                 !2
         20        DO_ICALL                                         $13     
         21        ASSIGN                                                   !4, $13
   11    22        ECHO                                                     !4
         23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.31 ms | 1399 KiB | 21 Q