3v4l.org

run code in 300+ PHP versions simultaneously
<?php $val = 'DANIEL123'; var_dump($val); $val = str_pad($val, (16 * ( floor(strlen($val) / 16) + ( strlen($val) % 16 == 0 ? 2 : 1 ) ) ), chr(16 - (strlen($val) % 16) ) ); foreach ($val as $char) { var_dump($char); var_dump(ord($char)); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 16, Position 2 = 18
Branch analysis from position: 16
1 jumps found. (Code = 42) Position 1 = 19
Branch analysis from position: 19
2 jumps found. (Code = 77) Position 1 = 32, Position 2 = 43
Branch analysis from position: 32
2 jumps found. (Code = 78) Position 1 = 33, Position 2 = 43
Branch analysis from position: 33
1 jumps found. (Code = 42) Position 1 = 32
Branch analysis from position: 32
Branch analysis from position: 43
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 43
Branch analysis from position: 18
2 jumps found. (Code = 77) Position 1 = 32, Position 2 = 43
Branch analysis from position: 32
Branch analysis from position: 43
filename:       /in/50kPF
function name:  (null)
number of ops:  45
compiled vars:  !0 = $val, !1 = $char
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ECHO                                                     '+'
    2     1        ASSIGN                                                   !0, 'DANIEL123'
    3     2        INIT_FCALL                                               'var_dump'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                                 
    4     5        INIT_FCALL                                               'str_pad'
          6        SEND_VAR                                                 !0
    6     7        INIT_FCALL                                               'floor'
          8        STRLEN                                           ~4      !0
          9        DIV                                              ~5      ~4, 16
         10        SEND_VAL                                                 ~5
         11        DO_ICALL                                         $6      
    7    12        STRLEN                                           ~7      !0
         13        MOD                                              ~8      ~7, 16
         14        IS_EQUAL                                                 ~8, 0
         15      > JMPZ                                                     ~9, ->18
         16    >   QM_ASSIGN                                        ~10     2
         17      > JMP                                                      ->19
         18    >   QM_ASSIGN                                        ~10     1
         19    >   ADD                                              ~11     $6, ~10
         20        MUL                                              ~12     ~11, 16
         21        SEND_VAL                                                 ~12
   11    22        INIT_FCALL                                               'chr'
         23        STRLEN                                           ~13     !0
         24        MOD                                              ~14     ~13, 16
         25        SUB                                              ~15     16, ~14
         26        SEND_VAL                                                 ~15
         27        DO_ICALL                                         $16     
         28        SEND_VAR                                                 $16
         29        DO_ICALL                                         $17     
    4    30        ASSIGN                                                   !0, $17
   14    31      > FE_RESET_R                                       $19     !0, ->43
         32    > > FE_FETCH_R                                               $19, !1, ->43
   16    33    >   INIT_FCALL                                               'var_dump'
         34        SEND_VAR                                                 !1
         35        DO_ICALL                                                 
   17    36        INIT_FCALL                                               'var_dump'
         37        INIT_FCALL                                               'ord'
         38        SEND_VAR                                                 !1
         39        DO_ICALL                                         $21     
         40        SEND_VAR                                                 $21
         41        DO_ICALL                                                 
   14    42      > JMP                                                      ->32
         43    >   FE_FREE                                                  $19
   18    44      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
181.13 ms | 1400 KiB | 23 Q