3v4l.org

run code in 300+ PHP versions simultaneously
<?php openssl_pkey_new([ 'digest_alg' => OPENSSL_ALGO_SHA256, 'x509_extensions' => '', 'req_extensions' => '', 'private_key_bits' => 2048, 'private_key_type' => OPENSSL_KEYTYPE_RSA, 'encrypt_key' => false, ]);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/920T3
function name:  (null)
number of ops:  12
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL_BY_NAME                                       'openssl_pkey_new'
    3     1        FETCH_CONSTANT                                   ~0      'OPENSSL_ALGO_SHA256'
          2        INIT_ARRAY                                       ~1      ~0, 'digest_alg'
    4     3        ADD_ARRAY_ELEMENT                                ~1      '', 'x509_extensions'
    5     4        ADD_ARRAY_ELEMENT                                ~1      '', 'req_extensions'
    6     5        ADD_ARRAY_ELEMENT                                ~1      2048, 'private_key_bits'
    7     6        FETCH_CONSTANT                                   ~2      'OPENSSL_KEYTYPE_RSA'
          7        ADD_ARRAY_ELEMENT                                ~1      ~2, 'private_key_type'
    3     8        ADD_ARRAY_ELEMENT                                ~1      <false>, 'encrypt_key'
          9        SEND_VAL_EX                                              ~1
         10        DO_FCALL                                      0          
    9    11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.43 ms | 1392 KiB | 13 Q