3v4l.org

run code in 300+ PHP versions simultaneously
<?php $privateKey = openssl_pkey_new([ 'private_key_bits' => 2048, //'private_key_type' => OPENSSL_KEYTYPE_RSA, // RSA is default //'encrypt_key' => true // we don't want encryption ]); print_r($privateKey);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/CfDhk
function name:  (null)
number of ops:  8
compiled vars:  !0 = $privateKey
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL_BY_NAME                                       'openssl_pkey_new'
    4     1        SEND_VAL_EX                                              <array>
          2        DO_FCALL                                      0  $1      
    3     3        ASSIGN                                                   !0, $1
    9     4        INIT_FCALL                                               'print_r'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                                 
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.6 ms | 1393 KiB | 15 Q