3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(bin2hex(mcrypt_create_iv(128, MCRYPT_DEV_URANDOM))); var_dump(bin2hex(mcrypt_create_iv(56, MCRYPT_DEV_URANDOM)));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/sY2ov
function name:  (null)
number of ops:  23
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'bin2hex'
          2        INIT_FCALL_BY_NAME                                       'mcrypt_create_iv'
          3        SEND_VAL_EX                                              128
          4        FETCH_CONSTANT                                   ~0      'MCRYPT_DEV_URANDOM'
          5        SEND_VAL_EX                                              ~0
          6        DO_FCALL                                      0  $1      
          7        SEND_VAR                                                 $1
          8        DO_ICALL                                         $2      
          9        SEND_VAR                                                 $2
         10        DO_ICALL                                                 
    4    11        INIT_FCALL                                               'var_dump'
         12        INIT_FCALL                                               'bin2hex'
         13        INIT_FCALL_BY_NAME                                       'mcrypt_create_iv'
         14        SEND_VAL_EX                                              56
         15        FETCH_CONSTANT                                   ~4      'MCRYPT_DEV_URANDOM'
         16        SEND_VAL_EX                                              ~4
         17        DO_FCALL                                      0  $5      
         18        SEND_VAR                                                 $5
         19        DO_ICALL                                         $6      
         20        SEND_VAR                                                 $6
         21        DO_ICALL                                                 
         22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.46 ms | 1386 KiB | 17 Q