3v4l.org

run code in 300+ PHP versions simultaneously
<?php define( 'KEY', <<<'KEY' -----BEGIN PUBLIC KEY----- MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqvjCLfpS0MyilIjR+IsH HPH8TqFUCw4kTAVmTy9SDZV9hHYY2EPgrlTd7gvMP/DWipvBD6Y5w2bPdAQoXr5D qEKAGkE+1El4hS8XyuOdYXSYTDH1HPSlFiGdgsnlkFcbh/fJyzIKBaGLnWxsjhiS deiI7KuEkI9zt+X2r4KqFt/dhnXz0kcB1M7qyhQ6Rvijgjy/A1LsN4ZAREFLCEjb 1AP9nk0QAUHWcG5MvbgsE20Pn4R5wFsMFBTvNmb34jHFREgR9j4DYcV5FFR3tKb8 3XtjE9/kjfK29BSpiyXZs8PSqDhO00vh6txUB4VfkVUD2Bi93rxDeyALnCW7My+l YwIDAQAB -----END PUBLIC KEY----- KEY ); $bytes = random_bytes(32); $iv = ''; for ($i = 0; $i < 100; $i++) { openssl_seal(bin2hex($bytes), $sealed_data, $env_keys, [KEY], 'AES256', $iv); \ob_end_clean(); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 27
Branch analysis from position: 27
2 jumps found. (Code = 44) Position 1 = 29, Position 2 = 11
Branch analysis from position: 29
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
2 jumps found. (Code = 44) Position 1 = 29, Position 2 = 11
Branch analysis from position: 29
Branch analysis from position: 11
filename:       /in/lrLgW
function name:  (null)
number of ops:  30
compiled vars:  !0 = $bytes, !1 = $iv, !2 = $i, !3 = $sealed_data, !4 = $env_keys
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'define'
    3     1        SEND_VAL                                                 'KEY'
    5     2        SEND_VAL                                                 '-----BEGIN+PUBLIC+KEY-----%0AMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqvjCLfpS0MyilIjR%2BIsH%0AHPH8TqFUCw4kTAVmTy9SDZV9hHYY2EPgrlTd7gvMP%2FDWipvBD6Y5w2bPdAQoXr5D%0AqEKAGkE%2B1El4hS8XyuOdYXSYTDH1HPSlFiGdgsnlkFcbh%2FfJyzIKBaGLnWxsjhiS%0AdeiI7KuEkI9zt%2BX2r4KqFt%2FdhnXz0kcB1M7qyhQ6Rvijgjy%2FA1LsN4ZAREFLCEjb%0A1AP9nk0QAUHWcG5MvbgsE20Pn4R5wFsMFBTvNmb34jHFREgR9j4DYcV5FFR3tKb8%0A3XtjE9%2FkjfK29BSpiyXZs8PSqDhO00vh6txUB4VfkVUD2Bi93rxDeyALnCW7My%2Bl%0AYwIDAQAB%0A-----END+PUBLIC+KEY-----'
    2     3        DO_ICALL                                                 
   17     4        INIT_FCALL                                               'random_bytes'
          5        SEND_VAL                                                 32
          6        DO_ICALL                                         $6      
          7        ASSIGN                                                   !0, $6
   18     8        ASSIGN                                                   !1, ''
   20     9        ASSIGN                                                   !2, 0
         10      > JMP                                                      ->27
   21    11    >   INIT_FCALL_BY_NAME                                       'openssl_seal'
         12        INIT_FCALL                                               'bin2hex'
         13        SEND_VAR                                                 !0
         14        DO_ICALL                                         $10     
         15        SEND_VAR_NO_REF_EX                                       $10
         16        SEND_VAR_EX                                              !3
         17        SEND_VAR_EX                                              !4
         18        FETCH_CONSTANT                                   ~11     'KEY'
         19        INIT_ARRAY                                       ~12     ~11
         20        SEND_VAL_EX                                              ~12
         21        SEND_VAL_EX                                              'AES256'
         22        SEND_VAR_EX                                              !1
         23        DO_FCALL                                      0          
   22    24        INIT_FCALL                                               'ob_end_clean'
         25        DO_ICALL                                                 
   20    26        PRE_INC                                                  !2
         27    >   IS_SMALLER                                               !2, 100
         28      > JMPNZ                                                    ~16, ->11
   23    29    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.07 ms | 1441 KiB | 17 Q