3v4l.org

run code in 300+ PHP versions simultaneously
<?php $word='Déja vu'; echo str_pad('header', 10) . '|' . PHP_EOL; echo str_pad($word, 10) . '|' . PHP_EOL; //echo $line.str_repeat(' ', $len - Helper::strlen($line));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GlKBk
function name:  (null)
number of ops:  16
compiled vars:  !0 = $word
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'D%C3%A9ja+vu'
    3     1        INIT_FCALL                                               'str_pad'
          2        SEND_VAL                                                 'header'
          3        SEND_VAL                                                 10
          4        DO_ICALL                                         $2      
          5        CONCAT                                           ~3      $2, '%7C'
          6        CONCAT                                           ~4      ~3, '%0A'
          7        ECHO                                                     ~4
    4     8        INIT_FCALL                                               'str_pad'
          9        SEND_VAR                                                 !0
         10        SEND_VAL                                                 10
         11        DO_ICALL                                         $5      
         12        CONCAT                                           ~6      $5, '%7C'
         13        CONCAT                                           ~7      ~6, '%0A'
         14        ECHO                                                     ~7
    6    15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.39 ms | 1385 KiB | 15 Q