3v4l.org

run code in 300+ PHP versions simultaneously
<?php $three = "trois"; echo "un deux $three quatre\n"; echo "un deux ".$three." quatre\n"; echo "un deux ",$three," quatre\n"; echo "un deux ".$three." quatre"."\n"; echo "un deux ",$three," quatre","\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/aKvm1
function name:  (null)
number of ops:  20
compiled vars:  !0 = $three
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'trois'
    3     1        ROPE_INIT                                     3  ~3      'un+deux+'
          2        ROPE_ADD                                      1  ~3      ~3, !0
          3        ROPE_END                                      2  ~2      ~3, '+quatre%0A'
          4        ECHO                                                     ~2
    4     5        CONCAT                                           ~5      'un+deux+', !0
          6        CONCAT                                           ~6      ~5, '+quatre%0A'
          7        ECHO                                                     ~6
    5     8        ECHO                                                     'un+deux+'
          9        ECHO                                                     !0
         10        ECHO                                                     '+quatre%0A'
    6    11        CONCAT                                           ~7      'un+deux+', !0
         12        CONCAT                                           ~8      ~7, '+quatre'
         13        CONCAT                                           ~9      ~8, '%0A'
         14        ECHO                                                     ~9
    7    15        ECHO                                                     'un+deux+'
         16        ECHO                                                     !0
         17        ECHO                                                     '+quatre'
         18        ECHO                                                     '%0A'
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.69 ms | 1394 KiB | 13 Q