3v4l.org

run code in 300+ PHP versions simultaneously
<?php define('n', "\n"); $result = 'text'; $text = $result.\n; // к концу строки будет прикреплен перевод строки var_dump($text);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/oqR63
function name:  (null)
number of ops:  12
compiled vars:  !0 = $result, !1 = $text
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'define'
          1        SEND_VAL                                                 'n'
          2        SEND_VAL                                                 '%0A'
          3        DO_ICALL                                                 
    4     4        ASSIGN                                                   !0, 'text'
    6     5        FETCH_CONSTANT                                   ~4      'n'
          6        CONCAT                                           ~5      !0, ~4
          7        ASSIGN                                                   !1, ~5
    7     8        INIT_FCALL                                               'var_dump'
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
179.64 ms | 1394 KiB | 17 Q