3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(substr(bin2hex(openssl_random_pseudo_bytes(128)), 0, 128)); var_dump(substr(bin2hex(openssl_random_pseudo_bytes(128)), 0, 128)); var_dump(substr(bin2hex(openssl_random_pseudo_bytes(128)), 0, 128));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/epgbK
function name:  (null)
number of ops:  43
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'substr'
          2        INIT_FCALL                                               'bin2hex'
          3        INIT_FCALL_BY_NAME                                       'openssl_random_pseudo_bytes'
          4        SEND_VAL_EX                                              128
          5        DO_FCALL                                      0  $0      
          6        SEND_VAR                                                 $0
          7        DO_ICALL                                         $1      
          8        SEND_VAR                                                 $1
          9        SEND_VAL                                                 0
         10        SEND_VAL                                                 128
         11        DO_ICALL                                         $2      
         12        SEND_VAR                                                 $2
         13        DO_ICALL                                                 
    4    14        INIT_FCALL                                               'var_dump'
         15        INIT_FCALL                                               'substr'
         16        INIT_FCALL                                               'bin2hex'
         17        INIT_FCALL_BY_NAME                                       'openssl_random_pseudo_bytes'
         18        SEND_VAL_EX                                              128
         19        DO_FCALL                                      0  $4      
         20        SEND_VAR                                                 $4
         21        DO_ICALL                                         $5      
         22        SEND_VAR                                                 $5
         23        SEND_VAL                                                 0
         24        SEND_VAL                                                 128
         25        DO_ICALL                                         $6      
         26        SEND_VAR                                                 $6
         27        DO_ICALL                                                 
    6    28        INIT_FCALL                                               'var_dump'
         29        INIT_FCALL                                               'substr'
         30        INIT_FCALL                                               'bin2hex'
         31        INIT_FCALL_BY_NAME                                       'openssl_random_pseudo_bytes'
         32        SEND_VAL_EX                                              128
         33        DO_FCALL                                      0  $8      
         34        SEND_VAR                                                 $8
         35        DO_ICALL                                         $9      
         36        SEND_VAR                                                 $9
         37        SEND_VAL                                                 0
         38        SEND_VAL                                                 128
         39        DO_ICALL                                         $10     
         40        SEND_VAR                                                 $10
         41        DO_ICALL                                                 
         42      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.4 ms | 1396 KiB | 19 Q