3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Everything you enter here will be executed by our servers. Try it! $foo = 'bar'. ($foo = "foo $foo"); echo $foo; if(0 == 'true') { echo 'true'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 8
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
filename:       /in/QMm4b
function name:  (null)
number of ops:  9
compiled vars:  !0 = $foo
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   NOP                                                      
          1        FAST_CONCAT                                      ~1      'foo+', !0
          2        ASSIGN                                           ~2      !0, ~1
          3        CONCAT                                           ~3      'bar', ~2
    4     4        ASSIGN                                                   !0, ~3
    7     5        ECHO                                                     !0
   10     6      > JMPZ                                                     <false>, ->8
   11     7    >   ECHO                                                     'true'
   12     8    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.73 ms | 1392 KiB | 13 Q