3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Foo; define('Foo\true', false); var_dump(eval('namespace Foo; static $t = true; return $t;'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Gq8no
function name:  (null)
number of ops:  9
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_NS_FCALL_BY_NAME                                    'Foo%5Cdefine'
          1        SEND_VAL_EX                                              'Foo%5Ctrue'
          2        SEND_VAL_EX                                              <false>
          3        DO_FCALL                                      0          
    4     4        INIT_NS_FCALL_BY_NAME                                    'Foo%5Cvar_dump'
          5        INCLUDE_OR_EVAL                                  $1      'namespace+Foo%3B%0A++++static+%24t+%3D+true%3B%0A++++return+%24t%3B', EVAL
          6        SEND_VAR_NO_REF_EX                                       $1
          7        DO_FCALL                                      0          
    6     8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.58 ms | 1394 KiB | 17 Q