3v4l.org

run code in 300+ PHP versions simultaneously
<?php $algorithms = array('ssh-rsa', 'ssh-dss', 'ssh-ed25519'); $algorithm_string = join(' or ', array_filter(array_merge(array(join(', ', array_slice($algorithms, 0, -1))), array_slice($algorithms, -1)), 'strlen')); echo sprintf('The key is invalid. It must begin with %s.', $algorithm_string);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/J0RBc
function name:  (null)
number of ops:  34
compiled vars:  !0 = $algorithms, !1 = $algorithm_string
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        INIT_FCALL                                               'join'
          2        SEND_VAL                                                 '+or+'
          3        INIT_FCALL                                               'array_filter'
          4        INIT_FCALL                                               'array_merge'
          5        INIT_FCALL                                               'join'
          6        SEND_VAL                                                 '%2C+'
          7        INIT_FCALL                                               'array_slice'
          8        SEND_VAR                                                 !0
          9        SEND_VAL                                                 0
         10        SEND_VAL                                                 -1
         11        DO_ICALL                                         $3      
         12        SEND_VAR                                                 $3
         13        DO_ICALL                                         $4      
         14        INIT_ARRAY                                       ~5      $4
         15        SEND_VAL                                                 ~5
         16        INIT_FCALL                                               'array_slice'
         17        SEND_VAR                                                 !0
         18        SEND_VAL                                                 -1
         19        DO_ICALL                                         $6      
         20        SEND_VAR                                                 $6
         21        DO_ICALL                                         $7      
         22        SEND_VAR                                                 $7
         23        SEND_VAL                                                 'strlen'
         24        DO_ICALL                                         $8      
         25        SEND_VAR                                                 $8
         26        DO_ICALL                                         $9      
         27        ASSIGN                                                   !1, $9
    5    28        INIT_FCALL                                               'sprintf'
         29        SEND_VAL                                                 'The+key+is+invalid.+It+must+begin+with+%25s.'
         30        SEND_VAR                                                 !1
         31        DO_ICALL                                         $11     
         32        ECHO                                                     $11
         33      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
139.11 ms | 1073 KiB | 18 Q