3v4l.org

run code in 300+ PHP versions simultaneously
<?php $cat = 'cat'; echo($cat . 's' . PHP_EOL); echo("{$cat}s \n"); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OmnZJ
function name:  (null)
number of ops:  8
compiled vars:  !0 = $cat
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'cat'
    3     1        CONCAT                                           ~2      !0, 's'
          2        CONCAT                                           ~3      ~2, '%0A'
          3        ECHO                                                     ~3
    4     4        NOP                                                      
          5        FAST_CONCAT                                      ~4      !0, 's+%0A'
          6        ECHO                                                     ~4
    5     7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.89 ms | 1392 KiB | 13 Q