3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = 'PHP'; return $x; ?> nexample.php <?php $x = 'PHP'; ?> testexample.php <?php $var1 = include 'example.php'; echo $var1; $var2 = include 'nexample.php'; echo $var2; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2v3qO
function name:  (null)
number of ops:  12
compiled vars:  !0 = $x, !1 = $var1, !2 = $var2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'PHP'
    3     1      > RETURN                                                   !0
    5     2*       ECHO                                                     'nexample.php%0A'
    7     3*       ASSIGN                                                   !0, 'PHP'
    9     4*       ECHO                                                     'testexample.php%0A'
   11     5*       INCLUDE_OR_EVAL                                  $5      'example.php', INCLUDE
          6*       ASSIGN                                                   !1, $5
   12     7*       ECHO                                                     !1
   13     8*       INCLUDE_OR_EVAL                                  $7      'nexample.php', INCLUDE
          9*       ASSIGN                                                   !2, $7
   14    10*       ECHO                                                     !2
   15    11*     > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.7 ms | 1392 KiB | 13 Q