3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 777; // i'm feeling lucky! $b = 'string'; echo "some text $a another $b and another text"; echo 'some text ' . $a . ' another ' . $b . ' and another text';
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1g9Fp
function name:  (null)
number of ops:  14
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 777
    3     1        ASSIGN                                                   !1, 'string'
    4     2        ROPE_INIT                                     5  ~5      'some+text+'
          3        ROPE_ADD                                      1  ~5      ~5, !0
          4        ROPE_ADD                                      2  ~5      ~5, '+another+'
          5        ROPE_ADD                                      3  ~5      ~5, !1
          6        ROPE_END                                      4  ~4      ~5, '+and+another+text'
          7        ECHO                                                     ~4
    5     8        CONCAT                                           ~8      'some+text+', !0
          9        CONCAT                                           ~9      ~8, '+another+'
         10        CONCAT                                           ~10     ~9, !1
         11        CONCAT                                           ~11     ~10, '+and+another+text'
         12        ECHO                                                     ~11
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.58 ms | 1393 KiB | 13 Q