3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 4; $hello = <<< Test asdfasdfasdf {if (3 ==4) {$a} else {5}} asdfasdf Test; echo $hello; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7ocoK
function name:  (null)
number of ops:  7
compiled vars:  !0 = $a, !1 = $hello
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 4
    6     1        ROPE_INIT                                     3  ~4      'asdfasdfasdf+%7Bif+%283+%3D%3D4%29+'
          2        ROPE_ADD                                      1  ~4      ~4, !0
          3        ROPE_END                                      2  ~3      ~4, '+else+%7B5%7D%7D+asdfasdf'
    5     4        ASSIGN                                                   !1, ~3
    9     5        ECHO                                                     !1
   10     6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.56 ms | 1392 KiB | 13 Q