3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "Podaj imiÄ™: "; $imie = trim(fgets(STDIN)); echo "Witaj, $imie!\n"; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/f84s9
function name:  (null)
number of ops:  14
compiled vars:  !0 = $imie
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ECHO                                                     'Podaj+imi%C4%99%3A+'
    3     1        INIT_FCALL                                               'trim'
          2        INIT_FCALL                                               'fgets'
          3        FETCH_CONSTANT                                   ~1      'STDIN'
          4        SEND_VAL                                                 ~1
          5        DO_ICALL                                         $2      
          6        SEND_VAR                                                 $2
          7        DO_ICALL                                         $3      
          8        ASSIGN                                                   !0, $3
    5     9        ROPE_INIT                                     3  ~6      'Witaj%2C+'
         10        ROPE_ADD                                      1  ~6      ~6, !0
         11        ROPE_END                                      2  ~5      ~6, '%21%0A'
         12        ECHO                                                     ~5
    6    13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.3 ms | 1015 KiB | 15 Q