3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x[token] = [bin2hex(random_bytes(16))]; var_dump(json_encode($x));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/UYWTT
function name:  (null)
number of ops:  17
compiled vars:  !0 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   FETCH_CONSTANT                                   ~1      'token'
          1        INIT_FCALL                                               'bin2hex'
          2        INIT_FCALL                                               'random_bytes'
          3        SEND_VAL                                                 16
          4        DO_ICALL                                         $3      
          5        SEND_VAR                                                 $3
          6        DO_ICALL                                         $4      
          7        INIT_ARRAY                                       ~5      $4
          8        ASSIGN_DIM                                               !0, ~1
          9        OP_DATA                                                  ~5
    3    10        INIT_FCALL                                               'var_dump'
         11        INIT_FCALL                                               'json_encode'
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                         $6      
         14        SEND_VAR                                                 $6
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.11 ms | 1394 KiB | 21 Q