3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class foo { public static $baz = 'bar'; } echo <<<EOL foo::$baz {foo::$baz} EOL; ?>
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/EYTih
function name:  (null)
number of ops:  8
compiled vars:  !0 = $baz
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   2     0  E >   NOP                                                      
   6     1        ROPE_INIT                                     5  ~3      'foo%3A%3A'
         2        ROPE_ADD                                      1  ~3      ~3, !0
   7     3        ROPE_ADD                                      2  ~3      ~3, '%0A%7Bfoo%3A%3A'
         4        ROPE_ADD                                      3  ~3      ~3, !0
         5        ROPE_END                                      4  ~2      ~3, '%7D'
         6        ECHO                                                     ~2
         7      > RETURN                                                   1

Class foo: [no user functions]

Generated using Vulcan Logic Dumper, using php 7.1.0