3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ciphers = openssl_get_cipher_methods(); $ciphers_and_aliases = openssl_get_cipher_methods(true); $cipher_aliases = array_diff($ciphers_and_aliases, $ciphers); //print_r($ciphers); //print_r($cipher_aliases); $context = stream_context_create(['ssl' => [ 'ciphers' => 'ECDHE-ECDSA-AES128-SHA' ]]); $context = stream_context_create(array( 'ssl' => array( 'ciphers' => 'ECDHE-ECDSA-AES128-SHA', 'disable_compression' => true ) ));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/I2bFL
function name:  (null)
number of ops:  21
compiled vars:  !0 = $ciphers, !1 = $ciphers_and_aliases, !2 = $cipher_aliases, !3 = $context
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL_BY_NAME                                       'openssl_get_cipher_methods'
          1        DO_FCALL                                      0  $4      
          2        ASSIGN                                                   !0, $4
    4     3        INIT_FCALL_BY_NAME                                       'openssl_get_cipher_methods'
          4        SEND_VAL_EX                                              <true>
          5        DO_FCALL                                      0  $6      
          6        ASSIGN                                                   !1, $6
    5     7        INIT_FCALL                                               'array_diff'
          8        SEND_VAR                                                 !1
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                         $8      
         11        ASSIGN                                                   !2, $8
   10    12        INIT_FCALL                                               'stream_context_create'
   11    13        SEND_VAL                                                 <array>
         14        DO_ICALL                                         $10     
   10    15        ASSIGN                                                   !3, $10
   13    16        INIT_FCALL                                               'stream_context_create'
   15    17        SEND_VAL                                                 <array>
         18        DO_ICALL                                         $12     
   13    19        ASSIGN                                                   !3, $12
   18    20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.24 ms | 1395 KiB | 17 Q